java.lang.Object
java.lang.Enum<Status>
dev.eidentification.bankid.client.model.enums.Status
All Implemented Interfaces:
Serializable, Comparable<Status>, Constable

public enum Status extends Enum<Status>
Represents the status of an order.
  • Enum Constant Details

    • PENDING

      public static final Status PENDING
      The order is being processed. hintCode describes the status of the order.
    • COMPLETE

      public static final Status COMPLETE
      The order is complete. completionData holds user information.
    • FAILED

      public static final Status FAILED
      Something went wrong with the order. hintCode describes the error.
  • Method Details

    • values

      public static Status[] 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 Status 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
    • of

      public static Status of(String code)
    • getCode

      public String getCode()