public enum ItemAckStatus extends Enum<ItemAckStatus>
Enum Constant and Description |
---|
FULFILLABLE
Can be fulfilled
|
NONE
Not specified
|
NOT_FULFILLABLE
Cannot be fulfilled
The documentation clearly states "nonfulfillable", but
the API is returning "nonfulfillable - no inventory".
|
Modifier and Type | Method and Description |
---|---|
static ItemAckStatus |
fromText(String text)
Attempt to retrieve a ItemAckStatus by text value
|
String |
getText()
Get the jet api text
|
static ItemAckStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ItemAckStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ItemAckStatus NONE
public static final ItemAckStatus FULFILLABLE
public static final ItemAckStatus NOT_FULFILLABLE
public static ItemAckStatus[] values()
for (ItemAckStatus c : ItemAckStatus.values()) System.out.println(c);
public static ItemAckStatus 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 ItemAckStatus fromText(String text) throws IllegalArgumentException
text
- valueIllegalArgumentException
- if text is not foundpublic String getText()
Copyright © 2017. All rights reserved.