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 Integer
getCashFee()
String
getFeeType()
double
getFormatCashFee()
调用接口获取单位为分,get方法转换为元方便使用CurrencyType
getFormatFeeType()
double
getFormatSettlementTotalFee()
调用接口获取单位为分,get方法转换为元方便使用double
getFormatTotalFee()
调用接口获取单位为分,get方法转换为元方便使用String
getOutTradeNo()
Integer
getSettlementTotalFee()
Integer
getTotalFee()
String
getTransactionId()
void
setCashFee(Integer cashFee)
void
setFeeType(String feeType)
void
setOutTradeNo(String outTradeNo)
void
setSettlementTotalFee(Integer settlementTotalFee)
void
setTotalFee(Integer totalFee)
void
setTransactionId(String transactionId)
String
toString()
-
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
-
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:
toString
in classMerchantResult
-
-