Changes since
the last release

com.ebay.soap.eBLBaseComponents
Class SellerDiscountType

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

public class SellerDiscountType
extends Object
implements Serializable

Type that defines the SellerDiscount container, which contains the ID, name, and amount of the seller discount.

Java class for SellerDiscountType complex type.

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

 <complexType name="SellerDiscountType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="CampaignID" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
         <element name="CampaignDisplayName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="ItemDiscountAmount" type="{urn:ebay:apis:eBLBaseComponents}AmountType" minOccurs="0"/>
         <element name="ShippingDiscountAmount" type="{urn:ebay:apis:eBLBaseComponents}AmountType" minOccurs="0"/>
         <any/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  List<Object> any
           
protected  String campaignDisplayName
           
protected  Long campaignID
           
protected  AmountType itemDiscountAmount
           
protected  AmountType shippingDiscountAmount
           
 
Constructor Summary
SellerDiscountType()
           
 
Method Summary
protected  List<Object> _getAny()
           
 Object[] getAny()
           
 Object getAny(int idx)
           
 int getAnyLength()
           
 String getCampaignDisplayName()
          Gets the value of the campaignDisplayName property.
 Long getCampaignID()
          Gets the value of the campaignID property.
 AmountType getItemDiscountAmount()
          Gets the value of the itemDiscountAmount property.
 AmountType getShippingDiscountAmount()
          Gets the value of the shippingDiscountAmount property.
 Object setAny(int idx, Object value)
           
 void setAny(Object[] values)
           
 void setCampaignDisplayName(String value)
          Sets the value of the campaignDisplayName property.
 void setCampaignID(Long value)
          Sets the value of the campaignID property.
 void setItemDiscountAmount(AmountType value)
          Sets the value of the itemDiscountAmount property.
 void setShippingDiscountAmount(AmountType value)
          Sets the value of the shippingDiscountAmount property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

campaignID

protected Long campaignID

campaignDisplayName

protected String campaignDisplayName

itemDiscountAmount

protected AmountType itemDiscountAmount

shippingDiscountAmount

protected AmountType shippingDiscountAmount

any

protected List<Object> any
Constructor Detail

SellerDiscountType

public SellerDiscountType()
Method Detail

getCampaignID

public Long getCampaignID()
Gets the value of the campaignID property.

Returns:
possible object is Long

setCampaignID

public void setCampaignID(Long value)
Sets the value of the campaignID property.

Parameters:
value - allowed object is Long

getCampaignDisplayName

public String getCampaignDisplayName()
Gets the value of the campaignDisplayName property.

Returns:
possible object is String

setCampaignDisplayName

public void setCampaignDisplayName(String value)
Sets the value of the campaignDisplayName property.

Parameters:
value - allowed object is String

getItemDiscountAmount

public AmountType getItemDiscountAmount()
Gets the value of the itemDiscountAmount property.

Returns:
possible object is AmountType

setItemDiscountAmount

public void setItemDiscountAmount(AmountType value)
Sets the value of the itemDiscountAmount property.

Parameters:
value - allowed object is AmountType

getShippingDiscountAmount

public AmountType getShippingDiscountAmount()
Gets the value of the shippingDiscountAmount property.

Returns:
possible object is AmountType

setShippingDiscountAmount

public void setShippingDiscountAmount(AmountType value)
Sets the value of the shippingDiscountAmount property.

Parameters:
value - allowed object is AmountType

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.