Package 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
 
 @Deprecated public class NativePayResponse extends MerchantResult Deprecated.迁移到子模块weixin4j-payNative支付时的回调响应- Since:
- JDK 1.6
- Author:
- jinyu(foxinmy@gmail.com)
- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Modifier Constructor Description protectedNativePayResponse()Deprecated.NativePayResponse(WeixinPayAccount weixinAccount, String prepayId)Deprecated.作为return_code 为 SUCCESS 的时候返回NativePayResponse(String returnMsg, String resultMsg)Deprecated.作为return_code 为 FAIL 的时候返回
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StringgetPrepayId()Deprecated.StringtoString()Deprecated.- 
Methods inherited from class com.foxinmy.weixin4j.payment.mch.MerchantResultgetAppId, getDeviceInfo, getFormatRecall, getFormatSignType, getMchId, getNonceStr, getRecall, getSign, getSignType, getSubAppId, getSubMchId, setAppId, setDeviceInfo, setMchId, setNonceStr, setRecall, setSign, setSignType, setSubAppId, setSubMchId
 - 
Methods inherited from class com.foxinmy.weixin4j.http.weixin.XmlResultgetErrCode, getErrCodeDes, getResultCode, getReturnCode, getReturnMsg, setErrCode, setErrCodeDes, setResultCode, setReturnCode, setReturnMsg
 
- 
 
- 
- 
- 
Constructor Detail- 
NativePayResponseprotected NativePayResponse() Deprecated.
 - 
NativePayResponsepublic NativePayResponse(String returnMsg, String resultMsg) Deprecated.作为return_code 为 FAIL 的时候返回- Parameters:
- returnMsg- 失败消息
- resultMsg- 结果消息
- Throws:
- WeixinPayException
 
 - 
NativePayResponsepublic NativePayResponse(WeixinPayAccount weixinAccount, String prepayId) Deprecated.作为return_code 为 SUCCESS 的时候返回- Parameters:
- weixinAccount- 商户信息
- prepayId- 调用统一下单接口生成的预支付ID
- Throws:
- WeixinPayException
 
 
- 
 - 
Method Detail- 
getPrepayIdpublic String getPrepayId() Deprecated.
 - 
toStringpublic String toString() Deprecated.- Overrides:
- toStringin class- MerchantResult
 
 
- 
 
-