public void toBundle(Bundle bundle) { super.toBundle(bundle); bundle.putString("_wxapi_payreq_appid", appId); bundle.putString("_wxapi_payreq_partnerid", partnerId); bundle.putString("_wxapi_payreq_prepayid", prepayId); bundle.putString("_wxapi_payreq_noncestr", nonceStr); bundle.putString("_wxapi_payreq_timestamp", timeStamp); bundle.putString("_wxapi_payreq_packagevalue", packageValue); bundle.putString("_wxapi_payreq_sign", sign); bundle.putString("_wxapi_payreq_extdata", extData); if (options != null) { options.toBundle(bundle); } }
public void toBundle(Bundle bundle) { super.toBundle(bundle); bundle.putAll(Builder.toBundle(this.message)); bundle.putInt("_wxapi_sendmessagetowx_req_scene", this.scene); }