Class NativePayResponseV2
- java.lang.Object
-
- com.foxinmy.weixin4j.payment.PayBaseInfo
-
- com.foxinmy.weixin4j.payment.PayRequest
-
- com.foxinmy.weixin4j.mp.oldpayment.NativePayResponseV2
-
- All Implemented Interfaces:
Serializable
public class NativePayResponseV2 extends PayRequest
V2 Native支付时的回调响应- Since:
- JDK 1.6
- Author:
- jinyu(foxinmy@gmail.com)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
NativePayResponseV2()
NativePayResponseV2(WeixinOldPayAccount weixinAccount, PayPackageV2 payPackage)
正确响应NativePayResponseV2(String errorMsg)
响应错误信息
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getRetCode()
String
getRetMsg()
String
toString()
-
Methods inherited from class com.foxinmy.weixin4j.payment.PayRequest
getPackageInfo, getPartnerId, getPrepayId, setPackageInfo, setPartnerId, setPrepayId
-
Methods inherited from class com.foxinmy.weixin4j.payment.PayBaseInfo
getAppId, getFormatSignType, getNonceStr, getPaySign, getSignType, getTimeStamp, setAppId, setNonceStr, setPaySign, setSignType, setTimeStamp
-
-
-
-
Constructor Detail
-
NativePayResponseV2
protected NativePayResponseV2()
-
NativePayResponseV2
public NativePayResponseV2(String errorMsg)
响应错误信息- Parameters:
errorMsg
- 错误信息
-
NativePayResponseV2
public NativePayResponseV2(WeixinOldPayAccount weixinAccount, PayPackageV2 payPackage)
正确响应- Parameters:
weixinAccount
-payPackage
- 订单信息
-
-
Method Detail
-
getRetCode
public String getRetCode()
-
getRetMsg
public String getRetMsg()
-
toString
public String toString()
- Overrides:
toString
in classPayRequest
-
-