public enum OrderExceptionState extends Enum<OrderExceptionState>
Enum Constant and Description |
---|
MANUAL_CANCEL_TO_COMPLETE |
NONE
None specified
|
REJECTED |
RESOLVED |
TOO_MANY_CANCELED |
TOO_MANY_SHIPPED |
Modifier and Type | Method and Description |
---|---|
static OrderExceptionState |
fromText(String text)
Attempt to retrieve a OrderExceptionState by text value
|
String |
getText()
Get the jet api text
|
static OrderExceptionState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OrderExceptionState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OrderExceptionState NONE
public static final OrderExceptionState TOO_MANY_CANCELED
public static final OrderExceptionState MANUAL_CANCEL_TO_COMPLETE
public static final OrderExceptionState TOO_MANY_SHIPPED
public static final OrderExceptionState REJECTED
public static final OrderExceptionState RESOLVED
public static OrderExceptionState[] values()
for (OrderExceptionState c : OrderExceptionState.values()) System.out.println(c);
public static OrderExceptionState 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 OrderExceptionState fromText(String text) throws IllegalArgumentException
text
- valueIllegalArgumentException
- if text is not foundpublic String getText()
Copyright © 2017. All rights reserved.