Changes since
the last release

com.ebay.soap.eBLBaseComponents
Class CrossPromotionsType

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

public class CrossPromotionsType
extends Object
implements 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  List<Object> any
           
protected  String itemID
           
protected  PromotionSchemeCodeType primaryScheme
           
protected  List<PromotedItemType> promotedItem
           
protected  PromotionMethodCodeType promotionMethod
           
protected  String sellerID
           
protected  boolean shippingDiscount
           
protected  String storeName
           
 
Constructor Summary
CrossPromotionsType()
           
 
Method Summary
protected  List<Object> _getAny()
           
protected  List<PromotedItemType> _getPromotedItem()
           
 Object[] getAny()
           
 Object getAny(int idx)
           
 int getAnyLength()
           
 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.
 String getSellerID()
          Gets the value of the sellerID property.
 String getStoreName()
          Gets the value of the storeName property.
 boolean isShippingDiscount()
          Gets the value of the shippingDiscount property.
 Object setAny(int idx, Object value)
           
 void setAny(Object[] values)
           
 void setItemID(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(String value)
          Sets the value of the sellerID property.
 void setShippingDiscount(boolean value)
          Sets the value of the shippingDiscount property.
 void setStoreName(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 String itemID

primaryScheme

protected PromotionSchemeCodeType primaryScheme

promotionMethod

protected PromotionMethodCodeType promotionMethod

sellerID

protected String sellerID

shippingDiscount

protected boolean shippingDiscount

storeName

protected String storeName

promotedItem

protected List<PromotedItemType> promotedItem

any

protected List<Object> any
Constructor Detail

CrossPromotionsType

public CrossPromotionsType()
Method Detail

getItemID

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

Returns:
possible object is String

setItemID

public void setItemID(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 String getSellerID()
Gets the value of the sellerID property.

Returns:
possible object is String

setSellerID

public void setSellerID(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 String getStoreName()
Gets the value of the storeName property.

Returns:
possible object is String

setStoreName

public void setStoreName(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 List<PromotedItemType> _getPromotedItem()

setPromotedItem

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

getAny

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

getAny

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

getAnyLength

public int getAnyLength()

setAny

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

_getAny

protected List<Object> _getAny()

setAny

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

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.