com.foxinmy.weixin4j.payment.mch
Class MICROPayRequest

java.lang.Object
  extended by com.foxinmy.weixin4j.http.weixin.XmlResult
      extended by com.foxinmy.weixin4j.payment.mch.MerchantResult
          extended by com.foxinmy.weixin4j.payment.mch.MerchantTradeResult
              extended by com.foxinmy.weixin4j.payment.mch.Order
                  extended by com.foxinmy.weixin4j.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

Method Summary
 WeixinPayAccount getPaymentAccount()
          支付账号
 TradeType getPaymentType()
          支付类型
 String getPrePayId()
          返回null,请不要尝试作为支付请求
 void setPaymentAccount(WeixinPayAccount paymentAccount)
           
 PayRequest toRequestObject()
          返回null,请不要尝试作为支付请求
 String toRequestString()
          返回null,请不要尝试作为支付请求
 
Methods inherited from class com.foxinmy.weixin4j.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, setCouponList, toString
 
Methods inherited from class com.foxinmy.weixin4j.payment.mch.MerchantTradeResult
getCashFee, getFeeType, getFormatCashFee, getFormatFeeType, getFormatSettlementTotalFee, getFormatTotalFee, getOutTradeNo, getSettlementTotalFee, getTotalFee, getTransactionId
 
Methods inherited from class com.foxinmy.weixin4j.payment.mch.MerchantResult
getAppId, getDeviceInfo, getFormatRecall, getFormatSignType, 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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getPaymentType

public TradeType getPaymentType()
Description copied from interface: MchPayRequest
支付类型

Specified by:
getPaymentType in interface MchPayRequest
Returns:

toRequestString

public String toRequestString()
返回null,请不要尝试作为支付请求

Specified by:
toRequestString in interface MchPayRequest
Returns:

toRequestObject

public PayRequest toRequestObject()
返回null,请不要尝试作为支付请求

Specified by:
toRequestObject in interface MchPayRequest
Returns:

getPrePayId

public String getPrePayId()
返回null,请不要尝试作为支付请求

Specified by:
getPrePayId in interface MchPayRequest
Returns:

setPaymentAccount

public void setPaymentAccount(WeixinPayAccount paymentAccount)

getPaymentAccount

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

Specified by:
getPaymentAccount in interface MchPayRequest
Returns:


Copyright © 2014–2017. All rights reserved.