public enum AckStatus extends Enum<AckStatus>
Enum Constant and Description |
---|
ACCEPTED
All items in the order will be shipped
|
NONE
None specified
|
REJECTED_ADDRESS
The address is invalid
|
REJECTED_FRAUD
Jet detected fraud
|
REJECTED_ITEM
The error occurred at the item level
|
REJECTED_LOCATION
The ship to location is invalid
|
REJECTED_METHOD
The address does not support the desired shipping method
|
REJECTED_OTHER
Some unknown reason
|
Modifier and Type | Method and Description |
---|---|
static AckStatus |
fromText(String text)
Attempt to retrieve a AckStatus by text value
|
String |
getText()
Get the jet api text
|
String |
toString() |
static AckStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AckStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AckStatus NONE
public static final AckStatus REJECTED_OTHER
public static final AckStatus REJECTED_FRAUD
public static final AckStatus REJECTED_ITEM
public static final AckStatus REJECTED_LOCATION
public static final AckStatus REJECTED_METHOD
public static final AckStatus REJECTED_ADDRESS
public static final AckStatus ACCEPTED
public static AckStatus[] values()
for (AckStatus c : AckStatus.values()) System.out.println(c);
public static AckStatus 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 AckStatus fromText(String text) throws IllegalArgumentException
text
- valueIllegalArgumentException
- if text is not foundpublic String getText()
Copyright © 2017. All rights reserved.