com.foxinmy.weixin4j.payment.mch
Class NativePayResponse
java.lang.Object
com.foxinmy.weixin4j.http.weixin.XmlResult
com.foxinmy.weixin4j.payment.mch.MerchantResult
com.foxinmy.weixin4j.payment.mch.NativePayResponse
- All Implemented Interfaces:
- Serializable
public class NativePayResponse
- extends MerchantResult
Native支付时的回调响应
- Since:
- JDK 1.6
- Author:
- jinyu(foxinmy@gmail.com)
- See Also:
,
Serialized Form
| Methods inherited from class com.foxinmy.weixin4j.payment.mch.MerchantResult |
getAppId, getDeviceInfo, getFormatRecall, getFormatSignType, getMchId, getNonceStr, getRecall, getSign, getSignType, getSubAppId, getSubMchId, setAppId, setDeviceInfo, setMchId, setNonceStr, setRecall, setSign, setSignType, setSubAppId, setSubMchId |
NativePayResponse
public NativePayResponse(String returnMsg,
String resultMsg)
- 作为return_code 为 FAIL 的时候返回
- Parameters:
returnMsg - 失败消息resultMsg - 结果消息
- Throws:
WeixinPayException
NativePayResponse
public NativePayResponse(WeixinPayAccount weixinAccount,
String prepayId)
- 作为return_code 为 SUCCESS 的时候返回
- Parameters:
weixinAccount - 商户信息prepayId - 调用统一下单接口生成的预支付ID
- Throws:
WeixinPayException
getPrepayId
public String getPrepayId()
toString
public String toString()
- Overrides:
toString in class MerchantResult
Copyright © 2014–2017. All rights reserved.