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.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)From value stored value transaction type.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
public static final StoredValueTransactionType RESERVE
Reserve the account (e.g. get an activation code)
-
ACTIVATE
public static final StoredValueTransactionType ACTIVATE
Activate the account or the card
-
LOAD
public static final StoredValueTransactionType LOAD
Load the account or the card with money
-
UNLOAD
public static final StoredValueTransactionType UNLOAD
Unload the account
-
REVERSE
public static final StoredValueTransactionType REVERSE
Reverse an activation or loading.
-
DUPLICATE
public static final StoredValueTransactionType DUPLICATE
Duplicate 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)
From value stored value transaction type.- Parameters:
v- the v- Returns:
- the stored value transaction type
-
-