public enum UpsPredefinedPackages extends java.lang.Enum<UpsPredefinedPackages> implements PredefinedPackage
| Enum Constant and Description |
|---|
largeExpressBox |
mediumExpressBox |
pak |
pallet |
smallExpressBox |
tube |
ups10kgBox |
ups25kgBox |
upsExpressBox |
upsLetter |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCode() |
static UpsPredefinedPackages |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UpsPredefinedPackages[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UpsPredefinedPackages upsLetter
public static final UpsPredefinedPackages upsExpressBox
public static final UpsPredefinedPackages ups25kgBox
public static final UpsPredefinedPackages ups10kgBox
public static final UpsPredefinedPackages tube
public static final UpsPredefinedPackages pak
public static final UpsPredefinedPackages pallet
public static final UpsPredefinedPackages smallExpressBox
public static final UpsPredefinedPackages mediumExpressBox
public static final UpsPredefinedPackages largeExpressBox
public static UpsPredefinedPackages[] values()
for (UpsPredefinedPackages c : UpsPredefinedPackages.values()) System.out.println(c);
public static UpsPredefinedPackages 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 java.lang.String getCode()
getCode in interface PredefinedPackage