Package velox.api.layer1.data
Class BalanceInfoBuilder
java.lang.Object
velox.api.layer1.data.BalanceInfoBuilder
Builder for
BalanceInfo - see corresponding javadoc for information
about the fields.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Deprecated.setAccountId(String accountId) Indicate which account the balance is for.setAccountName(String accountName) Deprecated.UsesetAccountId(String)insteadsetBalancesInCurrency(ArrayList<BalanceInfo.BalanceInCurrency> balancesInCurrency) updateBalanceInCurrency(BalanceInfo.BalanceInCurrency balanceInCurrency)
-
Constructor Details
-
BalanceInfoBuilder
public BalanceInfoBuilder()
-
-
Method Details
-
build
-
updateBalanceInCurrency
-
getAccountName
Deprecated.UsegetAccountId()()} instead- Returns:
- account name (displayed account name)
-
setAccountName
Deprecated.UsesetAccountId(String)instead -
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
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
-
setBalancesInCurrency
public BalanceInfoBuilder setBalancesInCurrency(ArrayList<BalanceInfo.BalanceInCurrency> balancesInCurrency)
-
getAccountId()()} instead