public enum ShippingPreference extends java.lang.Enum<ShippingPreference>
| Enum Constant and Description |
|---|
GET_FROM_FILE |
NO_SHIPPING |
SET_PROVIDED_ADDRESS |
| Modifier and Type | Method and Description |
|---|---|
static ShippingPreference |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ShippingPreference[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ShippingPreference NO_SHIPPING
public static final ShippingPreference SET_PROVIDED_ADDRESS
public static final ShippingPreference GET_FROM_FILE
public static ShippingPreference[] values()
for (ShippingPreference c : ShippingPreference.values()) System.out.println(c);
public static ShippingPreference valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null