public class Trade extends Object
Constructor and Description |
---|
Trade(Instant date,
BigDecimal price,
BigDecimal amount,
long tid,
Type type) |
Modifier and Type | Method and Description |
---|---|
BigDecimal |
getAmount()
Returns the quantity in BTC (or LTC).
|
Instant |
getDate()
Returns the transaction time.
|
BigDecimal |
getPrice()
Returns the transaction price.
|
long |
getTid()
Returns the transaction ID.
|
Type |
getType()
Returns the type.
|
String |
toString() |
public Trade(Instant date, BigDecimal price, BigDecimal amount, long tid, Type type)
public Instant getDate()
public BigDecimal getPrice()
public BigDecimal getAmount()
public long getTid()
public Type getType()
Copyright © 2013–2017. All rights reserved.