Changes since
the last release

com.ebay.soap.eBLBaseComponents
Class PromotionalSaleType

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

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

Details for a single promotional sale.

Java class for PromotionalSaleType complex type.

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

 <complexType name="PromotionalSaleType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="PromotionalSaleID" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
         <element name="PromotionalSaleName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="PromotionalSaleItemIDArray" type="{urn:ebay:apis:eBLBaseComponents}ItemIDArrayType" minOccurs="0"/>
         <element name="Status" type="{urn:ebay:apis:eBLBaseComponents}PromotionalSaleStatusCodeType" minOccurs="0"/>
         <element name="DiscountType" type="{urn:ebay:apis:eBLBaseComponents}DiscountCodeType" minOccurs="0"/>
         <element name="DiscountValue" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
         <element name="PromotionalSaleStartTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
         <element name="PromotionalSaleEndTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
         <element name="PromotionalSaleType" type="{urn:ebay:apis:eBLBaseComponents}PromotionalSaleTypeCodeType" minOccurs="0"/>
         <any/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  java.util.List<java.lang.Object> any
           
protected  DiscountCodeType discountType
           
protected  java.lang.Double discountValue
           
protected  java.util.Calendar promotionalSaleEndTime
           
protected  java.lang.Long promotionalSaleID
           
protected  ItemIDArrayType promotionalSaleItemIDArray
           
protected  java.lang.String promotionalSaleName
           
protected  java.util.Calendar promotionalSaleStartTime
           
protected  PromotionalSaleTypeCodeType promotionalSaleType
           
protected  PromotionalSaleStatusCodeType status
           
 
Constructor Summary
PromotionalSaleType()
           
 
Method Summary
protected  java.util.List<java.lang.Object> _getAny()
           
 java.lang.Object[] getAny()
           
 java.lang.Object getAny(int idx)
           
 int getAnyLength()
           
 DiscountCodeType getDiscountType()
          Gets the value of the discountType property.
 java.lang.Double getDiscountValue()
          Gets the value of the discountValue property.
 java.util.Calendar getPromotionalSaleEndTime()
          Gets the value of the promotionalSaleEndTime property.
 java.lang.Long getPromotionalSaleID()
          Gets the value of the promotionalSaleID property.
 ItemIDArrayType getPromotionalSaleItemIDArray()
          Gets the value of the promotionalSaleItemIDArray property.
 java.lang.String getPromotionalSaleName()
          Gets the value of the promotionalSaleName property.
 java.util.Calendar getPromotionalSaleStartTime()
          Gets the value of the promotionalSaleStartTime property.
 PromotionalSaleTypeCodeType getPromotionalSaleType()
          Gets the value of the promotionalSaleType property.
 PromotionalSaleStatusCodeType getStatus()
          Gets the value of the status property.
 java.lang.Object setAny(int idx, java.lang.Object value)
           
 void setAny(java.lang.Object[] values)
           
 void setDiscountType(DiscountCodeType value)
          Sets the value of the discountType property.
 void setDiscountValue(java.lang.Double value)
          Sets the value of the discountValue property.
 void setPromotionalSaleEndTime(java.util.Calendar value)
          Sets the value of the promotionalSaleEndTime property.
 void setPromotionalSaleID(java.lang.Long value)
          Sets the value of the promotionalSaleID property.
 void setPromotionalSaleItemIDArray(ItemIDArrayType value)
          Sets the value of the promotionalSaleItemIDArray property.
 void setPromotionalSaleName(java.lang.String value)
          Sets the value of the promotionalSaleName property.
 void setPromotionalSaleStartTime(java.util.Calendar value)
          Sets the value of the promotionalSaleStartTime property.
 void setPromotionalSaleType(PromotionalSaleTypeCodeType value)
          Sets the value of the promotionalSaleType property.
 void setStatus(PromotionalSaleStatusCodeType value)
          Sets the value of the status property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

promotionalSaleID

protected java.lang.Long promotionalSaleID

promotionalSaleName

protected java.lang.String promotionalSaleName

promotionalSaleItemIDArray

protected ItemIDArrayType promotionalSaleItemIDArray

status

protected PromotionalSaleStatusCodeType status

discountType

protected DiscountCodeType discountType

discountValue

protected java.lang.Double discountValue

promotionalSaleStartTime

protected java.util.Calendar promotionalSaleStartTime

promotionalSaleEndTime

protected java.util.Calendar promotionalSaleEndTime

promotionalSaleType

protected PromotionalSaleTypeCodeType promotionalSaleType

any

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

PromotionalSaleType

public PromotionalSaleType()
Method Detail

getPromotionalSaleID

public java.lang.Long getPromotionalSaleID()
Gets the value of the promotionalSaleID property.

Returns:
possible object is Long

setPromotionalSaleID

public void setPromotionalSaleID(java.lang.Long value)
Sets the value of the promotionalSaleID property.

Parameters:
value - allowed object is Long

getPromotionalSaleName

public java.lang.String getPromotionalSaleName()
Gets the value of the promotionalSaleName property.

Returns:
possible object is String

setPromotionalSaleName

public void setPromotionalSaleName(java.lang.String value)
Sets the value of the promotionalSaleName property.

Parameters:
value - allowed object is String

getPromotionalSaleItemIDArray

public ItemIDArrayType getPromotionalSaleItemIDArray()
Gets the value of the promotionalSaleItemIDArray property.

Returns:
possible object is ItemIDArrayType

setPromotionalSaleItemIDArray

public void setPromotionalSaleItemIDArray(ItemIDArrayType value)
Sets the value of the promotionalSaleItemIDArray property.

Parameters:
value - allowed object is ItemIDArrayType

getStatus

public PromotionalSaleStatusCodeType getStatus()
Gets the value of the status property.

Returns:
possible object is PromotionalSaleStatusCodeType

setStatus

public void setStatus(PromotionalSaleStatusCodeType value)
Sets the value of the status property.

Parameters:
value - allowed object is PromotionalSaleStatusCodeType

getDiscountType

public DiscountCodeType getDiscountType()
Gets the value of the discountType property.

Returns:
possible object is DiscountCodeType

setDiscountType

public void setDiscountType(DiscountCodeType value)
Sets the value of the discountType property.

Parameters:
value - allowed object is DiscountCodeType

getDiscountValue

public java.lang.Double getDiscountValue()
Gets the value of the discountValue property.

Returns:
possible object is Double

setDiscountValue

public void setDiscountValue(java.lang.Double value)
Sets the value of the discountValue property.

Parameters:
value - allowed object is Double

getPromotionalSaleStartTime

public java.util.Calendar getPromotionalSaleStartTime()
Gets the value of the promotionalSaleStartTime property.

Returns:
possible object is String

setPromotionalSaleStartTime

public void setPromotionalSaleStartTime(java.util.Calendar value)
Sets the value of the promotionalSaleStartTime property.

Parameters:
value - allowed object is String

getPromotionalSaleEndTime

public java.util.Calendar getPromotionalSaleEndTime()
Gets the value of the promotionalSaleEndTime property.

Returns:
possible object is String

setPromotionalSaleEndTime

public void setPromotionalSaleEndTime(java.util.Calendar value)
Sets the value of the promotionalSaleEndTime property.

Parameters:
value - allowed object is String

getPromotionalSaleType

public PromotionalSaleTypeCodeType getPromotionalSaleType()
Gets the value of the promotionalSaleType property.

Returns:
possible object is PromotionalSaleTypeCodeType

setPromotionalSaleType

public void setPromotionalSaleType(PromotionalSaleTypeCodeType value)
Sets the value of the promotionalSaleType property.

Parameters:
value - allowed object is PromotionalSaleTypeCodeType

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.