public enum ShippingPackageCodeType extends java.lang.Enum<ShippingPackageCodeType>
Java class for ShippingPackageCodeType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ShippingPackageCodeType">
<restriction base="{http://www.w3.org/2001/XMLSchema}token">
<enumeration value="None"/>
<enumeration value="Letter"/>
<enumeration value="LargeEnvelope"/>
<enumeration value="USPSLargePack"/>
<enumeration value="VeryLargePack"/>
<enumeration value="UPSLetter"/>
<enumeration value="USPSFlatRateEnvelope"/>
<enumeration value="PackageThickEnvelope"/>
<enumeration value="CustomCode"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
CUSTOM_CODE
Reserved for internal or future use.
|
LARGE_ENVELOPE
LargeEnvelope
|
LETTER
Letter.
|
NONE
None.
|
PACKAGE_THICK_ENVELOPE
Package/thick envelope
|
UPS_LETTER
UPS Letter
|
USPS_FLAT_RATE_ENVELOPE
USPS Flat Rate Envelope
|
USPS_LARGE_PACK
USPS Large Package/Oversize 1
|
VERY_LARGE_PACK
Very Large Package/Oversize 2
|
| Modifier and Type | Method and Description |
|---|---|
static ShippingPackageCodeType |
fromValue(java.lang.String v) |
java.lang.String |
value() |
static ShippingPackageCodeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ShippingPackageCodeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ShippingPackageCodeType NONE
public static final ShippingPackageCodeType LETTER
public static final ShippingPackageCodeType LARGE_ENVELOPE
public static final ShippingPackageCodeType USPS_LARGE_PACK
public static final ShippingPackageCodeType VERY_LARGE_PACK
public static final ShippingPackageCodeType UPS_LETTER
public static final ShippingPackageCodeType USPS_FLAT_RATE_ENVELOPE
public static final ShippingPackageCodeType PACKAGE_THICK_ENVELOPE
public static final ShippingPackageCodeType CUSTOM_CODE
public static ShippingPackageCodeType[] values()
for (ShippingPackageCodeType c : ShippingPackageCodeType.values()) System.out.println(c);
public static ShippingPackageCodeType 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 value()
public static ShippingPackageCodeType fromValue(java.lang.String v)
stSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.