Class NATIVEPayRequest
- java.lang.Object
-
- com.foxinmy.weixin4j.pay.payment.mch.AbstractPayRequest
-
- com.foxinmy.weixin4j.pay.payment.mch.NATIVEPayRequest
-
- All Implemented Interfaces:
MchPayRequest
public class NATIVEPayRequest extends AbstractPayRequest
NATIVE扫码支付(模式二)- Since:
- JDK 1.6
- Author:
- jinyu(foxinmy@gmail.com)
- See Also:
PrePay
,PayRequest
, NATIVE扫码支付(模式二)
-
-
Field Summary
-
Fields inherited from class com.foxinmy.weixin4j.pay.payment.mch.AbstractPayRequest
weixinSignature
-
-
Constructor Summary
Constructors Constructor Description NATIVEPayRequest(String prePayId, String codeUrl, WeixinPayAccount payAccount)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TradeType
getPaymentType()
支付类型PayRequest
toRequestObject()
只做查看之用,请不要尝试作为支付请求String
toRequestString()
支付请求字符串-
Methods inherited from class com.foxinmy.weixin4j.pay.payment.mch.AbstractPayRequest
getPaymentAccount, getPrePayId
-
-
-
-
Constructor Detail
-
NATIVEPayRequest
public NATIVEPayRequest(String prePayId, String codeUrl, WeixinPayAccount payAccount)
-
-
Method Detail
-
getPaymentType
public TradeType getPaymentType()
Description copied from interface:MchPayRequest
支付类型- Returns:
-
toRequestObject
public PayRequest toRequestObject()
只做查看之用,请不要尝试作为支付请求- Returns:
-
toRequestString
public String toRequestString()
Description copied from interface:MchPayRequest
支付请求字符串- Returns:
-
-