public enum ReceiptStatus extends java.lang.Enum<ReceiptStatus>
Java class for receiptStatus.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="receiptStatus">
<restriction base="{http://www.w3.org/2001/XMLSchema}token">
<enumeration value="DRAFT"/>
<enumeration value="SUBMITTED"/>
<enumeration value="AUTHORISED"/>
<enumeration value="VOIDED"/>
<enumeration value="DELETED"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
AUTHORISED |
DELETED |
DRAFT
Draft
|
SUBMITTED
Submitted
|
VOIDED |
| Modifier and Type | Method and Description |
|---|---|
static ReceiptStatus |
fromValue(java.lang.String v) |
java.lang.String |
value() |
static ReceiptStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ReceiptStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReceiptStatus DRAFT
public static final ReceiptStatus SUBMITTED
public static final ReceiptStatus AUTHORISED
public static final ReceiptStatus VOIDED
public static final ReceiptStatus DELETED
public static ReceiptStatus[] values()
for (ReceiptStatus c : ReceiptStatus.values()) System.out.println(c);
public static ReceiptStatus valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String value()
public static ReceiptStatus fromValue(java.lang.String v)