com.foxinmy.weixin4j.payment.mch
Class AbstractPayRequest

java.lang.Object
  extended by com.foxinmy.weixin4j.payment.mch.AbstractPayRequest
All Implemented Interfaces:
MchPayRequest
Direct Known Subclasses:
APPPayRequest, JSAPIPayRequest, NATIVEPayRequest, WAPPayRequest

public abstract class AbstractPayRequest
extends Object
implements MchPayRequest


Constructor Summary
AbstractPayRequest(String prePayId, WeixinPayAccount paymentAccount)
           
 
Method Summary
 WeixinPayAccount getPaymentAccount()
          支付账号
 String getPrePayId()
          预支付交易ID
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.foxinmy.weixin4j.payment.mch.MchPayRequest
getPaymentType, toRequestObject, toRequestString
 

Constructor Detail

AbstractPayRequest

public AbstractPayRequest(String prePayId,
                          WeixinPayAccount paymentAccount)
Method Detail

getPrePayId

public String getPrePayId()
Description copied from interface: MchPayRequest
预支付交易ID

Specified by:
getPrePayId in interface MchPayRequest
Returns:

getPaymentAccount

public WeixinPayAccount getPaymentAccount()
Description copied from interface: MchPayRequest
支付账号

Specified by:
getPaymentAccount in interface MchPayRequest
Returns:


Copyright © 2014–2017. All rights reserved.