Changes since
the last release

com.ebay.soap.eBLBaseComponents
Enum PromotionSchemeCodeType

java.lang.Object
  extended by java.lang.Enum<PromotionSchemeCodeType>
      extended by com.ebay.soap.eBLBaseComponents.PromotionSchemeCodeType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<PromotionSchemeCodeType>

public enum PromotionSchemeCodeType
extends java.lang.Enum<PromotionSchemeCodeType>

Java class for PromotionSchemeCodeType.

The following schema fragment specifies the expected content contained within this class.

 <simpleType name="PromotionSchemeCodeType">
   <restriction base="{http://www.w3.org/2001/XMLSchema}token">
     <enumeration value="ItemToItem"/>
     <enumeration value="ItemToStoreCat"/>
     <enumeration value="StoreToStoreCat"/>
     <enumeration value="ItemToDefaultRule"/>
     <enumeration value="DefaultRule"/>
     <enumeration value="CategoryProximity"/>
     <enumeration value="RelatedCategoryRule"/>
     <enumeration value="DefaultUpSellLogic"/>
     <enumeration value="DefaultCrossSellLogic"/>
     <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
CATEGORY_PROXIMITY
          This value is not used.
CUSTOM_CODE
          This value is not used.
DEFAULT_CROSS_SELL_LOGIC
          This value is not used.
DEFAULT_RULE
          This value is not used.
DEFAULT_UP_SELL_LOGIC
          This value is not used.
ITEM_TO_DEFAULT_RULE
          This value is not used.
ITEM_TO_ITEM
          This value is not used.
ITEM_TO_STORE_CAT
          This value is not used.
RELATED_CATEGORY_RULE
          This value is not used.
STORE_TO_STORE_CAT
          This value is not used.
 
Method Summary
static PromotionSchemeCodeType fromValue(java.lang.String v)
           
 java.lang.String value()
           
static PromotionSchemeCodeType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static PromotionSchemeCodeType[] 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

ITEM_TO_ITEM

public static final PromotionSchemeCodeType ITEM_TO_ITEM
This value is not used.


ITEM_TO_STORE_CAT

public static final PromotionSchemeCodeType ITEM_TO_STORE_CAT
This value is not used.


STORE_TO_STORE_CAT

public static final PromotionSchemeCodeType STORE_TO_STORE_CAT
This value is not used.


ITEM_TO_DEFAULT_RULE

public static final PromotionSchemeCodeType ITEM_TO_DEFAULT_RULE
This value is not used.


DEFAULT_RULE

public static final PromotionSchemeCodeType DEFAULT_RULE
This value is not used.


CATEGORY_PROXIMITY

public static final PromotionSchemeCodeType CATEGORY_PROXIMITY
This value is not used.


RELATED_CATEGORY_RULE

public static final PromotionSchemeCodeType RELATED_CATEGORY_RULE
This value is not used.


DEFAULT_UP_SELL_LOGIC

public static final PromotionSchemeCodeType DEFAULT_UP_SELL_LOGIC
This value is not used.


DEFAULT_CROSS_SELL_LOGIC

public static final PromotionSchemeCodeType DEFAULT_CROSS_SELL_LOGIC
This value is not used.


CUSTOM_CODE

public static final PromotionSchemeCodeType CUSTOM_CODE
This value is not used.

Method Detail

values

public static PromotionSchemeCodeType[] 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 (PromotionSchemeCodeType c : PromotionSchemeCodeType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static PromotionSchemeCodeType 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 name
java.lang.NullPointerException - if the argument is null

value

public java.lang.String value()

fromValue

public static PromotionSchemeCodeType fromValue(java.lang.String v)

Changes since
the last release

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.