com.foxinmy.weixin4j.payment.mch
Class NATIVEPayRequest

java.lang.Object
  extended by com.foxinmy.weixin4j.payment.mch.AbstractPayRequest
      extended by com.foxinmy.weixin4j.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扫码支付(模式二)

Constructor Summary
NATIVEPayRequest(String prePayId, String codeUrl, WeixinPayAccount payAccount)
           
 
Method Summary
 TradeType getPaymentType()
          支付类型
 PayRequest toRequestObject()
          只做查看之用,请不要尝试作为支付请求
 String toRequestString()
          支付请求字符串
 
Methods inherited from class com.foxinmy.weixin4j.payment.mch.AbstractPayRequest
getPaymentAccount, getPrePayId
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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:


Copyright © 2014–2017. All rights reserved.