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)Returns the enum constant matching the given string, ornullif no match is found.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
@SerializedName("Default") public static final AccountType DEFAULTDefault account
-
SAVINGS
@SerializedName("Savings") public static final AccountType SAVINGSSavings account
-
CHECKING
@SerializedName("Checking") public static final AccountType CHECKINGChecking account
-
CREDIT_CARD
@SerializedName("CreditCard") public static final AccountType CREDIT_CARDCredit card account
-
UNIVERSAL
@SerializedName("Universal") public static final AccountType UNIVERSALUniversal account
-
INVESTMENT
@SerializedName("Investment") public static final AccountType INVESTMENTInvestment account
-
CARD_TOTALS
@SerializedName("CardTotals") public static final AccountType CARD_TOTALSCard totals
-
EPURSE_CARD
@SerializedName("EpurseCard") public static final AccountType EPURSE_CARDe-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)
Returns the enum constant matching the given string, ornullif no match is found.- Parameters:
v- string value- Returns:
- the AccountType, or
nullif no match is found.
-
-