Class MerchantTradeResult
- java.lang.Object
-
- com.foxinmy.weixin4j.http.weixin.XmlResult
-
- com.foxinmy.weixin4j.pay.payment.mch.MerchantResult
-
- com.foxinmy.weixin4j.pay.payment.mch.MerchantTradeResult
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
Order,RefundRecord,RefundResult
public class MerchantTradeResult extends MerchantResult
商户平台交易结果- Since:
- JDK 1.7
- Author:
- jinyu(foxinmy@gmail.com)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MerchantTradeResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegergetCashFee()StringgetFeeType()doublegetFormatCashFee()调用接口获取单位为分,get方法转换为元方便使用CurrencyTypegetFormatFeeType()doublegetFormatSettlementTotalFee()调用接口获取单位为分,get方法转换为元方便使用doublegetFormatTotalFee()调用接口获取单位为分,get方法转换为元方便使用StringgetOutTradeNo()IntegergetSettlementTotalFee()IntegergetTotalFee()StringgetTransactionId()voidsetCashFee(Integer cashFee)voidsetFeeType(String feeType)voidsetOutTradeNo(String outTradeNo)voidsetSettlementTotalFee(Integer settlementTotalFee)voidsetTotalFee(Integer totalFee)voidsetTransactionId(String transactionId)StringtoString()-
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
-
-
-
-
Method Detail
-
getCashFee
public Integer getCashFee()
-
setCashFee
public void setCashFee(Integer cashFee)
-
getFormatCashFee
public double getFormatCashFee()
调用接口获取单位为分,get方法转换为元方便使用- Returns:
- 元单位
-
getTotalFee
public Integer getTotalFee()
-
setTotalFee
public void setTotalFee(Integer totalFee)
-
getFormatTotalFee
public double getFormatTotalFee()
调用接口获取单位为分,get方法转换为元方便使用- Returns:
- 元单位
-
getFormatFeeType
public CurrencyType getFormatFeeType()
-
getFeeType
public String getFeeType()
-
setFeeType
public void setFeeType(String feeType)
-
getTransactionId
public String getTransactionId()
-
setTransactionId
public void setTransactionId(String transactionId)
-
getOutTradeNo
public String getOutTradeNo()
-
setOutTradeNo
public void setOutTradeNo(String outTradeNo)
-
getSettlementTotalFee
public Integer getSettlementTotalFee()
-
setSettlementTotalFee
public void setSettlementTotalFee(Integer settlementTotalFee)
-
getFormatSettlementTotalFee
public double getFormatSettlementTotalFee()
调用接口获取单位为分,get方法转换为元方便使用- Returns:
- 元单位
-
toString
public String toString()
- Overrides:
toStringin classMerchantResult
-
-