public class Account extends BaseObject
Constructor and Description |
---|
Account(String currency,
BigDecimal balance,
BigDecimal locked) |
Modifier and Type | Method and Description |
---|---|
BigDecimal |
getBalance() |
String |
getCurrency() |
BigDecimal |
getLocked() |
toString
public Account(String currency, BigDecimal balance, BigDecimal locked)
currency
- account type, like 'btc' or 'cny'.balance
- account balance, exclude locked funds.locked
- locked funds.public String getCurrency()
public BigDecimal getBalance()
public BigDecimal getLocked()
Copyright © 2015. All rights reserved.