Changes since
the last release

com.ebay.soap.eBLBaseComponents
Class SellerDiscountsType

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

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

Type defining the SellerDiscounts container, which consists of one or more SellerDiscount nodes, as well as the original purchase price and shipping cost of the order line item.

Java class for SellerDiscountsType complex type.

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

 <complexType name="SellerDiscountsType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="OriginalItemPrice" type="{urn:ebay:apis:eBLBaseComponents}AmountType" minOccurs="0"/>
         <element name="OriginalItemShippingCost" type="{urn:ebay:apis:eBLBaseComponents}AmountType" minOccurs="0"/>
         <element name="OriginalShippingService" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/>
         <element name="SellerDiscount" type="{urn:ebay:apis:eBLBaseComponents}SellerDiscountType" maxOccurs="unbounded" minOccurs="0"/>
         <any/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  java.util.List<java.lang.Object> any
           
protected  AmountType originalItemPrice
           
protected  AmountType originalItemShippingCost
           
protected  java.lang.String originalShippingService
           
protected  java.util.List<SellerDiscountType> sellerDiscount
           
 
Constructor Summary
SellerDiscountsType()
           
 
Method Summary
protected  java.util.List<java.lang.Object> _getAny()
           
protected  java.util.List<SellerDiscountType> _getSellerDiscount()
           
 java.lang.Object[] getAny()
           
 java.lang.Object getAny(int idx)
           
 int getAnyLength()
           
 AmountType getOriginalItemPrice()
          Gets the value of the originalItemPrice property.
 AmountType getOriginalItemShippingCost()
          Gets the value of the originalItemShippingCost property.
 java.lang.String getOriginalShippingService()
          Gets the value of the originalShippingService property.
 SellerDiscountType[] getSellerDiscount()
           
 SellerDiscountType getSellerDiscount(int idx)
           
 int getSellerDiscountLength()
           
 java.lang.Object setAny(int idx, java.lang.Object value)
           
 void setAny(java.lang.Object[] values)
           
 void setOriginalItemPrice(AmountType value)
          Sets the value of the originalItemPrice property.
 void setOriginalItemShippingCost(AmountType value)
          Sets the value of the originalItemShippingCost property.
 void setOriginalShippingService(java.lang.String value)
          Sets the value of the originalShippingService property.
 SellerDiscountType setSellerDiscount(int idx, SellerDiscountType value)
           
 void setSellerDiscount(SellerDiscountType[] values)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

originalItemPrice

protected AmountType originalItemPrice

originalItemShippingCost

protected AmountType originalItemShippingCost

originalShippingService

protected java.lang.String originalShippingService

sellerDiscount

protected java.util.List<SellerDiscountType> sellerDiscount

any

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

SellerDiscountsType

public SellerDiscountsType()
Method Detail

getOriginalItemPrice

public AmountType getOriginalItemPrice()
Gets the value of the originalItemPrice property.

Returns:
possible object is AmountType

setOriginalItemPrice

public void setOriginalItemPrice(AmountType value)
Sets the value of the originalItemPrice property.

Parameters:
value - allowed object is AmountType

getOriginalItemShippingCost

public AmountType getOriginalItemShippingCost()
Gets the value of the originalItemShippingCost property.

Returns:
possible object is AmountType

setOriginalItemShippingCost

public void setOriginalItemShippingCost(AmountType value)
Sets the value of the originalItemShippingCost property.

Parameters:
value - allowed object is AmountType

getOriginalShippingService

public java.lang.String getOriginalShippingService()
Gets the value of the originalShippingService property.

Returns:
possible object is String

setOriginalShippingService

public void setOriginalShippingService(java.lang.String value)
Sets the value of the originalShippingService property.

Parameters:
value - allowed object is String

getSellerDiscount

public SellerDiscountType[] getSellerDiscount()
Returns:
array of SellerDiscountType

getSellerDiscount

public SellerDiscountType getSellerDiscount(int idx)
Returns:
one of SellerDiscountType

getSellerDiscountLength

public int getSellerDiscountLength()

setSellerDiscount

public void setSellerDiscount(SellerDiscountType[] values)
Parameters:
values - allowed objects are SellerDiscountType

_getSellerDiscount

protected java.util.List<SellerDiscountType> _getSellerDiscount()

setSellerDiscount

public SellerDiscountType setSellerDiscount(int idx,
                                            SellerDiscountType value)
Parameters:
value - allowed object is SellerDiscountType

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.