java.lang.Object
java.lang.Enum<Reason>
com.thalesgroup.gemalto.d1.digitalcard.stepup.Reason
All Implemented Interfaces:
Serializable, Comparable<Reason>, java.lang.constant.Constable

public enum Reason extends Enum<Reason>
The reason associated with step-up verification.
Since:
4.6.0
  • Enum Constant Details

    • PROVISION

      public static final Reason PROVISION
      Step-up verification is required for provisioning a new digital card.
    • BIND

      public static final Reason BIND
      Step-up verification is required for binding a device to a digital card.
    • VERIFICATION

      public static final Reason VERIFICATION
      Step-up verification is required for cardholder verification.
  • Method Details

    • values

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

      @NonNull public String toString()
      Returns the corresponding stable reason code.
      Overrides:
      toString in class Enum<Reason>
      Returns:
      The reason code value.