Package com.checkout.sessions
Enum ShippingIndicator
- java.lang.Object
-
- java.lang.Enum<ShippingIndicator>
-
- com.checkout.sessions.ShippingIndicator
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ShippingIndicator>
public enum ShippingIndicator extends java.lang.Enum<ShippingIndicator>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANOTHER_ADDRESS_ON_FILEBILLING_ADDRESSDIGITAL_GOODSNOT_ON_FILEOTHERSTORE_PICK_UPTRAVEL_AND_EVENT_NO_SHIPPING
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ShippingIndicatorvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ShippingIndicator[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BILLING_ADDRESS
@SerializedName("billing_address") public static final ShippingIndicator BILLING_ADDRESS
-
ANOTHER_ADDRESS_ON_FILE
@SerializedName("another_address_on_file") public static final ShippingIndicator ANOTHER_ADDRESS_ON_FILE
-
NOT_ON_FILE
@SerializedName("not_on_file") public static final ShippingIndicator NOT_ON_FILE
-
STORE_PICK_UP
@SerializedName("store_pick_up") public static final ShippingIndicator STORE_PICK_UP
-
DIGITAL_GOODS
@SerializedName("digital_goods") public static final ShippingIndicator DIGITAL_GOODS
-
TRAVEL_AND_EVENT_NO_SHIPPING
@SerializedName("travel_and_event_no_shipping") public static final ShippingIndicator TRAVEL_AND_EVENT_NO_SHIPPING
-
OTHER
@SerializedName("other") public static final ShippingIndicator OTHER
-
-
Method Detail
-
values
public static ShippingIndicator[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ShippingIndicator c : ShippingIndicator.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ShippingIndicator valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-