public enum EDeliv extends Enum<EDeliv>
Delivering methods.
| Enum Constant and Description |
|---|
DELIVERING
1, ordinal shot distance delivering, e.g hot pizza delivering.
|
OVERSEAS
3, overseas shipping.
|
PICKUP
0, buyer will pick up by itself or its deliverer.
|
SHIPPING
2, in country shipping.
|
| Modifier and Type | Method and Description |
|---|---|
static EDeliv |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EDeliv[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EDeliv PICKUP
0, buyer will pick up by itself or its deliverer.
public static final EDeliv DELIVERING
1, ordinal shot distance delivering, e.g hot pizza delivering.
public static final EDeliv SHIPPING
2, in country shipping.
public static final EDeliv OVERSEAS
3, overseas shipping.
public static EDeliv[] values()
for (EDeliv c : EDeliv.values()) System.out.println(c);
public static EDeliv 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 nullCopyright © 2019. All rights reserved.