Package com.adyen.model.nexo
Enum AccountType
- java.lang.Object
-
- java.lang.Enum<AccountType>
-
- com.adyen.model.nexo.AccountType
-
- All Implemented Interfaces:
Serializable,Comparable<AccountType>
public enum AccountType extends Enum<AccountType>
Java class for AccountType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="AccountType"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="Default"/> <enumeration value="Savings"/> <enumeration value="Checking"/> <enumeration value="CreditCard"/> <enumeration value="Universal"/> <enumeration value="Investment"/> <enumeration value="CardTotals"/> <enumeration value="EpurseCard"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CARD_TOTALSCard totalsCHECKINGChecking accountCREDIT_CARDCredit card accountDEFAULTDefault accountEPURSE_CARDe-Purse card accountINVESTMENTInvestment accountSAVINGSSavings accountUNIVERSALUniversal account
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AccountTypefromValue(String v)From value account type.Stringvalue()Value string.static AccountTypevalueOf(String name)Returns the enum constant of this type with the specified name.static AccountType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEFAULT
public static final AccountType DEFAULT
Default account
-
SAVINGS
public static final AccountType SAVINGS
Savings account
-
CHECKING
public static final AccountType CHECKING
Checking account
-
CREDIT_CARD
public static final AccountType CREDIT_CARD
Credit card account
-
UNIVERSAL
public static final AccountType UNIVERSAL
Universal account
-
INVESTMENT
public static final AccountType INVESTMENT
Investment account
-
CARD_TOTALS
public static final AccountType CARD_TOTALS
Card totals
-
EPURSE_CARD
public static final AccountType EPURSE_CARD
e-Purse card account
-
-
Method Detail
-
values
public static AccountType[] 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 (AccountType c : AccountType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AccountType 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
-
value
public String value()
Value string.- Returns:
- the string
-
fromValue
public static AccountType fromValue(String v)
From value account type.- Parameters:
v- the v- Returns:
- the account type
-
-