public class PayReq extends BaseReq
限定符和类型 | 类和说明 |
---|---|
static class |
PayReq.Options |
限定符和类型 | 字段和说明 |
---|---|
java.lang.String |
appId
App ID that the merchant applied for on WeChat Developer Platform
商户在微信开放平台申请的应用id
|
java.lang.String |
extData
Custom string defined by the third-party app.
|
java.lang.String |
nonceStr
Random string to avoid duplicated sending
随机串,防重发
|
PayReq.Options |
options |
java.lang.String |
packageValue
Data and signature input by the merchant according to the document
商家根据文档填写的数据和签名
|
java.lang.String |
partnerId
Merchant ID
商户id
|
java.lang.String |
prepayId
Prepay ID
预支付订单
|
java.lang.String |
sign
Signature that the merchant made for the data according to documents on WeChat Developer Platform
商家根据微信开放平台文档对数据做的签名
|
java.lang.String |
signType |
java.lang.String |
timeStamp
Timestamp to avoid duplicated sending
时间戳,防重发
|
openId, transaction
构造器和说明 |
---|
PayReq() |
限定符和类型 | 方法和说明 |
---|---|
boolean |
checkArgs()
Check parameters of this request
检查该请求各个参数的合法性
|
void |
fromBundle(android.os.Bundle data)
Deserialize request data in Bundle
从Bundle中反序列化request数据
|
int |
getType()
Return type ID of the current request.
|
void |
toBundle(android.os.Bundle data)
Serialize requests into Bundle
将请求序列化到Bundle中
|
public java.lang.String appId
public java.lang.String partnerId
public java.lang.String prepayId
public java.lang.String nonceStr
public java.lang.String timeStamp
public java.lang.String packageValue
public java.lang.String sign
public java.lang.String extData
public PayReq.Options options
public java.lang.String signType
public boolean checkArgs()
BaseReq
public void toBundle(android.os.Bundle data)
BaseReq
public void fromBundle(android.os.Bundle data)
BaseReq
fromBundle
在类中 BaseReq
data
- public int getType()
BaseReq