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 Summary
Constructors Modifier Constructor Description protected
NativePayResponse()
Deprecated.NativePayResponse(WeixinPayAccount weixinAccount, String prepayId)
Deprecated.作为return_code 为 SUCCESS 的时候返回NativePayResponse(String returnMsg, String resultMsg)
Deprecated.作为return_code 为 FAIL 的时候返回
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getPrepayId()
Deprecated.String
toString()
Deprecated.-
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
-
Methods inherited from class com.foxinmy.weixin4j.http.weixin.XmlResult
getErrCode, getErrCodeDes, getResultCode, getReturnCode, getReturnMsg, setErrCode, setErrCodeDes, setResultCode, setReturnCode, setReturnMsg
-
-
-
-
Constructor Detail
-
NativePayResponse
protected NativePayResponse()
Deprecated.
-
NativePayResponse
public NativePayResponse(String returnMsg, String resultMsg)
Deprecated.作为return_code 为 FAIL 的时候返回- Parameters:
returnMsg
- 失败消息resultMsg
- 结果消息- Throws:
WeixinPayException
-
NativePayResponse
public NativePayResponse(WeixinPayAccount weixinAccount, String prepayId)
Deprecated.作为return_code 为 SUCCESS 的时候返回- Parameters:
weixinAccount
- 商户信息prepayId
- 调用统一下单接口生成的预支付ID- Throws:
WeixinPayException
-
-
Method Detail
-
getPrepayId
public String getPrepayId()
Deprecated.
-
toString
public String toString()
Deprecated.- Overrides:
toString
in classMerchantResult
-
-