public enum InvoiceState extends Enum<InvoiceState>
| Enum Constant and Description |
|---|
CLOSED |
COLLECTED |
FAILED |
OPEN |
PAID |
PAST_DUE |
PENDING |
PROCESSING |
VOIDED |
| Modifier and Type | Method and Description |
|---|---|
String |
getType() |
static InvoiceState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InvoiceState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InvoiceState OPEN
public static final InvoiceState FAILED
public static final InvoiceState COLLECTED
public static final InvoiceState PAST_DUE
public static final InvoiceState PENDING
public static final InvoiceState PAID
public static final InvoiceState CLOSED
public static final InvoiceState VOIDED
public static final InvoiceState PROCESSING
public static InvoiceState[] values()
for (InvoiceState c : InvoiceState.values()) System.out.println(c);
public static InvoiceState valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2012-2020. All Rights Reserved.