Class OrderV2
- java.lang.Object
-
- com.foxinmy.weixin4j.mp.oldpayment.ApiResultV2
-
- com.foxinmy.weixin4j.mp.oldpayment.OrderV2
-
- All Implemented Interfaces:
Serializable
public class OrderV2 extends ApiResultV2
V2订单信息- Since:
- JDK 1.6
- Author:
- jinyu(foxinmy@gmail.com)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OrderV2()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAttach()StringgetBankBillno()StringgetBankType()intgetDiscount()intgetFeeType()doublegetFormatDiscount()调用接口获取单位为分,get方法转换为元方便使用CurrencyTypegetFormatFeeType()doublegetFormatProductFee()调用接口获取单位为分,get方法转换为元方便使用doublegetFormatRmbTotalFee()调用接口获取单位为分,get方法转换为元方便使用DategetFormatTimeEnd()doublegetFormatTotalFee()调用接口获取单位为分,get方法转换为元方便使用TradeStategetFormatTradeState()doublegetFormatTransportFee()调用接口获取单位为分,get方法转换为元方便使用StringgetOutTradeNo()intgetProductFee()IntegergetRmbTotalFee()StringgetTimeEnd()intgetTotalFee()intgetTradeMode()intgetTradeState()StringgetTransactionId()intgetTransportFee()booleanisRefund()booleanisSplit()voidsetAttach(String attach)voidsetBankBillno(String bankBillno)voidsetBankType(String bankType)voidsetDiscount(int discount)voidsetFeeType(int feeType)voidsetOutTradeNo(String outTradeNo)voidsetProductFee(int productFee)voidsetRefund(boolean isRefund)voidsetRmbTotalFee(int rmbTotalFee)voidsetSplit(boolean isSplit)voidsetTimeEnd(String timeEnd)voidsetTotalFee(int totalFee)voidsetTradeMode(int tradeMode)voidsetTradeState(int tradeState)voidsetTransactionId(String transactionId)voidsetTransportFee(int transportFee)StringtoString()-
Methods inherited from class com.foxinmy.weixin4j.mp.oldpayment.ApiResultV2
getFormatSignType, getInputCharset, getPartner, getRetCode, getRetMsg, getSign, getSignKeyIndex, getSignType, setInputCharset, setPartner, setRetCode, setRetMsg, setSign, setSignKeyIndex, setSignType
-
-
-
-
Method Detail
-
getTradeState
public int getTradeState()
-
getFormatTradeState
public TradeState getFormatTradeState()
-
setTradeState
public void setTradeState(int tradeState)
-
getTradeMode
public int getTradeMode()
-
setTradeMode
public void setTradeMode(int tradeMode)
-
getBankType
public String getBankType()
-
setBankType
public void setBankType(String bankType)
-
getBankBillno
public String getBankBillno()
-
setBankBillno
public void setBankBillno(String bankBillno)
-
getTotalFee
public int getTotalFee()
-
getFormatTotalFee
public double getFormatTotalFee()
调用接口获取单位为分,get方法转换为元方便使用- Returns:
- 元单位
-
setTotalFee
public void setTotalFee(int totalFee)
-
getFeeType
public int getFeeType()
-
getFormatFeeType
public CurrencyType getFormatFeeType()
-
setFeeType
public void setFeeType(int feeType)
-
getTransactionId
public String getTransactionId()
-
setTransactionId
public void setTransactionId(String transactionId)
-
getOutTradeNo
public String getOutTradeNo()
-
setOutTradeNo
public void setOutTradeNo(String outTradeNo)
-
isSplit
public boolean isSplit()
-
setSplit
public void setSplit(boolean isSplit)
-
isRefund
public boolean isRefund()
-
setRefund
public void setRefund(boolean isRefund)
-
getAttach
public String getAttach()
-
setAttach
public void setAttach(String attach)
-
getTimeEnd
public String getTimeEnd()
-
getFormatTimeEnd
public Date getFormatTimeEnd()
-
setTimeEnd
public void setTimeEnd(String timeEnd)
-
getTransportFee
public int getTransportFee()
-
getFormatTransportFee
public double getFormatTransportFee()
调用接口获取单位为分,get方法转换为元方便使用- Returns:
- 元单位
-
setTransportFee
public void setTransportFee(int transportFee)
-
getProductFee
public int getProductFee()
-
getFormatProductFee
public double getFormatProductFee()
调用接口获取单位为分,get方法转换为元方便使用- Returns:
- 元单位
-
setProductFee
public void setProductFee(int productFee)
-
getDiscount
public int getDiscount()
-
getFormatDiscount
public double getFormatDiscount()
调用接口获取单位为分,get方法转换为元方便使用- Returns:
- 元单位
-
setDiscount
public void setDiscount(int discount)
-
getRmbTotalFee
public Integer getRmbTotalFee()
-
getFormatRmbTotalFee
public double getFormatRmbTotalFee()
调用接口获取单位为分,get方法转换为元方便使用- Returns:
- 元单位
-
setRmbTotalFee
public void setRmbTotalFee(int rmbTotalFee)
-
toString
public String toString()
- Overrides:
toStringin classApiResultV2
-
-