public enum GiftServicesCodeType extends java.lang.Enum<GiftServicesCodeType>
Java class for GiftServicesCodeType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="GiftServicesCodeType"> <restriction base="{http://www.w3.org/2001/XMLSchema}token"> <enumeration value="GiftExpressShipping"/> <enumeration value="GiftShipToRecipient"/> <enumeration value="GiftWrap"/> <enumeration value="CustomCode"/> </restriction> </simpleType>
Enum Constant and Description |
---|
CUSTOM_CODE
Reserved for internal or future use.
|
GIFT_EXPRESS_SHIPPING
indicates that the seller is offering to ship the item via
an express shipping method as described in the item
description.
|
GIFT_SHIP_TO_RECIPIENT
indicates that the seller is offering to ship to the gift recipient,
not the buyer, when payment clears.
|
GIFT_WRAP
indicates that the seller is offering to wrap the item (and
optionally include a card) as described in the item
description.
|
Modifier and Type | Method and Description |
---|---|
static GiftServicesCodeType |
fromValue(java.lang.String v) |
java.lang.String |
value() |
static GiftServicesCodeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GiftServicesCodeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GiftServicesCodeType GIFT_EXPRESS_SHIPPING
public static final GiftServicesCodeType GIFT_SHIP_TO_RECIPIENT
public static final GiftServicesCodeType GIFT_WRAP
public static final GiftServicesCodeType CUSTOM_CODE
public static GiftServicesCodeType[] values()
for (GiftServicesCodeType c : GiftServicesCodeType.values()) System.out.println(c);
public static GiftServicesCodeType 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 GiftServicesCodeType fromValue(java.lang.String v)
stSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.