public final class Trade extends Object
| Constructor and Description |
|---|
Trade(BigDecimal amount,
BigDecimal price,
boolean isBuyer,
long timestamp) |
| Modifier and Type | Method and Description |
|---|---|
BigDecimal |
getAmount() |
BigDecimal |
getPrice() |
long |
getTimestamp() |
boolean |
isBuyer() |
String |
toString() |
public Trade(BigDecimal amount, BigDecimal price, boolean isBuyer, long timestamp)
public BigDecimal getAmount()
public BigDecimal getPrice()
public long getTimestamp()
public boolean isBuyer()