Changes since
the last release

com.ebay.soap.eBLBaseComponents
Class SellerDiscountType

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

public class SellerDiscountType
extends java.lang.Object
implements java.io.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  java.util.List<java.lang.Object> any
           
protected  java.lang.String campaignDisplayName
           
protected  java.lang.Long campaignID
           
protected  AmountType itemDiscountAmount
           
protected  AmountType shippingDiscountAmount
           
 
Constructor Summary
SellerDiscountType()
           
 
Method Summary
protected  java.util.List<java.lang.Object> _getAny()
           
 java.lang.Object[] getAny()
           
 java.lang.Object getAny(int idx)
           
 int getAnyLength()
           
 java.lang.String getCampaignDisplayName()
          Gets the value of the campaignDisplayName property.
 java.lang.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.
 java.lang.Object setAny(int idx, java.lang.Object value)
           
 void setAny(java.lang.Object[] values)
           
 void setCampaignDisplayName(java.lang.String value)
          Sets the value of the campaignDisplayName property.
 void setCampaignID(java.lang.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 java.lang.Long campaignID

campaignDisplayName

protected java.lang.String campaignDisplayName

itemDiscountAmount

protected AmountType itemDiscountAmount

shippingDiscountAmount

protected AmountType shippingDiscountAmount

any

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

SellerDiscountType

public SellerDiscountType()
Method Detail

getCampaignID

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

Returns:
possible object is Long

setCampaignID

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

Parameters:
value - allowed object is Long

getCampaignDisplayName

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

Returns:
possible object is String

setCampaignDisplayName

public void setCampaignDisplayName(java.lang.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 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.