public class TradeParam extends Object
| Constructor and Description | 
|---|
TradeParam(BigDecimal tradeAmount,
          BigDecimal tradeCnyPrice,
          String tradePwd,
          int symbol)  | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
getSymbol()  | 
BigDecimal | 
getTradeAmount()  | 
BigDecimal | 
getTradeCnyPrice()  | 
String | 
getTradePwd()  | 
void | 
setSymbol(int symbol)  | 
void | 
setTradeAmount(BigDecimal tradeAmount)  | 
void | 
setTradeCnyPrice(BigDecimal tradeCnyPrice)  | 
void | 
setTradePwd(String tradePwd)  | 
String | 
toJson()  | 
List<org.apache.http.NameValuePair> | 
toNameValurPairs()  | 
String | 
toString()  | 
String | 
toUrlencoded()  | 
public TradeParam(BigDecimal tradeAmount, BigDecimal tradeCnyPrice, String tradePwd, int symbol)
public BigDecimal getTradeAmount()
public void setTradeAmount(BigDecimal tradeAmount)
tradeAmount - the tradeAmount to setpublic BigDecimal getTradeCnyPrice()
public void setTradeCnyPrice(BigDecimal tradeCnyPrice)
tradeCnyPrice - the tradeCnyPrice to setpublic String getTradePwd()
public void setTradePwd(String tradePwd)
tradePwd - the tradePwd to setpublic int getSymbol()
public void setSymbol(int symbol)
symbol - the symbol to setpublic String toJson()
public String toUrlencoded()
public List<org.apache.http.NameValuePair> toNameValurPairs()
Copyright © 2013–2017. All rights reserved.