Enum InvoiceStatus
- java.lang.Object
-
- java.lang.Enum<InvoiceStatus>
-
- no.digipost.api.useragreements.client.InvoiceStatus
-
- All Implemented Interfaces:
Serializable,Comparable<InvoiceStatus>
public enum InvoiceStatus extends Enum<InvoiceStatus>
-
-
Field Summary
Fields Modifier and Type Field Description static StringQUERY_PARAM_NAME
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetStatus()static InvoiceStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static InvoiceStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNPAID
public static final InvoiceStatus UNPAID
-
PAID
public static final InvoiceStatus PAID
-
DELETED
public static final InvoiceStatus DELETED
-
-
Field Detail
-
QUERY_PARAM_NAME
public static final String QUERY_PARAM_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static InvoiceStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (InvoiceStatus c : InvoiceStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InvoiceStatus valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
getStatus
public String getStatus()
-
-