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 String
getAttach()
String
getBankBillno()
String
getBankType()
int
getDiscount()
int
getFeeType()
double
getFormatDiscount()
调用接口获取单位为分,get方法转换为元方便使用com.foxinmy.weixin4j.type.CurrencyType
getFormatFeeType()
double
getFormatProductFee()
调用接口获取单位为分,get方法转换为元方便使用double
getFormatRmbTotalFee()
调用接口获取单位为分,get方法转换为元方便使用Date
getFormatTimeEnd()
double
getFormatTotalFee()
调用接口获取单位为分,get方法转换为元方便使用com.foxinmy.weixin4j.type.TradeState
getFormatTradeState()
double
getFormatTransportFee()
调用接口获取单位为分,get方法转换为元方便使用String
getOutTradeNo()
int
getProductFee()
Integer
getRmbTotalFee()
String
getTimeEnd()
int
getTotalFee()
int
getTradeMode()
int
getTradeState()
String
getTransactionId()
int
getTransportFee()
boolean
isRefund()
boolean
isSplit()
void
setAttach(String attach)
void
setBankBillno(String bankBillno)
void
setBankType(String bankType)
void
setDiscount(int discount)
void
setFeeType(int feeType)
void
setOutTradeNo(String outTradeNo)
void
setProductFee(int productFee)
void
setRefund(boolean isRefund)
void
setRmbTotalFee(int rmbTotalFee)
void
setSplit(boolean isSplit)
void
setTimeEnd(String timeEnd)
void
setTotalFee(int totalFee)
void
setTradeMode(int tradeMode)
void
setTradeState(int tradeState)
void
setTransactionId(String transactionId)
void
setTransportFee(int transportFee)
String
toString()
-
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 com.foxinmy.weixin4j.type.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 com.foxinmy.weixin4j.type.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:
toString
in classApiResultV2
-
-