public static enum BankTransaction.TypeEnum extends Enum<BankTransaction.TypeEnum>
| Enum Constant and Description |
|---|
RECEIVE |
RECEIVE_OVERPAYMENT |
RECEIVE_PREPAYMENT |
RECEIVE_TRANSFER |
SPEND |
SPEND_OVERPAYMENT |
SPEND_PREPAYMENT |
SPEND_TRANSFER |
| Modifier and Type | Method and Description |
|---|---|
static BankTransaction.TypeEnum |
fromValue(String value) |
String |
getValue() |
String |
toString() |
static BankTransaction.TypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BankTransaction.TypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BankTransaction.TypeEnum RECEIVE
public static final BankTransaction.TypeEnum RECEIVE_OVERPAYMENT
public static final BankTransaction.TypeEnum RECEIVE_PREPAYMENT
public static final BankTransaction.TypeEnum SPEND
public static final BankTransaction.TypeEnum SPEND_OVERPAYMENT
public static final BankTransaction.TypeEnum SPEND_PREPAYMENT
public static final BankTransaction.TypeEnum RECEIVE_TRANSFER
public static final BankTransaction.TypeEnum SPEND_TRANSFER
public static BankTransaction.TypeEnum[] values()
for (BankTransaction.TypeEnum c : BankTransaction.TypeEnum.values()) System.out.println(c);
public static BankTransaction.TypeEnum 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 getValue()
public String toString()
toString in class Enum<BankTransaction.TypeEnum>public static BankTransaction.TypeEnum fromValue(String value)
Copyright © 2019. All rights reserved.