public enum XPFOrderStatusEnum extends Enum<XPFOrderStatusEnum>
Enum Constant and Description |
---|
AWAITING_EXCHANGE
Order awaiting exchange.
|
CANCELLED
Order cancelled.
|
COMPLETED
Order completed.
|
CREATED
Order created.
|
FAILED
Order failed.
|
IN_PROGRESS
Order in progress.
|
ON_HOLD
Order on hold.
|
PARTIALLY_SHIPPED
Order partially shipped.
|
Modifier and Type | Method and Description |
---|---|
static XPFOrderStatusEnum |
fromOrdinal(int ordinal)
Create the order status from ordinal.
|
static XPFOrderStatusEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XPFOrderStatusEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XPFOrderStatusEnum IN_PROGRESS
public static final XPFOrderStatusEnum PARTIALLY_SHIPPED
public static final XPFOrderStatusEnum COMPLETED
public static final XPFOrderStatusEnum ON_HOLD
public static final XPFOrderStatusEnum CANCELLED
public static final XPFOrderStatusEnum AWAITING_EXCHANGE
public static final XPFOrderStatusEnum FAILED
public static final XPFOrderStatusEnum CREATED
public static XPFOrderStatusEnum[] values()
for (XPFOrderStatusEnum c : XPFOrderStatusEnum.values()) System.out.println(c);
public static XPFOrderStatusEnum 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 nullpublic static XPFOrderStatusEnum fromOrdinal(int ordinal)
ordinal
- the ordinalCopyright © 2024. All rights reserved.