public enum OptionalAddressFields extends java.lang.Enum<OptionalAddressFields>
| Enum Constant and Description |
|---|
ADDRESS_LINE_2 |
CITY |
COUNTRY |
NEIGHBORHOOD |
PO_BOX |
REGION |
ZIP |
| Modifier and Type | Method and Description |
|---|---|
static OptionalAddressFields |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OptionalAddressFields[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OptionalAddressFields ADDRESS_LINE_2
public static final OptionalAddressFields NEIGHBORHOOD
public static final OptionalAddressFields PO_BOX
public static final OptionalAddressFields ZIP
public static final OptionalAddressFields CITY
public static final OptionalAddressFields REGION
public static final OptionalAddressFields COUNTRY
public static OptionalAddressFields[] values()
for (OptionalAddressFields c : OptionalAddressFields.values()) System.out.println(c);
public static OptionalAddressFields 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