Changes since
the last release

com.ebay.soap.eBLBaseComponents
Class FlatShippingDiscountType

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

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

Details of an individual discount profile defined by the user for flat-rate shipping.

Java class for FlatShippingDiscountType complex type.

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

 <complexType name="FlatShippingDiscountType">
   <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
FlatShippingDiscountType()
           
 
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

FlatShippingDiscountType

public FlatShippingDiscountType()
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 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.