public class MercadoBitcoinTransaction extends Object
Constructor and Description |
---|
MercadoBitcoinTransaction(long date,
long tid,
BigDecimal price,
BigDecimal amount,
String type)
Constructor
|
Modifier and Type | Method and Description |
---|---|
BigDecimal |
calculateFeeBtc() |
BigDecimal |
calculateFeeUsd() |
BigDecimal |
getAmount() |
long |
getDate() |
BigDecimal |
getPrice() |
long |
getTid() |
String |
getType() |
String |
toString() |
public MercadoBitcoinTransaction(long date, long tid, BigDecimal price, BigDecimal amount, String type)
date
- Unix timestamp date and timetid
- Transaction idprice
- BTC price in BRLamount
- BTC amounttype
- buy or sellpublic long getTid()
public BigDecimal getPrice()
public BigDecimal getAmount()
public long getDate()
public BigDecimal calculateFeeBtc()
public BigDecimal calculateFeeUsd()
public String getType()
Copyright © 2012–2018 Xeiam, LLC. All rights reserved.