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 WeixinSignature
weixinSignature
-
Constructor Summary
Constructors Constructor Description AbstractPayRequest(String prePayId, WeixinPayAccount paymentAccount)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WeixinPayAccount
getPaymentAccount()
支付账号String
getPrePayId()
预支付交易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:
getPrePayId
in interfaceMchPayRequest
- Returns:
-
getPaymentAccount
public WeixinPayAccount getPaymentAccount()
Description copied from interface:MchPayRequest
支付账号- Specified by:
getPaymentAccount
in interfaceMchPayRequest
- Returns:
-
-