Package com.adyen.model.storedvalue
Enum StoredValueStatusChangeRequest.StatusEnum
- java.lang.Object
-
- java.lang.Enum<StoredValueStatusChangeRequest.StatusEnum>
-
- com.adyen.model.storedvalue.StoredValueStatusChangeRequest.StatusEnum
-
- All Implemented Interfaces:
Serializable,Comparable<StoredValueStatusChangeRequest.StatusEnum>
- Enclosing class:
- StoredValueStatusChangeRequest
public static enum StoredValueStatusChangeRequest.StatusEnum extends Enum<StoredValueStatusChangeRequest.StatusEnum>
The status you want to change to
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StoredValueStatusChangeRequest.StatusEnumfromValue(String value)StringgetValue()StringtoString()static StoredValueStatusChangeRequest.StatusEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static StoredValueStatusChangeRequest.StatusEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACTIVE
public static final StoredValueStatusChangeRequest.StatusEnum ACTIVE
-
INACTIVE
public static final StoredValueStatusChangeRequest.StatusEnum INACTIVE
-
-
Method Detail
-
values
public static StoredValueStatusChangeRequest.StatusEnum[] 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 (StoredValueStatusChangeRequest.StatusEnum c : StoredValueStatusChangeRequest.StatusEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StoredValueStatusChangeRequest.StatusEnum 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<StoredValueStatusChangeRequest.StatusEnum>
-
fromValue
public static StoredValueStatusChangeRequest.StatusEnum fromValue(String value)
-
-