Changes since
the last release

com.ebay.soap.eBLBaseComponents
Class FlatShippingDiscountType

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

public class FlatShippingDiscountType
extends Object
implements 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  List<Object> any
           
protected  DiscountNameCodeType discountName
           
protected  List<DiscountProfileType> discountProfile
           
 
Constructor Summary
FlatShippingDiscountType()
           
 
Method Summary
protected  List<Object> _getAny()
           
protected  List<DiscountProfileType> _getDiscountProfile()
           
 Object[] getAny()
           
 Object getAny(int idx)
           
 int getAnyLength()
           
 DiscountNameCodeType getDiscountName()
          Gets the value of the discountName property.
 DiscountProfileType[] getDiscountProfile()
           
 DiscountProfileType getDiscountProfile(int idx)
           
 int getDiscountProfileLength()
           
 Object setAny(int idx, Object value)
           
 void setAny(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 List<DiscountProfileType> discountProfile

any

protected List<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 List<DiscountProfileType> _getDiscountProfile()

setDiscountProfile

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

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.