public class Trade extends Object
Constructor and Description |
---|
Trade(javax.json.JsonObject jsonObject) |
Trade(javax.json.JsonValue jsonValue) |
Modifier and Type | Method and Description |
---|---|
BigDecimal |
getAveragePrice() |
BigDecimal |
getCompletedTradeAmount() |
Instant |
getCreatedDate() |
long |
getId() |
long |
getOrderId() |
BigDecimal |
getSigTradeAmount() |
BigDecimal |
getSigTradePrice() |
Status |
getStatus() |
String |
getSymbol() |
BigDecimal |
getTradeAmount() |
BigDecimal |
getTradePrice() |
Type |
getTradeType() |
BigDecimal |
getTradeUnitPrice() |
BigDecimal |
getUnTrade() |
void |
setId(long id) |
void |
setOrderId(long orderId) |
void |
setSigTradeAmount(BigDecimal sigTradeAmount) |
void |
setSigTradePrice(BigDecimal sigTradePrice) |
void |
setStatus(Status status) |
void |
setSymbol(String symbol) |
void |
setTradeAmount(BigDecimal tradeAmount) |
void |
setTradePrice(BigDecimal tradePrice) |
void |
setTradeType(Type tradeType) |
void |
setTradeUnitPrice(BigDecimal tradeUnitPrice) |
void |
setUnTrade(BigDecimal unTrade) |
String |
toString() |
public Trade(javax.json.JsonValue jsonValue)
public Trade(javax.json.JsonObject jsonObject)
public long getId()
public void setId(long id)
public long getOrderId()
public void setOrderId(long orderId)
public BigDecimal getSigTradeAmount()
public void setSigTradeAmount(BigDecimal sigTradeAmount)
public BigDecimal getSigTradePrice()
public void setSigTradePrice(BigDecimal sigTradePrice)
public Status getStatus()
public void setStatus(Status status)
public String getSymbol()
public void setSymbol(String symbol)
public BigDecimal getTradeAmount()
public void setTradeAmount(BigDecimal tradeAmount)
public BigDecimal getTradePrice()
public void setTradePrice(BigDecimal tradePrice)
public Type getTradeType()
public void setTradeType(Type tradeType)
public BigDecimal getTradeUnitPrice()
public void setTradeUnitPrice(BigDecimal tradeUnitPrice)
public BigDecimal getUnTrade()
public void setUnTrade(BigDecimal unTrade)
public BigDecimal getAveragePrice()
public BigDecimal getCompletedTradeAmount()
public Instant getCreatedDate()
Copyright © 2013–2017. All rights reserved.