public static enum Order.Status extends Enum<Order.Status>
| Enum Constant and Description |
|---|
ACTIVE
A new or active order.
|
FINISHED
A non recurring purchase order that has been completed.
|
ISSUE
Set by system if there is an overdue payment.
|
SUSPENDED
Either creditor or debtor has paused the execution.
|
TRIALING
A service or subscription in trialing state, a trial run.
|
| Modifier and Type | Method and Description |
|---|---|
static Order.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Order.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Order.Status TRIALING
public static final Order.Status ACTIVE
public static final Order.Status SUSPENDED
public static final Order.Status ISSUE
public static final Order.Status FINISHED
public static Order.Status[] values()
for (Order.Status c : Order.Status.values()) System.out.println(c);
public static Order.Status 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 © 2020. All rights reserved.