com.foxinmy.weixin4j.mp.oldpayment
Class NativePayResponseV2

java.lang.Object
  extended by com.foxinmy.weixin4j.payment.PayBaseInfo
      extended by com.foxinmy.weixin4j.payment.PayRequest
          extended by 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
NativePayResponseV2(String errorMsg)
          响应错误信息
NativePayResponseV2(WeixinOldPayAccount weixinAccount, PayPackageV2 payPackage)
          正确响应
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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 class PayRequest


Copyright © 2014–2017. All rights reserved.