public enum BalanceType extends java.lang.Enum<BalanceType> implements DisplayableObject
| Enum Constant and Description |
|---|
BALANCE
Balance at the end of the register.
|
CLEARED_BALANCE
Balance as cleared through the financial institution.
|
CONFIRMED_BALANCE
Balance excluding unconfirmed downloaded transactions
|
CURRENT_BALANCE
Balance as of today's date.
|
UNCONFIRMED_TOTAL
Total of all unconfirmed transactions
|
| Modifier and Type | Field and Description |
|---|---|
static BalanceType |
DEFAULT
The default balance type to use if none is specified.
|
| Modifier and Type | Method and Description |
|---|---|
static BalanceType |
fromInt(int value)
Given an integer value, return the balance type.
|
java.lang.String |
getConfigKey() |
java.lang.String |
getResourceKey()
Return a resource key for a localized string describing this object.
|
static BalanceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BalanceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BalanceType CURRENT_BALANCE
public static final BalanceType BALANCE
public static final BalanceType CLEARED_BALANCE
public static final BalanceType CONFIRMED_BALANCE
public static final BalanceType UNCONFIRMED_TOTAL
public static final BalanceType DEFAULT
public static BalanceType[] values()
for (BalanceType c : BalanceType.values()) System.out.println(c);
public static BalanceType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getResourceKey()
DisplayableObjectgetResourceKey in interface DisplayableObjectpublic java.lang.String getConfigKey()
public static BalanceType fromInt(int value)
CURRENT_BALANCE is
returned.value - The integer value to convert.