Class CryptonitUserTransaction
- java.lang.Object
-
- org.knowm.xchange.cryptonit2.dto.trade.CryptonitUserTransaction
-
public final class CryptonitUserTransaction extends Object
- Author:
- Matija Mazi
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCryptonitUserTransaction.TransactionType
-
Constructor Summary
Constructors Constructor Description CryptonitUserTransaction(String datetime, long id, long order_id, CryptonitUserTransaction.TransactionType type, BigDecimal fee)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,BigDecimal>getAmounts()BigDecimalgetBaseAmount()StringgetBaseCurrency()BigDecimalgetCounterAmount()StringgetCounterCurrency()DategetDatetime()BigDecimalgetFee()StringgetFeeCurrency()longgetId()longgetOrderId()BigDecimalgetPrice()CryptonitUserTransaction.TransactionTypegetType()booleanisDeposit()booleanisMarketTrade()booleanisWithdrawal()voidsetDynamicProperty(String name, Object value)StringtoString()
-
-
-
Constructor Detail
-
CryptonitUserTransaction
public CryptonitUserTransaction(String datetime, long id, long order_id, CryptonitUserTransaction.TransactionType type, BigDecimal fee)
Constructor- Parameters:
datetime-id-order_id-type-fee-
-
-
Method Detail
-
getDatetime
public Date getDatetime()
-
getId
public long getId()
-
getOrderId
public long getOrderId()
-
getType
public CryptonitUserTransaction.TransactionType getType()
-
isDeposit
public boolean isDeposit()
-
isWithdrawal
public boolean isWithdrawal()
-
isMarketTrade
public boolean isMarketTrade()
-
getCounterAmount
public BigDecimal getCounterAmount()
-
getBaseAmount
public BigDecimal getBaseAmount()
-
getPrice
public BigDecimal getPrice()
-
getCounterCurrency
public String getCounterCurrency()
-
getBaseCurrency
public String getBaseCurrency()
-
getFee
public BigDecimal getFee()
-
getFeeCurrency
public String getFeeCurrency()
-
getAmounts
public Map<String,BigDecimal> getAmounts()
-
-