public enum BalanceType extends Enum<BalanceType>
| Enum Constant and Description |
|---|
FROZEN |
INTEREST |
LOAN |
LOAN_AVAILABLE |
TRADE |
TRANSFER_OUT_AVAILABLE |
| Modifier and Type | Method and Description |
|---|---|
static BalanceType |
lookup(String name) |
String |
toString() |
static BalanceType |
valueOf(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 TRADE
public static final BalanceType FROZEN
public static final BalanceType LOAN
public static final BalanceType INTEREST
public static final BalanceType LOAN_AVAILABLE
public static final BalanceType TRANSFER_OUT_AVAILABLE
public static BalanceType[] values()
for (BalanceType c : BalanceType.values()) System.out.println(c);
public static BalanceType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String toString()
toString in class Enum<BalanceType>public static BalanceType lookup(String name)
Copyright © 2021. All rights reserved.