Package com.adyen.model.dataprotection
Enum SubjectErasureResponse.ResultEnum
- java.lang.Object
-
- java.lang.Enum<SubjectErasureResponse.ResultEnum>
-
- com.adyen.model.dataprotection.SubjectErasureResponse.ResultEnum
-
- All Implemented Interfaces:
Serializable,Comparable<SubjectErasureResponse.ResultEnum>
- Enclosing class:
- SubjectErasureResponse
public static enum SubjectErasureResponse.ResultEnum extends Enum<SubjectErasureResponse.ResultEnum>
The result of this operation.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVE_RECURRING_TOKEN_EXISTSALREADY_PROCESSEDPAYMENT_NOT_FOUNDSUCCESS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SubjectErasureResponse.ResultEnumfromValue(String value)StringgetValue()StringtoString()static SubjectErasureResponse.ResultEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static SubjectErasureResponse.ResultEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACTIVE_RECURRING_TOKEN_EXISTS
public static final SubjectErasureResponse.ResultEnum ACTIVE_RECURRING_TOKEN_EXISTS
-
ALREADY_PROCESSED
public static final SubjectErasureResponse.ResultEnum ALREADY_PROCESSED
-
PAYMENT_NOT_FOUND
public static final SubjectErasureResponse.ResultEnum PAYMENT_NOT_FOUND
-
SUCCESS
public static final SubjectErasureResponse.ResultEnum SUCCESS
-
-
Method Detail
-
values
public static SubjectErasureResponse.ResultEnum[] 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 (SubjectErasureResponse.ResultEnum c : SubjectErasureResponse.ResultEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SubjectErasureResponse.ResultEnum 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<SubjectErasureResponse.ResultEnum>
-
fromValue
public static SubjectErasureResponse.ResultEnum fromValue(String value)
-
-