public enum CardStatus extends java.lang.Enum<CardStatus>
| Enum Constant and Description |
|---|
ACTIVE |
INACTIVE |
REVOKED |
SUSPENDED |
| Modifier and Type | Method and Description |
|---|---|
static CardStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CardStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="active") public static final CardStatus ACTIVE
@SerializedName(value="inactive") public static final CardStatus INACTIVE
@SerializedName(value="revoked") public static final CardStatus REVOKED
@SerializedName(value="suspended") public static final CardStatus SUSPENDED
public static CardStatus[] values()
for (CardStatus c : CardStatus.values()) System.out.println(c);
public static CardStatus valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null