Package com.thalesgroup.gemalto.d1.card
Enum Class State
- All Implemented Interfaces:
Serializable,Comparable<State>,java.lang.constant.Constable
Card State
- 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 ConstantsEnum ConstantDescriptionCard is active.Card is deleted.Card is expired.Card is inactive.The token is available in the active wallet but requires additional user authentication for use (in Yellow flow step-up authentication).Virtual Card has been replaced.The token state is not defined. -
Method Summary
Modifier and TypeMethodDescriptionstatic StatefromString(String val) Converts from String to State.toString()Returns the value as String.static StateReturns the enum constant of this class with the specified name.static State[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ACTIVE
Card is active. -
INACTIVE
Card is inactive. -
EXPIRED
Card is expired. -
DELETED
Card is deleted. -
PENDING_IDV
The token is available in the active wallet but requires additional user authentication for use (in Yellow flow step-up authentication). -
UNKNOWN
The token state is not defined. It is used in D1 Pay use cases.Category - D1 Pay API
-
REPLACED
Virtual Card has been replaced.This value only applies for card issued by D1.
- Since:
- 4.0.0
-
-
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 State. -
toString
Returns the value as String.
-