public enum OrderStatus extends Enum<OrderStatus>
Java class for OrderStatus.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="OrderStatus">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="DRAFT"/>
<enumeration value="PENDING_APPROVAL"/>
<enumeration value="APPROVED"/>
<enumeration value="DISAPPROVED"/>
<enumeration value="PAUSED"/>
<enumeration value="CANCELED"/>
<enumeration value="DELETED"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
APPROVED
Indicates that the
Order has been approved and is ready to serve. |
CANCELED
Indicates that the
Order has been canceled and cannot serve. |
DELETED
Indicates that the
Order has been deleted by DSM. |
DISAPPROVED
Indicates that the
Order has been disapproved and is not eligible
to serve. |
DRAFT
Indicates that the
Order has just been created but no approval has
been requested yet. |
PAUSED
This is a legacy state.
|
PENDING_APPROVAL
Indicates that a request for approval for the
Order has been made. |
UNKNOWN
The value returned if the actual value is not exposed by the requested API
version.
|
| Modifier and Type | Method and Description |
|---|---|
static OrderStatus |
fromValue(String v) |
String |
value() |
static OrderStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OrderStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OrderStatus DRAFT
Order has just been created but no approval has
been requested yet.public static final OrderStatus PENDING_APPROVAL
Order has been made.public static final OrderStatus APPROVED
Order has been approved and is ready to serve.public static final OrderStatus DISAPPROVED
Order has been disapproved and is not eligible
to serve.public static final OrderStatus PAUSED
LineItemss within the
order.public static final OrderStatus CANCELED
Order has been canceled and cannot serve.public static final OrderStatus DELETED
Order has been deleted by DSM.public static final OrderStatus UNKNOWN
public static OrderStatus[] values()
for (OrderStatus c : OrderStatus.values()) System.out.println(c);
public static OrderStatus 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 String value()
public static OrderStatus fromValue(String v)
Copyright © 2018. All Rights Reserved.