Class Order
- 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
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
MICROPayRequest
public class Order extends MerchantTradeResult
订单信息- Since:
- JDK 1.6
- Author:
- jinyu(foxinmy@gmail.com)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Order()
-
Method Summary
-
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
-
getFormatTradeState
public TradeState getFormatTradeState()
-
getOpenId
public String getOpenId()
-
setOpenId
public void setOpenId(String openId)
-
getIsSubscribe
public String getIsSubscribe()
-
setIsSubscribe
public void setIsSubscribe(String isSubscribe)
-
getFormatIsSubscribe
public boolean getFormatIsSubscribe()
-
getFormatTradeType
public TradeType getFormatTradeType()
-
getBankType
public String getBankType()
-
setBankType
public void setBankType(String bankType)
-
getFormatBankType
public BankType getFormatBankType()
-
getCouponFee
public Integer getCouponFee()
-
setCouponFee
public void setCouponFee(Integer couponFee)
-
getFormatCouponFee
public double getFormatCouponFee()
调用接口获取单位为分,get方法转换为元方便使用- Returns:
- 元单位
-
getCouponCount
public Integer getCouponCount()
-
setCouponCount
public void setCouponCount(Integer couponCount)
-
getTradeState
public String getTradeState()
-
setTradeState
public void setTradeState(String tradeState)
-
getTradeType
public String getTradeType()
-
setTradeType
public void setTradeType(String tradeType)
-
getAttach
public String getAttach()
-
setAttach
public void setAttach(String attach)
-
getTimeEnd
public String getTimeEnd()
-
setTimeEnd
public void setTimeEnd(String timeEnd)
-
getFormatTimeEnd
public Date getFormatTimeEnd()
-
getTradeStateDesc
public String getTradeStateDesc()
-
setTradeStateDesc
public void setTradeStateDesc(String tradeStateDesc)
-
getCouponList
public List<OrderCouponInfo> getCouponList()
-
setCouponList
public void setCouponList(List<OrderCouponInfo> couponList)
-
getSubOpenId
public String getSubOpenId()
-
setSubOpenId
public void setSubOpenId(String subOpenId)
-
getSubIsSubscribe
public String getSubIsSubscribe()
-
setSubIsSubscribe
public void setSubIsSubscribe(String subIsSubscribe)
-
getFormatSubIsSubscribe
public boolean getFormatSubIsSubscribe()
-
getCashFeeType
public String getCashFeeType()
-
setCashFeeType
public void setCashFeeType(String cashFeeType)
-
getFormatCashFeeType
public CurrencyType getFormatCashFeeType()
-
toString
public String toString()
- Overrides:
toString
in classMerchantTradeResult
-
-