public enum AddressTypeId extends java.lang.Enum<AddressTypeId>
| Enum Constant and Description |
|---|
Location
A business location, for example a store, warehouse, or office.
|
Marketplace
This location is a marketplace vendor that handles transactions on behalf of the company.
|
Salesperson
A person's address who performs sales tasks for the company remotely from an office.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
static AddressTypeId |
valueOf(int intValue) |
static AddressTypeId |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AddressTypeId[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AddressTypeId Location
public static final AddressTypeId Salesperson
public static final AddressTypeId Marketplace
public static AddressTypeId[] values()
for (AddressTypeId c : AddressTypeId.values()) System.out.println(c);
public static AddressTypeId 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 nullpublic static AddressTypeId valueOf(int intValue)
public int getValue()