BalanceInfo
Package: velox.api.layer1.data
Type: Class
Inheritance: java.lang.Object → BalanceInfo
All Implemented Interfaces: MultiAccountAware
Description​
Information about account balance in each currency
Nested Classes​
BalanceInfo.BalanceInCurrency​
Information about account balance in specific currency
Fields​
accountName​
@Deprecated
public final String accountName
Deprecated: because displayed name and account id should be set with AccountInfo. Use accountId instead.
Short name of an account, if known (displayed name)
accountId​
public final String accountId
Account id to identify which account this balance info belongs to. Null if there is no multi-account support (only single account is supported by the data provider). Should not mix nulls and specific account infos in the same data provider.
balancesInCurrency​
public final List<BalanceInfo.BalanceInCurrency> balancesInCurrency
List of balances (in each currency)
Constructors​
BalanceInfo​
@Deprecated
public BalanceInfo(String accountName, List<BalanceInfo.BalanceInCurrency> balancesInCurrency)
Deprecated: because AccountInfo should be used instead of accountName. Use BalanceInfo(List, String) instead.
Avoid using it directly, use BalanceInfoBuilder instead
BalanceInfo​
public BalanceInfo(List<BalanceInfo.BalanceInCurrency> balancesInCurrency)
Avoid using it directly, use BalanceInfoBuilder instead
Methods​
getTradingAccountId​
public String getTradingAccountId()
Specified by: getTradingAccountId in interface MultiAccountAware
toString​
public String toString()
Overrides: toString in class Object
Methods inherited from class java.lang.Object: clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait