com.foxinmy.weixin4j.mp.oldpayment
Class OrderV2

java.lang.Object
  extended by com.foxinmy.weixin4j.mp.oldpayment.ApiResultV2
      extended by 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
OrderV2()
           
 
Method Summary
 String getAttach()
           
 String getBankBillno()
           
 String getBankType()
           
 int getDiscount()
           
 int getFeeType()
           
 double getFormatDiscount()
          调用接口获取单位为分,get方法转换为元方便使用
 CurrencyType getFormatFeeType()
           
 double getFormatProductFee()
          调用接口获取单位为分,get方法转换为元方便使用
 double getFormatRmbTotalFee()
          调用接口获取单位为分,get方法转换为元方便使用
 Date getFormatTimeEnd()
           
 double getFormatTotalFee()
          调用接口获取单位为分,get方法转换为元方便使用
 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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OrderV2

public OrderV2()
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:
toString in class ApiResultV2


Copyright © 2014–2017. All rights reserved.