public enum CardAction extends Enum<CardAction>
Enum Constant and Description |
---|
DELETE
Action to delete the given card.
|
RESUME
Action to re-activate the given card.
|
SUSPEND
Action to suspend the given card.
|
Modifier and Type | Method and Description |
---|---|
static CardAction |
fromString(String val)
Internal usage for conversion from/to D1Core SDK
|
String |
toString()
Internal usage for conversion from/to D1Core SDK
|
static CardAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CardAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CardAction RESUME
public static final CardAction SUSPEND
public static final CardAction DELETE
public static CardAction[] values()
for (CardAction c : CardAction.values()) System.out.println(c);
public static CardAction valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null@Nullable public static CardAction fromString(String val)
@NonNull public String toString()
toString
in class Enum<CardAction>