Enum Class PaymentExperience

java.lang.Object
java.lang.Enum<PaymentExperience>
com.gemalto.mfs.mwsdk.payment.experience.PaymentExperience
All Implemented Interfaces:
Serializable, Comparable<PaymentExperience>, Constable

public enum PaymentExperience extends Enum<PaymentExperience>
PaymentExperience enum class gives the information to the MPA whether the device is capable of performing one tap or two taps payment experience
Since:
6.3.0
See Also:
  • Enum Constant Details

    • ONE_TAP_REQUIRES_SDK_INITIALIZED

      public static final PaymentExperience ONE_TAP_REQUIRES_SDK_INITIALIZED
      Payment experience allowing one or two taps according to card profile and end user authentication which required SDK to be initialized beforehand. This is the default payment experience.
    • ONE_TAP_ENABLED

      public static final PaymentExperience ONE_TAP_ENABLED
      Payment experience allowing one or two taps according to card profile and end user authentication without SDK initialized beforehand. For example when end user is authenticated prior tapping on the POS terminal, payment could be performed in one tap even if SDK was not initialized beforehand.
    • TWO_TAP_ALWAYS

      public static final PaymentExperience TWO_TAP_ALWAYS
      Payment experience in two taps always regardless to card profile and 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 Details

    • values

      public static PaymentExperience[] 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

      public static PaymentExperience valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      String representation of the Enum.
      Overrides:
      toString in class Enum<PaymentExperience>
      Returns:
      String representation of the Enum.