public class BalanceInformation extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
BalanceInformation.Builder
Class to build instances of
BalanceInformation. |
| Constructor and Description |
|---|
BalanceInformation()
Default constructor.
|
BalanceInformation(String currency,
Money totalBalance,
Boolean primary,
Money availableBalance,
Money withheldBalance)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Money |
getAvailableBalance()
Getter for AvailableBalance.
|
String |
getCurrency()
Getter for Currency.
|
Boolean |
getPrimary()
Getter for Primary.
|
Money |
getTotalBalance()
Getter for TotalBalance.
|
Money |
getWithheldBalance()
Getter for WithheldBalance.
|
void |
setAvailableBalance(Money availableBalance)
Setter for AvailableBalance.
|
void |
setCurrency(String currency)
Setter for Currency.
|
void |
setPrimary(Boolean primary)
Setter for Primary.
|
void |
setTotalBalance(Money totalBalance)
Setter for TotalBalance.
|
void |
setWithheldBalance(Money withheldBalance)
Setter for WithheldBalance.
|
BalanceInformation.Builder |
toBuilder()
Builds a new
BalanceInformation.Builder object. |
String |
toString()
Converts this BalanceInformation into string format.
|
public BalanceInformation()
public BalanceInformation(String currency, Money totalBalance, Boolean primary, Money availableBalance, Money withheldBalance)
currency - String value for currency.totalBalance - Money value for totalBalance.primary - Boolean value for primary.availableBalance - Money value for availableBalance.withheldBalance - Money value for withheldBalance.public String getCurrency()
public void setCurrency(String currency)
currency - Value for Stringpublic Boolean getPrimary()
public void setPrimary(Boolean primary)
primary - Value for Booleanpublic Money getTotalBalance()
public void setTotalBalance(Money totalBalance)
totalBalance - Value for Moneypublic Money getAvailableBalance()
public void setAvailableBalance(Money availableBalance)
availableBalance - Value for Moneypublic Money getWithheldBalance()
public void setWithheldBalance(Money withheldBalance)
withheldBalance - Value for Moneypublic String toString()
public BalanceInformation.Builder toBuilder()
BalanceInformation.Builder object.
Creates the instance with the state of the current model.BalanceInformation.Builder objectCopyright © 2026. All rights reserved.