public enum UPSServiceType extends Enum<UPSServiceType>
| Enum Constant and Description |
|---|
UPS_2nd_Day_Air |
UPS_2nd_Day_Air_AM |
UPS_3_Day_Select |
UPS_Express_Early_AM |
UPS_Express_Saver |
UPS_Ground |
UPS_Next_Day_Air |
UPS_Next_Day_Air_Saver |
UPS_Standard |
UPS_Worldwide_Expedited |
UPS_Worldwide_Express |
UPS_Worldwide_Express_Plus |
| Modifier and Type | Method and Description |
|---|---|
static UPSServiceType |
getByFullName(String serviceType) |
static UPSServiceType |
getForCode(String code) |
String |
getNameForWorldShip() |
String |
getServiceCode() |
String |
toString() |
static UPSServiceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UPSServiceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UPSServiceType UPS_Next_Day_Air_Saver
public static final UPSServiceType UPS_2nd_Day_Air
public static final UPSServiceType UPS_Ground
public static final UPSServiceType UPS_Standard
public static final UPSServiceType UPS_Express_Early_AM
public static final UPSServiceType UPS_Next_Day_Air
public static final UPSServiceType UPS_Worldwide_Express
public static final UPSServiceType UPS_Worldwide_Expedited
public static final UPSServiceType UPS_3_Day_Select
public static final UPSServiceType UPS_Worldwide_Express_Plus
public static final UPSServiceType UPS_2nd_Day_Air_AM
public static final UPSServiceType UPS_Express_Saver
public static UPSServiceType[] values()
for (UPSServiceType c : UPSServiceType.values()) System.out.println(c);
public static UPSServiceType 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 String toString()
toString in class Enum<UPSServiceType>public String getServiceCode()
public String getNameForWorldShip()
public static UPSServiceType getForCode(String code)
public static UPSServiceType getByFullName(String serviceType)
Copyright © 2018. All rights reserved.