Enum Class OtpStatus

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

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

    • CANCELED

      public static final OtpStatus CANCELED
    • EXPIRED

      public static final OtpStatus EXPIRED
    • PENDING

      public static final OtpStatus PENDING
    • PENDING_DELIVERY

      public static final OtpStatus PENDING_DELIVERY
    • PENDING_VERIFICATION

      public static final OtpStatus PENDING_VERIFICATION
    • VERIFIED

      public static final OtpStatus VERIFIED
  • Method Details

    • values

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