public static enum Shipping.DeliverySpeed extends Enum<Shipping.DeliverySpeed>
Enum Constant and Description |
---|
EXPEDITED |
OVERNIGHT |
SAME_DAY |
STANDARD |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static Shipping.DeliverySpeed |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Shipping.DeliverySpeed[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Shipping.DeliverySpeed SAME_DAY
public static final Shipping.DeliverySpeed OVERNIGHT
public static final Shipping.DeliverySpeed EXPEDITED
public static final Shipping.DeliverySpeed STANDARD
public static Shipping.DeliverySpeed[] values()
for (Shipping.DeliverySpeed c : Shipping.DeliverySpeed.values()) System.out.println(c);
public static Shipping.DeliverySpeed 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<Shipping.DeliverySpeed>
Copyright © 2016 MaxMind, Inc.. All rights reserved.