Class MICROPayRequest
- java.lang.Object
-
- com.foxinmy.weixin4j.http.weixin.XmlResult
-
- com.foxinmy.weixin4j.pay.payment.mch.MerchantResult
-
- com.foxinmy.weixin4j.pay.payment.mch.MerchantTradeResult
-
- com.foxinmy.weixin4j.pay.payment.mch.Order
-
- com.foxinmy.weixin4j.pay.payment.mch.MICROPayRequest
-
- All Implemented Interfaces:
MchPayRequest
,Serializable
public class MICROPayRequest extends Order implements MchPayRequest
MICROPAY刷卡支付- Since:
- JDK 1.6
- Author:
- jinyu(foxinmy@gmail.com)
- See Also:
PrePay
,PayRequest
, 刷卡支付, Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
MICROPayRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WeixinPayAccount
getPaymentAccount()
支付账号TradeType
getPaymentType()
支付类型String
getPrePayId()
返回null,请不要尝试作为支付请求void
setPaymentAccount(WeixinPayAccount paymentAccount)
PayRequest
toRequestObject()
返回null,请不要尝试作为支付请求String
toRequestString()
返回null,请不要尝试作为支付请求-
Methods inherited from class com.foxinmy.weixin4j.pay.payment.mch.Order
getAttach, getBankType, getCashFeeType, getCouponCount, getCouponFee, getCouponList, getFormatBankType, getFormatCashFeeType, getFormatCouponFee, getFormatIsSubscribe, getFormatSubIsSubscribe, getFormatTimeEnd, getFormatTradeState, getFormatTradeType, getIsSubscribe, getOpenId, getSubIsSubscribe, getSubOpenId, getTimeEnd, getTradeState, getTradeStateDesc, getTradeType, setAttach, setBankType, setCashFeeType, setCouponCount, setCouponFee, setCouponList, setIsSubscribe, setOpenId, setSubIsSubscribe, setSubOpenId, setTimeEnd, setTradeState, setTradeStateDesc, setTradeType, toString
-
Methods inherited from class com.foxinmy.weixin4j.pay.payment.mch.MerchantTradeResult
getCashFee, getFeeType, getFormatCashFee, getFormatFeeType, getFormatSettlementTotalFee, getFormatTotalFee, getOutTradeNo, getSettlementTotalFee, getTotalFee, getTransactionId, setCashFee, setFeeType, setOutTradeNo, setSettlementTotalFee, setTotalFee, setTransactionId
-
Methods inherited from class com.foxinmy.weixin4j.pay.payment.mch.MerchantResult
getAppId, getDeviceInfo, getFormatRecall, getMchId, getNonceStr, getRecall, getSign, getSignType, getSubAppId, getSubMchId, setAppId, setDeviceInfo, setMchId, setNonceStr, setRecall, setSign, setSignType, setSubAppId, setSubMchId
-
Methods inherited from class com.foxinmy.weixin4j.http.weixin.XmlResult
getErrCode, getErrCodeDes, getResultCode, getReturnCode, getReturnMsg, setErrCode, setErrCodeDes, setResultCode, setReturnCode, setReturnMsg
-
-
-
-
Method Detail
-
getPaymentType
public TradeType getPaymentType()
Description copied from interface:MchPayRequest
支付类型- Specified by:
getPaymentType
in interfaceMchPayRequest
- Returns:
-
toRequestString
public String toRequestString()
返回null,请不要尝试作为支付请求- Specified by:
toRequestString
in interfaceMchPayRequest
- Returns:
-
toRequestObject
public PayRequest toRequestObject()
返回null,请不要尝试作为支付请求- Specified by:
toRequestObject
in interfaceMchPayRequest
- Returns:
-
getPrePayId
public String getPrePayId()
返回null,请不要尝试作为支付请求- Specified by:
getPrePayId
in interfaceMchPayRequest
- Returns:
-
setPaymentAccount
public void setPaymentAccount(WeixinPayAccount paymentAccount)
-
getPaymentAccount
public WeixinPayAccount getPaymentAccount()
Description copied from interface:MchPayRequest
支付账号- Specified by:
getPaymentAccount
in interfaceMchPayRequest
- Returns:
-
-