Enum Class InvoiceStatus

java.lang.Object
java.lang.Enum<InvoiceStatus>
sk.iway.iwcm.components.basket.jpa.InvoiceStatus
Record Components:
value - the integer value associated with the invoice status
All Implemented Interfaces:
Serializable, Comparable<InvoiceStatus>, Constable

public enum InvoiceStatus extends Enum<InvoiceStatus>
Enum representing the status of an invoice.

This enum is used to represent various states of an invoice in the system. Each status is associated with a specific integer value.

  • Enum Constant Details

    • INVOICE_STATUS_UNKNOWN

      public static final InvoiceStatus INVOICE_STATUS_UNKNOWN
    • INVOICE_STATUS_NEW

      public static final InvoiceStatus INVOICE_STATUS_NEW
    • INVOICE_STATUS_PAID

      public static final InvoiceStatus INVOICE_STATUS_PAID
    • INVOICE_STATUS_CANCELLED

      public static final InvoiceStatus INVOICE_STATUS_CANCELLED
    • INVOICE_STATUS_PARTIALLY_PAID

      public static final InvoiceStatus INVOICE_STATUS_PARTIALLY_PAID
    • INVOICE_STATUS_ISSUED

      public static final InvoiceStatus INVOICE_STATUS_ISSUED
    • INVOICE_STATUS_DEPOSIT_PAID

      public static final InvoiceStatus INVOICE_STATUS_DEPOSIT_PAID
  • Method Details

    • values

      public static InvoiceStatus[] 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 InvoiceStatus 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
    • getValue

      public int getValue()
    • fromValue

      public static InvoiceStatus fromValue(Integer value)