Class AbstractPayRequest
- java.lang.Object
-
- com.foxinmy.weixin4j.pay.payment.mch.AbstractPayRequest
-
- All Implemented Interfaces:
MchPayRequest
- Direct Known Subclasses:
APPPayRequest,JSAPIPayRequest,NATIVEPayRequest,WAPPayRequest
public abstract class AbstractPayRequest extends Object implements MchPayRequest
-
-
Field Summary
Fields Modifier and Type Field Description protected WeixinSignatureweixinSignature
-
Constructor Summary
Constructors Constructor Description AbstractPayRequest(String prePayId, WeixinPayAccount paymentAccount)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WeixinPayAccountgetPaymentAccount()支付账号StringgetPrePayId()预支付交易ID-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.foxinmy.weixin4j.pay.payment.mch.MchPayRequest
getPaymentType, toRequestObject, toRequestString
-
-
-
-
Field Detail
-
weixinSignature
protected final WeixinSignature weixinSignature
-
-
Constructor Detail
-
AbstractPayRequest
public AbstractPayRequest(String prePayId, WeixinPayAccount paymentAccount)
-
-
Method Detail
-
getPrePayId
public String getPrePayId()
Description copied from interface:MchPayRequest预支付交易ID- Specified by:
getPrePayIdin interfaceMchPayRequest- Returns:
-
getPaymentAccount
public WeixinPayAccount getPaymentAccount()
Description copied from interface:MchPayRequest支付账号- Specified by:
getPaymentAccountin interfaceMchPayRequest- Returns:
-
-