Package model
Enum PaymentInstrument.AccountTypeEnum
- java.lang.Object
-
- java.lang.Enum<PaymentInstrument.AccountTypeEnum>
-
- model.PaymentInstrument.AccountTypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<PaymentInstrument.AccountTypeEnum>
- Enclosing class:
- PaymentInstrument
public static enum PaymentInstrument.AccountTypeEnum extends Enum<PaymentInstrument.AccountTypeEnum>
Details what kind of **BANK_ACCOUNT** is being used.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPaymentInstrument.AccountTypeEnum.Adapter
-
Enum Constant Summary
Enum Constants Enum Constant Description CHECKINGCORP_SAVINGSCORPORATESAVINGSUNKNOWN_DEFAULT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PaymentInstrument.AccountTypeEnumfromValue(String value)StringgetRawValue()StringgetValue()voidsetRawValue(String s)StringtoString()static PaymentInstrument.AccountTypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static PaymentInstrument.AccountTypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CHECKING
public static final PaymentInstrument.AccountTypeEnum CHECKING
-
SAVINGS
public static final PaymentInstrument.AccountTypeEnum SAVINGS
-
CORPORATE
public static final PaymentInstrument.AccountTypeEnum CORPORATE
-
CORP_SAVINGS
public static final PaymentInstrument.AccountTypeEnum CORP_SAVINGS
-
UNKNOWN_DEFAULT
public static final PaymentInstrument.AccountTypeEnum UNKNOWN_DEFAULT
-
-
Method Detail
-
values
public static PaymentInstrument.AccountTypeEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PaymentInstrument.AccountTypeEnum c : PaymentInstrument.AccountTypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PaymentInstrument.AccountTypeEnum valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toStringin classEnum<PaymentInstrument.AccountTypeEnum>
-
setRawValue
public void setRawValue(String s)
-
getRawValue
public String getRawValue()
-
fromValue
public static PaymentInstrument.AccountTypeEnum fromValue(String value)
-
-