Package com.thalesgroup.gemalto.d1.card
Enum CardDigitizationState
- java.lang.Object
-
- java.lang.Enum<CardDigitizationState>
-
- com.thalesgroup.gemalto.d1.card.CardDigitizationState
-
- All Implemented Interfaces:
Serializable
,Comparable<CardDigitizationState>
public enum CardDigitizationState extends Enum<CardDigitizationState>
Indicates the card state.- Since:
- 1.0.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DIGITIZATION_IN_PROGRESS
D1 Pay & Samsung Pay only. Card digitization in progress.DIGITIZED
Card has been digitized.NOT_DIGITIZED
Card has not been digitized.PENDING_IDV
Card has been digitized but it has not been activated.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CardDigitizationState
valueOf(String name)
Returns the enum constant of this type with the specified name.static CardDigitizationState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DIGITIZED
public static final CardDigitizationState DIGITIZED
Card has been digitized.Application should not show the Add to Wallet button (for example, Add to Google Pay button).
- For more information on Google Pay, refer to Google Pay - Brand guidelines
-
NOT_DIGITIZED
public static final CardDigitizationState NOT_DIGITIZED
Card has not been digitized.Application should show the Add to Wallet button (for example, Add to Google Pay button).
- For more information on Google Pay, refer to Google Pay - Brand guidelines
-
PENDING_IDV
public static final CardDigitizationState PENDING_IDV
Card has been digitized but it has not been activated.Step up authentication with the bank application (Yellow Flow In-App Verification Verification) is required for the card.
-
DIGITIZATION_IN_PROGRESS
public static final CardDigitizationState DIGITIZATION_IN_PROGRESS
D1 Pay & Samsung Pay only. Card digitization in progress. Application simply need to wait for activation to be pushed to Device in a moment.- Since:
- 2.0.0
-
-
Method Detail
-
values
public static CardDigitizationState[] 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 (CardDigitizationState c : CardDigitizationState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CardDigitizationState valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-