Package com.checkout.issuing.cardholders
Enum CardholderStatus
- java.lang.Object
-
- java.lang.Enum<CardholderStatus>
-
- com.checkout.issuing.cardholders.CardholderStatus
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<CardholderStatus>
public enum CardholderStatus extends java.lang.Enum<CardholderStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVEINACTIVEPENDINGREJECTEDREQUIREMENTS_DUERESTRICTED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CardholderStatusvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CardholderStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACTIVE
@SerializedName("active") public static final CardholderStatus ACTIVE
-
PENDING
@SerializedName("pending") public static final CardholderStatus PENDING
-
RESTRICTED
@SerializedName("restricted") public static final CardholderStatus RESTRICTED
-
REQUIREMENTS_DUE
@SerializedName("requirements_due") public static final CardholderStatus REQUIREMENTS_DUE
-
INACTIVE
@SerializedName("inactive") public static final CardholderStatus INACTIVE
-
REJECTED
@SerializedName("rejected") public static final CardholderStatus REJECTED
-
-
Method Detail
-
values
public static CardholderStatus[] 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 (CardholderStatus c : CardholderStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CardholderStatus 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
-
-