Enum Class OtpPurpose

java.lang.Object
java.lang.Enum<OtpPurpose>
com.inttegro.otp.OtpPurpose
All Implemented Interfaces:
Serializable, Comparable<OtpPurpose>, Constable

public enum OtpPurpose extends Enum<OtpPurpose>
  • Enum Constant Details

    • ACCOUNT_CREATION

      public static final OtpPurpose ACCOUNT_CREATION
    • ACCOUNT_RECOVERY

      public static final OtpPurpose ACCOUNT_RECOVERY
    • EMAIL_VERIFICATION

      public static final OtpPurpose EMAIL_VERIFICATION
    • FINANCIAL_ACCOUNT_VERIFICATION

      public static final OtpPurpose FINANCIAL_ACCOUNT_VERIFICATION
    • PASSWORD_RESET

      public static final OtpPurpose PASSWORD_RESET
    • PAYMENT_CONFIRMATION

      public static final OtpPurpose PAYMENT_CONFIRMATION
    • PAYMENT_METHOD_VERIFICATION

      public static final OtpPurpose PAYMENT_METHOD_VERIFICATION
    • PAYOUT_CONFIRMATION

      public static final OtpPurpose PAYOUT_CONFIRMATION
    • PHONE_VERIFICATION

      public static final OtpPurpose PHONE_VERIFICATION
    • SENSITIVE_ACTION

      public static final OtpPurpose SENSITIVE_ACTION
    • SIGN_IN

      public static final OtpPurpose SIGN_IN
    • TRANSACTION_CONFIRMATION

      public static final OtpPurpose TRANSACTION_CONFIRMATION
    • UNSPECIFIED

      public static final OtpPurpose UNSPECIFIED
  • Method Details

    • values

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