Changes since
the last release

com.ebay.soap.eBLBaseComponents
Class CrossPromotionsType

java.lang.Object
  extended by com.ebay.soap.eBLBaseComponents.CrossPromotionsType
All Implemented Interfaces:
java.io.Serializable

public class CrossPromotionsType
extends java.lang.Object
implements java.io.Serializable

This type is deprecated.

Java class for CrossPromotionsType complex type.

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

 <complexType name="CrossPromotionsType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="ItemID" type="{urn:ebay:apis:eBLBaseComponents}ItemIDType" minOccurs="0"/>
         <element name="PrimaryScheme" type="{urn:ebay:apis:eBLBaseComponents}PromotionSchemeCodeType" minOccurs="0"/>
         <element name="PromotionMethod" type="{urn:ebay:apis:eBLBaseComponents}PromotionMethodCodeType" minOccurs="0"/>
         <element name="SellerID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="ShippingDiscount" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
         <element name="StoreName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="PromotedItem" type="{urn:ebay:apis:eBLBaseComponents}PromotedItemType" maxOccurs="unbounded" minOccurs="0"/>
         <any/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  java.util.List<java.lang.Object> any
           
protected  java.lang.String itemID
           
protected  PromotionSchemeCodeType primaryScheme
           
protected  java.util.List<PromotedItemType> promotedItem
           
protected  PromotionMethodCodeType promotionMethod
           
protected  java.lang.String sellerID
           
protected  boolean shippingDiscount
           
protected  java.lang.String storeName
           
 
Constructor Summary
CrossPromotionsType()
           
 
Method Summary
protected  java.util.List<java.lang.Object> _getAny()
           
protected  java.util.List<PromotedItemType> _getPromotedItem()
           
 java.lang.Object[] getAny()
           
 java.lang.Object getAny(int idx)
           
 int getAnyLength()
           
 java.lang.String getItemID()
          Gets the value of the itemID property.
 PromotionSchemeCodeType getPrimaryScheme()
          Gets the value of the primaryScheme property.
 PromotedItemType[] getPromotedItem()
           
 PromotedItemType getPromotedItem(int idx)
           
 int getPromotedItemLength()
           
 PromotionMethodCodeType getPromotionMethod()
          Gets the value of the promotionMethod property.
 java.lang.String getSellerID()
          Gets the value of the sellerID property.
 java.lang.String getStoreName()
          Gets the value of the storeName property.
 boolean isShippingDiscount()
          Gets the value of the shippingDiscount property.
 java.lang.Object setAny(int idx, java.lang.Object value)
           
 void setAny(java.lang.Object[] values)
           
 void setItemID(java.lang.String value)
          Sets the value of the itemID property.
 void setPrimaryScheme(PromotionSchemeCodeType value)
          Sets the value of the primaryScheme property.
 PromotedItemType setPromotedItem(int idx, PromotedItemType value)
           
 void setPromotedItem(PromotedItemType[] values)
           
 void setPromotionMethod(PromotionMethodCodeType value)
          Sets the value of the promotionMethod property.
 void setSellerID(java.lang.String value)
          Sets the value of the sellerID property.
 void setShippingDiscount(boolean value)
          Sets the value of the shippingDiscount property.
 void setStoreName(java.lang.String value)
          Sets the value of the storeName property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

itemID

protected java.lang.String itemID

primaryScheme

protected PromotionSchemeCodeType primaryScheme

promotionMethod

protected PromotionMethodCodeType promotionMethod

sellerID

protected java.lang.String sellerID

shippingDiscount

protected boolean shippingDiscount

storeName

protected java.lang.String storeName

promotedItem

protected java.util.List<PromotedItemType> promotedItem

any

protected java.util.List<java.lang.Object> any
Constructor Detail

CrossPromotionsType

public CrossPromotionsType()
Method Detail

getItemID

public java.lang.String getItemID()
Gets the value of the itemID property.

Returns:
possible object is String

setItemID

public void setItemID(java.lang.String value)
Sets the value of the itemID property.

Parameters:
value - allowed object is String

getPrimaryScheme

public PromotionSchemeCodeType getPrimaryScheme()
Gets the value of the primaryScheme property.

Returns:
possible object is PromotionSchemeCodeType

setPrimaryScheme

public void setPrimaryScheme(PromotionSchemeCodeType value)
Sets the value of the primaryScheme property.

Parameters:
value - allowed object is PromotionSchemeCodeType

getPromotionMethod

public PromotionMethodCodeType getPromotionMethod()
Gets the value of the promotionMethod property.

Returns:
possible object is PromotionMethodCodeType

setPromotionMethod

public void setPromotionMethod(PromotionMethodCodeType value)
Sets the value of the promotionMethod property.

Parameters:
value - allowed object is PromotionMethodCodeType

getSellerID

public java.lang.String getSellerID()
Gets the value of the sellerID property.

Returns:
possible object is String

setSellerID

public void setSellerID(java.lang.String value)
Sets the value of the sellerID property.

Parameters:
value - allowed object is String

isShippingDiscount

public boolean isShippingDiscount()
Gets the value of the shippingDiscount property.


setShippingDiscount

public void setShippingDiscount(boolean value)
Sets the value of the shippingDiscount property.


getStoreName

public java.lang.String getStoreName()
Gets the value of the storeName property.

Returns:
possible object is String

setStoreName

public void setStoreName(java.lang.String value)
Sets the value of the storeName property.

Parameters:
value - allowed object is String

getPromotedItem

public PromotedItemType[] getPromotedItem()
Returns:
array of PromotedItemType

getPromotedItem

public PromotedItemType getPromotedItem(int idx)
Returns:
one of PromotedItemType

getPromotedItemLength

public int getPromotedItemLength()

setPromotedItem

public void setPromotedItem(PromotedItemType[] values)
Parameters:
values - allowed objects are PromotedItemType

_getPromotedItem

protected java.util.List<PromotedItemType> _getPromotedItem()

setPromotedItem

public PromotedItemType setPromotedItem(int idx,
                                        PromotedItemType value)
Parameters:
value - allowed object is PromotedItemType

getAny

public java.lang.Object[] getAny()
Returns:
array of Object Element

getAny

public java.lang.Object getAny(int idx)
Returns:
one of Object Element

getAnyLength

public int getAnyLength()

setAny

public void setAny(java.lang.Object[] values)
Parameters:
values - allowed objects are Object Element

_getAny

protected java.util.List<java.lang.Object> _getAny()

setAny

public java.lang.Object setAny(int idx,
                               java.lang.Object value)
Parameters:
value - allowed object is Object Element

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.