Package com.thalesgroup.gemalto.d1.card
Enum Class CardAction
- All Implemented Interfaces:
Serializable,Comparable<CardAction>,java.lang.constant.Constable
Enumeration type for Card Action that is used to update the card status.
- Since:
- 1.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic CardActionfromString(String val) Converts from String to CardAction.toString()Returns the value as String.static CardActionReturns the enum constant of this class with the specified name.static CardAction[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
RESUME
Action to reactivate the given card. -
SUSPEND
Action to suspend the given card. -
DELETE
Action to delete the given card.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
fromString
Converts from String to CardAction. -
toString
Returns the value as String.- Overrides:
toStringin classEnum<CardAction>
-