public class Order extends CHBTCError
API_LOCKED_OR_NOT_ENABLED, ERROR_TIPS, INSUFFICIENT_BTC_BALANCE, INSUFFICIENT_CNY_BALANCE, INSUFFICIENT_LTC_BALANCE, INTERNAL_ERROR, INVALID_AMOUNT, INVALID_ARGUMENTS, INVALID_IP_ADDRESS, INVALID_MONEY, NO_SUCH_USER, NOT_FOUND_ORDER, REQUEST_TOO_FREQUENTLY, SUCCESS, VALIDATE_NO_PASS
Constructor and Description |
---|
Order(int code,
String message,
long id,
int type,
BigDecimal price,
String currency,
BigDecimal tradeAmount,
BigDecimal tradeMoney,
BigDecimal totalAmount,
long tradeDate,
int status) |
Modifier and Type | Method and Description |
---|---|
String |
getCurrency() |
long |
getId() |
BigDecimal |
getPrice() |
int |
getStatus() |
BigDecimal |
getTotalAmount() |
BigDecimal |
getTradeAmount() |
long |
getTradeDate() |
BigDecimal |
getTradeMoney() |
int |
getType() |
String |
toString() |
getCode, getMessage, isSuccess
public Order(int code, String message, long id, int type, BigDecimal price, String currency, BigDecimal tradeAmount, BigDecimal tradeMoney, BigDecimal totalAmount, long tradeDate, int status)
public long getId()
public int getType()
public BigDecimal getPrice()
public String getCurrency()
public BigDecimal getTradeAmount()
public BigDecimal getTradeMoney()
public BigDecimal getTotalAmount()
public long getTradeDate()
public int getStatus()
Copyright © 2013–2015. All rights reserved.