Package com.thalesgroup.gemalto.d1.d1pay
Enum D1PaymentExperience
- java.lang.Object
-
- java.lang.Enum<D1PaymentExperience>
-
- com.thalesgroup.gemalto.d1.d1pay.D1PaymentExperience
-
- All Implemented Interfaces:
Serializable
,Comparable<D1PaymentExperience>
public enum D1PaymentExperience extends Enum<D1PaymentExperience>
D1 Pay Payment Experience Application can set to have ONE_TAP_ENABLED (default) or TWO_TAP_ALWAYS experience.- Since:
- 2.3.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ONE_TAP_ENABLED
Payment experience allowing one or two taps according to the card profile and end user authentication state.TWO_TAP_ALWAYS
Payment experience in two taps always requires end user authentication.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static D1PaymentExperience
valueOf(String name)
Returns the enum constant of this type with the specified name.static D1PaymentExperience[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ONE_TAP_ENABLED
public static final D1PaymentExperience ONE_TAP_ENABLED
Payment experience allowing one or two taps according to the card profile and end user authentication state. This option is the default payment experience on the SDK. When end user is authenticated prior tapping on the POS terminal, payment could be performed in one tap. Use this option to support one tap payment including HVT (high-Value transaction) with pre-entry (device-unlock) or LVT (low-value transaction) and transit transaction without authentication.
-
TWO_TAP_ALWAYS
public static final D1PaymentExperience TWO_TAP_ALWAYS
Payment experience in two taps always requires end user authentication. After the first tap on POS terminal, end user will have to authenticate and then tap the 2nd time to complete the transaction.
-
-
Method Detail
-
values
public static D1PaymentExperience[] 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 (D1PaymentExperience c : D1PaymentExperience.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static D1PaymentExperience 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
-
-