Changes since
the last release

com.ebay.soap.eBLBaseComponents
Class CalculatedShippingDiscountType

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

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

Type used by the CalculatedShippingDiscount container, which is used in the SetShippingDiscountProfiles call to create one or more discounted calculated shipping rules. The CalculatedShippingDiscount container is returned in the response of all other calls that use this type.

Java class for CalculatedShippingDiscountType complex type.

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

 <complexType name="CalculatedShippingDiscountType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="DiscountName" type="{urn:ebay:apis:eBLBaseComponents}DiscountNameCodeType" minOccurs="0"/>
         <element name="DiscountProfile" type="{urn:ebay:apis:eBLBaseComponents}DiscountProfileType" maxOccurs="unbounded" minOccurs="0"/>
         <any/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  java.util.List<java.lang.Object> any
           
protected  DiscountNameCodeType discountName
           
protected  java.util.List<DiscountProfileType> discountProfile
           
 
Constructor Summary
CalculatedShippingDiscountType()
           
 
Method Summary
protected  java.util.List<java.lang.Object> _getAny()
           
protected  java.util.List<DiscountProfileType> _getDiscountProfile()
           
 java.lang.Object[] getAny()
           
 java.lang.Object getAny(int idx)
           
 int getAnyLength()
           
 DiscountNameCodeType getDiscountName()
          Gets the value of the discountName property.
 DiscountProfileType[] getDiscountProfile()
           
 DiscountProfileType getDiscountProfile(int idx)
           
 int getDiscountProfileLength()
           
 java.lang.Object setAny(int idx, java.lang.Object value)
           
 void setAny(java.lang.Object[] values)
           
 void setDiscountName(DiscountNameCodeType value)
          Sets the value of the discountName property.
 void setDiscountProfile(DiscountProfileType[] values)
           
 DiscountProfileType setDiscountProfile(int idx, DiscountProfileType value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

discountName

protected DiscountNameCodeType discountName

discountProfile

protected java.util.List<DiscountProfileType> discountProfile

any

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

CalculatedShippingDiscountType

public CalculatedShippingDiscountType()
Method Detail

getDiscountName

public DiscountNameCodeType getDiscountName()
Gets the value of the discountName property.

Returns:
possible object is DiscountNameCodeType

setDiscountName

public void setDiscountName(DiscountNameCodeType value)
Sets the value of the discountName property.

Parameters:
value - allowed object is DiscountNameCodeType

getDiscountProfile

public DiscountProfileType[] getDiscountProfile()
Returns:
array of DiscountProfileType

getDiscountProfile

public DiscountProfileType getDiscountProfile(int idx)
Returns:
one of DiscountProfileType

getDiscountProfileLength

public int getDiscountProfileLength()

setDiscountProfile

public void setDiscountProfile(DiscountProfileType[] values)
Parameters:
values - allowed objects are DiscountProfileType

_getDiscountProfile

protected java.util.List<DiscountProfileType> _getDiscountProfile()

setDiscountProfile

public DiscountProfileType setDiscountProfile(int idx,
                                              DiscountProfileType value)
Parameters:
value - allowed object is DiscountProfileType

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.