Changes since
the last release

com.ebay.soap.eBLBaseComponents
Class PromotedItemType

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

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

This type is deprecated.

Java class for PromotedItemType complex type.

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

 <complexType name="PromotedItemType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="ItemID" type="{urn:ebay:apis:eBLBaseComponents}ItemIDType" minOccurs="0"/>
         <element name="PictureURL" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Position" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
         <element name="SelectionType" type="{urn:ebay:apis:eBLBaseComponents}PromotionItemSelectionCodeType" minOccurs="0"/>
         <element name="Title" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="ListingType" type="{urn:ebay:apis:eBLBaseComponents}ListingTypeCodeType" minOccurs="0"/>
         <element name="PromotionDetails" type="{urn:ebay:apis:eBLBaseComponents}PromotionDetailsType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="TimeLeft" type="{http://www.w3.org/2001/XMLSchema}duration" 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  ListingTypeCodeType listingType
           
protected  java.lang.String pictureURL
           
protected  java.lang.Integer position
           
protected  java.util.List<PromotionDetailsType> promotionDetails
           
protected  PromotionItemSelectionCodeType selectionType
           
protected  javax.xml.datatype.Duration timeLeft
           
protected  java.lang.String title
           
 
Constructor Summary
PromotedItemType()
           
 
Method Summary
protected  java.util.List<java.lang.Object> _getAny()
           
protected  java.util.List<PromotionDetailsType> _getPromotionDetails()
           
 java.lang.Object[] getAny()
           
 java.lang.Object getAny(int idx)
           
 int getAnyLength()
           
 java.lang.String getItemID()
          Gets the value of the itemID property.
 ListingTypeCodeType getListingType()
          Gets the value of the listingType property.
 java.lang.String getPictureURL()
          Gets the value of the pictureURL property.
 java.lang.Integer getPosition()
          Gets the value of the position property.
 PromotionDetailsType[] getPromotionDetails()
           
 PromotionDetailsType getPromotionDetails(int idx)
           
 int getPromotionDetailsLength()
           
 PromotionItemSelectionCodeType getSelectionType()
          Gets the value of the selectionType property.
 javax.xml.datatype.Duration getTimeLeft()
          Gets the value of the timeLeft property.
 java.lang.String getTitle()
          Gets the value of the title 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 setListingType(ListingTypeCodeType value)
          Sets the value of the listingType property.
 void setPictureURL(java.lang.String value)
          Sets the value of the pictureURL property.
 void setPosition(java.lang.Integer value)
          Sets the value of the position property.
 PromotionDetailsType setPromotionDetails(int idx, PromotionDetailsType value)
           
 void setPromotionDetails(PromotionDetailsType[] values)
           
 void setSelectionType(PromotionItemSelectionCodeType value)
          Sets the value of the selectionType property.
 void setTimeLeft(javax.xml.datatype.Duration value)
          Sets the value of the timeLeft property.
 void setTitle(java.lang.String value)
          Sets the value of the title 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

pictureURL

protected java.lang.String pictureURL

position

protected java.lang.Integer position

selectionType

protected PromotionItemSelectionCodeType selectionType

title

protected java.lang.String title

listingType

protected ListingTypeCodeType listingType

promotionDetails

protected java.util.List<PromotionDetailsType> promotionDetails

timeLeft

protected javax.xml.datatype.Duration timeLeft

any

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

PromotedItemType

public PromotedItemType()
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

getPictureURL

public java.lang.String getPictureURL()
Gets the value of the pictureURL property.

Returns:
possible object is String

setPictureURL

public void setPictureURL(java.lang.String value)
Sets the value of the pictureURL property.

Parameters:
value - allowed object is String

getPosition

public java.lang.Integer getPosition()
Gets the value of the position property.

Returns:
possible object is Integer

setPosition

public void setPosition(java.lang.Integer value)
Sets the value of the position property.

Parameters:
value - allowed object is Integer

getSelectionType

public PromotionItemSelectionCodeType getSelectionType()
Gets the value of the selectionType property.

Returns:
possible object is PromotionItemSelectionCodeType

setSelectionType

public void setSelectionType(PromotionItemSelectionCodeType value)
Sets the value of the selectionType property.

Parameters:
value - allowed object is PromotionItemSelectionCodeType

getTitle

public java.lang.String getTitle()
Gets the value of the title property.

Returns:
possible object is String

setTitle

public void setTitle(java.lang.String value)
Sets the value of the title property.

Parameters:
value - allowed object is String

getListingType

public ListingTypeCodeType getListingType()
Gets the value of the listingType property.

Returns:
possible object is ListingTypeCodeType

setListingType

public void setListingType(ListingTypeCodeType value)
Sets the value of the listingType property.

Parameters:
value - allowed object is ListingTypeCodeType

getPromotionDetails

public PromotionDetailsType[] getPromotionDetails()
Returns:
array of PromotionDetailsType

getPromotionDetails

public PromotionDetailsType getPromotionDetails(int idx)
Returns:
one of PromotionDetailsType

getPromotionDetailsLength

public int getPromotionDetailsLength()

setPromotionDetails

public void setPromotionDetails(PromotionDetailsType[] values)
Parameters:
values - allowed objects are PromotionDetailsType

_getPromotionDetails

protected java.util.List<PromotionDetailsType> _getPromotionDetails()

setPromotionDetails

public PromotionDetailsType setPromotionDetails(int idx,
                                                PromotionDetailsType value)
Parameters:
value - allowed object is PromotionDetailsType

getTimeLeft

public javax.xml.datatype.Duration getTimeLeft()
Gets the value of the timeLeft property.

Returns:
possible object is Duration

setTimeLeft

public void setTimeLeft(javax.xml.datatype.Duration value)
Sets the value of the timeLeft property.

Parameters:
value - allowed object is Duration

getAny

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

getAny

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

getAnyLength

public int getAnyLength()

setAny

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

_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 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.