Enum D1PaymentExperience

    • 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 name
        NullPointerException - if the argument is null