com.chargebee.models
Enum Order.Status
java.lang.Object
java.lang.Enum<Order.Status>
com.chargebee.models.Order.Status
- All Implemented Interfaces:
- Serializable, Comparable<Order.Status>
- Enclosing class:
- Order
public static enum Order.Status
- extends Enum<Order.Status>
Method Summary |
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. |
NEW
public static final Order.Status NEW
PROCESSING
public static final Order.Status PROCESSING
COMPLETE
public static final Order.Status COMPLETE
CANCELLED
public static final Order.Status CANCELLED
VOIDED
public static final Order.Status VOIDED
_UNKNOWN
public static final Order.Status _UNKNOWN
values
public static Order.Status[] 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 (Order.Status c : Order.Status.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Order.Status 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 name
NullPointerException
- if the argument is null
Copyright © 2016 ChargeBee. All Rights Reserved.