|
Changes since the last release |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<DiscountNameCodeType>
com.ebay.soap.eBLBaseComponents.DiscountNameCodeType
public enum DiscountNameCodeType
Java class for DiscountNameCodeType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="DiscountNameCodeType"> <restriction base="{http://www.w3.org/2001/XMLSchema}token"> <enumeration value="EachAdditionalAmount"/> <enumeration value="EachAdditionalAmountOff"/> <enumeration value="EachAdditionalPercentOff"/> <enumeration value="IndividualItemWeight"/> <enumeration value="CombinedItemWeight"/> <enumeration value="WeightOff"/> <enumeration value="ShippingCostXForAmountY"/> <enumeration value="ShippingCostXForItemCountN"/> <enumeration value="MaximumShippingCostPerOrder"/> <enumeration value="CustomCode"/> </restriction> </simpleType>Note: Per JAXB standards, underscores are added to separate words in enumerations (e.g., PayPal becomes PAY_PAL).
Enum Constant Summary | |
---|---|
COMBINED_ITEM_WEIGHT
Shipping cost is based on the total weight of all individual items. |
|
CUSTOM_CODE
Reserved for internal or future use. |
|
EACH_ADDITIONAL_AMOUNT
The cost to ship each item beyond the first item (where the item with the highest shipping cost is selected by eBay as the first item). |
|
EACH_ADDITIONAL_AMOUNT_OFF
The amount by which to reduce the cost to ship each item beyond the first item (where the item with the highest shipping cost is selected by eBay as the first item). |
|
EACH_ADDITIONAL_PERCENT_OFF
The percentage by which to reduce the cost to ship each item beyond the first item (where the item with the highest shipping cost is selected by eBay as the first item). |
|
INDIVIDUAL_ITEM_WEIGHT
Shipping cost is the total of what it would cost to ship each item individually. |
|
MAXIMUM_SHIPPING_COST_PER_ORDER
The shipping cost will not exceed this. |
|
SHIPPING_COST_X_FOR_AMOUNT_Y
Shipping cost X applies if the total cost of items purchased is Y. |
|
SHIPPING_COST_X_FOR_ITEM_COUNT_N
Shipping cost X applies if the total number of items purchased is N. |
|
WEIGHT_OFF
The amount of weight to subtract for each item beyond the first item before shipping costs are calculated. |
Method Summary | |
---|---|
static DiscountNameCodeType |
fromValue(String v)
|
String |
value()
|
static DiscountNameCodeType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static DiscountNameCodeType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final DiscountNameCodeType EACH_ADDITIONAL_AMOUNT
public static final DiscountNameCodeType EACH_ADDITIONAL_AMOUNT_OFF
public static final DiscountNameCodeType EACH_ADDITIONAL_PERCENT_OFF
public static final DiscountNameCodeType INDIVIDUAL_ITEM_WEIGHT
public static final DiscountNameCodeType COMBINED_ITEM_WEIGHT
public static final DiscountNameCodeType WEIGHT_OFF
public static final DiscountNameCodeType SHIPPING_COST_X_FOR_AMOUNT_Y
public static final DiscountNameCodeType SHIPPING_COST_X_FOR_ITEM_COUNT_N
public static final DiscountNameCodeType MAXIMUM_SHIPPING_COST_PER_ORDER
public static final DiscountNameCodeType CUSTOM_CODE
Method Detail |
---|
public static DiscountNameCodeType[] values()
for (DiscountNameCodeType c : DiscountNameCodeType.values()) System.out.println(c);
public static DiscountNameCodeType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic String value()
public static DiscountNameCodeType fromValue(String v)
|
Changes since the last release |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
The information contained in this document is proprietary and confidential.
Use of this information and the eBay API requires a Non-Disclosure Agreement (NDA) between the user and eBay Inc.
For information regarding a qualifying NDA, contact Developer Relations:
developer-relations@ebay.com
© 2004-2009 eBay Inc. All rights reserved.