public enum ShippingMethod extends Enum<ShippingMethod>
Modifier and Type | Method and Description |
---|---|
static ShippingMethod |
fromText(String text)
Attempt to create a ShipExceptionType by text value
|
String |
getText()
Retrieve the jet text for the shipping method.
|
String |
toString() |
static ShippingMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ShippingMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ShippingMethod NONE
public static final ShippingMethod STANDARD_FREIGHT
public static final ShippingMethod DHL_GLOBAL
public static final ShippingMethod FEDEX_2_DAY
public static final ShippingMethod FEDEX_EXPRESS_SAVER
public static final ShippingMethod FEDEX_FIRST_OVERNIGHT
public static final ShippingMethod FEDEX_GROUND
public static final ShippingMethod FEDEX_HOME
public static final ShippingMethod FEDEX_PRI_OVERNIGHT
public static final ShippingMethod FEDEX_SMART
public static final ShippingMethod FEDEX_STD_OVERNIGHT
public static final ShippingMethod FEDEX_FREIGHT
public static final ShippingMethod ONTRAC_GROUND
public static final ShippingMethod UPS_2_DAY_AM
public static final ShippingMethod UPS_2_DAY
public static final ShippingMethod UPS_3_DAY
public static final ShippingMethod UPS_GROUND
public static final ShippingMethod UPS_MAIL
public static final ShippingMethod UPS_NEXT_DAY_SAVER
public static final ShippingMethod UPS_NEXT_DAY
public static final ShippingMethod UPS_SUREPOST
public static final ShippingMethod UPS_FIRST_CLASS_MAIL
public static final ShippingMethod UPS_MEDIA_MAIL
public static final ShippingMethod USPS_EXPRESS
public static final ShippingMethod USPS_PRIORITY
public static final ShippingMethod USPS_STANDARD
public static ShippingMethod[] values()
for (ShippingMethod c : ShippingMethod.values()) System.out.println(c);
public static ShippingMethod 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 nullpublic static ShippingMethod fromText(String text) throws IllegalArgumentException
text
- valueIllegalArgumentException
- if text is not foundpublic String getText()
public String toString()
toString
in class Enum<ShippingMethod>
Copyright © 2017. All rights reserved.