Package com.adyen.model.nexo
Enum StoredValueTransactionType
- java.lang.Object
-
- java.lang.Enum<StoredValueTransactionType>
-
- com.adyen.model.nexo.StoredValueTransactionType
-
- All Implemented Interfaces:
Serializable,Comparable<StoredValueTransactionType>
public enum StoredValueTransactionType extends Enum<StoredValueTransactionType>
Java class for StoredValueTransactionType.The following schema fragment specifies the expected content contained within this class.
<simpleType name="StoredValueTransactionType"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="Reserve"/> <enumeration value="Activate"/> <enumeration value="Load"/> <enumeration value="Unload"/> <enumeration value="Reverse"/> <enumeration value="Duplicate"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVATEActivate the account or the cardDUPLICATEDuplicate the code or number provided by the loading or activationLOADLoad the account or the card with moneyRESERVEReserve the account (e.g. get an activation code)REVERSEReverse an activation or loading.UNLOADUnload the account
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StoredValueTransactionTypefromValue(String v)Returns the enum constant matching the given string, ornullif no match is found.Stringvalue()Value string.static StoredValueTransactionTypevalueOf(String name)Returns the enum constant of this type with the specified name.static StoredValueTransactionType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RESERVE
@SerializedName("Reserve") public static final StoredValueTransactionType RESERVEReserve the account (e.g. get an activation code)
-
ACTIVATE
@SerializedName("Activate") public static final StoredValueTransactionType ACTIVATEActivate the account or the card
-
LOAD
@SerializedName("Load") public static final StoredValueTransactionType LOADLoad the account or the card with money
-
UNLOAD
@SerializedName("Unload") public static final StoredValueTransactionType UNLOADUnload the account
-
REVERSE
@SerializedName("Reverse") public static final StoredValueTransactionType REVERSEReverse an activation or loading.
-
DUPLICATE
@SerializedName("Duplicate") public static final StoredValueTransactionType DUPLICATEDuplicate the code or number provided by the loading or activation
-
-
Method Detail
-
values
public static StoredValueTransactionType[] 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 (StoredValueTransactionType c : StoredValueTransactionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StoredValueTransactionType 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 StoredValueTransactionType fromValue(String v)
Returns the enum constant matching the given string, ornullif no match is found.- Parameters:
v- string value- Returns:
- the StoredValueTransactionType, or
nullif no match is found.
-
-