Package com.testdroid.api.model
Enum APIAccountService.DeactivateReason
- java.lang.Object
-
- java.lang.Enum<APIAccountService.DeactivateReason>
-
- com.testdroid.api.model.APIAccountService.DeactivateReason
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<APIAccountService.DeactivateReason>
- Enclosing class:
- APIAccountService
public static enum APIAccountService.DeactivateReason extends java.lang.Enum<APIAccountService.DeactivateReason>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANOTHER_PURCHASE
CANCEL
CHARGE_FAILURE
INITIAL_FAILURE
SCA_FAILURE
SUSPENDED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static APIAccountService.DeactivateReason
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static APIAccountService.DeactivateReason[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INITIAL_FAILURE
public static final APIAccountService.DeactivateReason INITIAL_FAILURE
-
SCA_FAILURE
public static final APIAccountService.DeactivateReason SCA_FAILURE
-
CHARGE_FAILURE
public static final APIAccountService.DeactivateReason CHARGE_FAILURE
-
CANCEL
public static final APIAccountService.DeactivateReason CANCEL
-
SUSPENDED
public static final APIAccountService.DeactivateReason SUSPENDED
-
ANOTHER_PURCHASE
public static final APIAccountService.DeactivateReason ANOTHER_PURCHASE
-
-
Method Detail
-
values
public static APIAccountService.DeactivateReason[] 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 (APIAccountService.DeactivateReason c : APIAccountService.DeactivateReason.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static APIAccountService.DeactivateReason valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-