BalanceInfoBuilder
Package: velox.api.layer1.data
Type: Class
Inheritance: java.lang.Object รขโ โ BalanceInfoBuilder
Descriptionโ
Builder for BalanceInfo - see corresponding javadoc for information about the fields.
Constructorsโ
BalanceInfoBuilderโ
public BalanceInfoBuilder()
Methodsโ
buildโ
public BalanceInfo build()
updateBalanceInCurrencyโ
public BalanceInfoBuilder updateBalanceInCurrency(BalanceInfo.BalanceInCurrency balanceInCurrency)
getAccountNameโ
@Deprecated
public String getAccountName()
Deprecated: Use getAccountId() instead
Returns: Account name (displayed account name)
setAccountNameโ
@Deprecated
public BalanceInfoBuilder setAccountName(String accountName)
Deprecated: Use setAccountId(String) instead
getAccountIdโ
public String getAccountId()
Returns: Account id of the account the balance is for. Null if there is no multi-account support (only single account is supported by the data provider).
setAccountIdโ
public BalanceInfoBuilder setAccountId(String accountId)
Indicate which account the balance is for. If not set, there is no multi-account support (only single account is supported by the data provider).
Important: Don't set to null if there is multi-account support and data is coming from multiple accounts!
getBalancesInCurrencyโ
public ArrayList<BalanceInfo.BalanceInCurrency> getBalancesInCurrency()
setBalancesInCurrencyโ
public BalanceInfoBuilder setBalancesInCurrency(ArrayList<BalanceInfo.BalanceInCurrency> balancesInCurrency)