public static enum AccountLedger.LedgerHolding extends java.lang.Enum<AccountLedger.LedgerHolding>
| Enum Constant and Description | 
|---|
| ASSET_BALANCE | 
| CURRENCY_BALANCE | 
| NXT_BALANCE | 
| UNCONFIRMED_ASSET_BALANCE | 
| UNCONFIRMED_CURRENCY_BALANCE | 
| UNCONFIRMED_NXT_BALANCE | 
| Modifier and Type | Method and Description | 
|---|---|
| static AccountLedger.LedgerHolding | fromCode(int code)Get the holding from the holding code | 
| int | getCode()Return the holding code | 
| boolean | isUnconfirmed()Check if the holding is unconfirmed | 
| static AccountLedger.LedgerHolding | valueOf(java.lang.String name)Returns the enum constant of this type with the specified name. | 
| static AccountLedger.LedgerHolding[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final AccountLedger.LedgerHolding UNCONFIRMED_NXT_BALANCE
public static final AccountLedger.LedgerHolding NXT_BALANCE
public static final AccountLedger.LedgerHolding UNCONFIRMED_ASSET_BALANCE
public static final AccountLedger.LedgerHolding ASSET_BALANCE
public static final AccountLedger.LedgerHolding UNCONFIRMED_CURRENCY_BALANCE
public static final AccountLedger.LedgerHolding CURRENCY_BALANCE
public static AccountLedger.LedgerHolding[] values()
for (AccountLedger.LedgerHolding c : AccountLedger.LedgerHolding.values()) System.out.println(c);
public static AccountLedger.LedgerHolding 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 boolean isUnconfirmed()
public int getCode()
public static AccountLedger.LedgerHolding fromCode(int code)
code - Holding code