public class NativePaymentResponse extends MerchantResult
Description:
| 限定符 | 构造器和说明 |
|---|---|
protected |
NativePaymentResponse() |
|
NativePaymentResponse(String returnMsg,
String resultMsg)
作为return_code 为 FAIL 的时候返回
|
|
NativePaymentResponse(WeixinPayAccount weixinAccount,
String prepayId)
作为return_code 为 SUCCESS 的时候返回
|
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getPrepayId() |
String |
toString() |
getAppId, getDeviceInfo, getFormatRecall, getFormatSignType, getMchId, getNonceStr, getRecall, getSign, getSignType, getSubAppId, getSubMchId, setAppId, setDeviceInfo, setMchId, setNonceStr, setRecall, setSign, setSignType, setSubAppId, setSubMchIdgetErrCode, getErrCodeDes, getResultCode, getReturnCode, getReturnMsg, setErrCode, setErrCodeDes, setResultCodeprotected NativePaymentResponse()
public NativePaymentResponse(String returnMsg, String resultMsg)
returnMsg - 失败消息resultMsg - 结果消息public NativePaymentResponse(WeixinPayAccount weixinAccount, String prepayId)
weixinAccount - 商户信息prepayId - 调用统一下单接口生成的预支付IDpublic String getPrepayId()
public String toString()
toString 在类中 MerchantResultCopyright © 2019. All rights reserved.