Changes since
the last release

com.ebay.soap.eBLBaseComponents
Class DiscountProfileType

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

public class DiscountProfileType
extends Object
implements Serializable

Details of a flat or calculated shipping discount rule. Shipping Discount Rules can be set up through the SetShippingDiscountProfiles call or through My eBay.

Java class for DiscountProfileType complex type.

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

 <complexType name="DiscountProfileType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="DiscountProfileID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="DiscountProfileName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="EachAdditionalAmount" type="{urn:ebay:apis:eBLBaseComponents}AmountType" minOccurs="0"/>
         <element name="EachAdditionalAmountOff" type="{urn:ebay:apis:eBLBaseComponents}AmountType" minOccurs="0"/>
         <element name="EachAdditionalPercentOff" type="{http://www.w3.org/2001/XMLSchema}float" minOccurs="0"/>
         <element name="WeightOff" type="{urn:ebay:apis:eBLBaseComponents}MeasureType" minOccurs="0"/>
         <element name="MappedDiscountProfileID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <any/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  List<Object> any
           
protected  String discountProfileID
           
protected  String discountProfileName
           
protected  AmountType eachAdditionalAmount
           
protected  AmountType eachAdditionalAmountOff
           
protected  Float eachAdditionalPercentOff
           
protected  String mappedDiscountProfileID
           
protected  MeasureType weightOff
           
 
Constructor Summary
DiscountProfileType()
           
 
Method Summary
protected  List<Object> _getAny()
           
 Object[] getAny()
           
 Object getAny(int idx)
           
 int getAnyLength()
           
 String getDiscountProfileID()
          Gets the value of the discountProfileID property.
 String getDiscountProfileName()
          Gets the value of the discountProfileName property.
 AmountType getEachAdditionalAmount()
          Gets the value of the eachAdditionalAmount property.
 AmountType getEachAdditionalAmountOff()
          Gets the value of the eachAdditionalAmountOff property.
 Float getEachAdditionalPercentOff()
          Gets the value of the eachAdditionalPercentOff property.
 String getMappedDiscountProfileID()
          Gets the value of the mappedDiscountProfileID property.
 MeasureType getWeightOff()
          Gets the value of the weightOff property.
 Object setAny(int idx, Object value)
           
 void setAny(Object[] values)
           
 void setDiscountProfileID(String value)
          Sets the value of the discountProfileID property.
 void setDiscountProfileName(String value)
          Sets the value of the discountProfileName property.
 void setEachAdditionalAmount(AmountType value)
          Sets the value of the eachAdditionalAmount property.
 void setEachAdditionalAmountOff(AmountType value)
          Sets the value of the eachAdditionalAmountOff property.
 void setEachAdditionalPercentOff(Float value)
          Sets the value of the eachAdditionalPercentOff property.
 void setMappedDiscountProfileID(String value)
          Sets the value of the mappedDiscountProfileID property.
 void setWeightOff(MeasureType value)
          Sets the value of the weightOff property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

discountProfileID

protected String discountProfileID

discountProfileName

protected String discountProfileName

eachAdditionalAmount

protected AmountType eachAdditionalAmount

eachAdditionalAmountOff

protected AmountType eachAdditionalAmountOff

eachAdditionalPercentOff

protected Float eachAdditionalPercentOff

weightOff

protected MeasureType weightOff

mappedDiscountProfileID

protected String mappedDiscountProfileID

any

protected List<Object> any
Constructor Detail

DiscountProfileType

public DiscountProfileType()
Method Detail

getDiscountProfileID

public String getDiscountProfileID()
Gets the value of the discountProfileID property.

Returns:
possible object is String

setDiscountProfileID

public void setDiscountProfileID(String value)
Sets the value of the discountProfileID property.

Parameters:
value - allowed object is String

getDiscountProfileName

public String getDiscountProfileName()
Gets the value of the discountProfileName property.

Returns:
possible object is String

setDiscountProfileName

public void setDiscountProfileName(String value)
Sets the value of the discountProfileName property.

Parameters:
value - allowed object is String

getEachAdditionalAmount

public AmountType getEachAdditionalAmount()
Gets the value of the eachAdditionalAmount property.

Returns:
possible object is AmountType

setEachAdditionalAmount

public void setEachAdditionalAmount(AmountType value)
Sets the value of the eachAdditionalAmount property.

Parameters:
value - allowed object is AmountType

getEachAdditionalAmountOff

public AmountType getEachAdditionalAmountOff()
Gets the value of the eachAdditionalAmountOff property.

Returns:
possible object is AmountType

setEachAdditionalAmountOff

public void setEachAdditionalAmountOff(AmountType value)
Sets the value of the eachAdditionalAmountOff property.

Parameters:
value - allowed object is AmountType

getEachAdditionalPercentOff

public Float getEachAdditionalPercentOff()
Gets the value of the eachAdditionalPercentOff property.

Returns:
possible object is Float

setEachAdditionalPercentOff

public void setEachAdditionalPercentOff(Float value)
Sets the value of the eachAdditionalPercentOff property.

Parameters:
value - allowed object is Float

getWeightOff

public MeasureType getWeightOff()
Gets the value of the weightOff property.

Returns:
possible object is MeasureType

setWeightOff

public void setWeightOff(MeasureType value)
Sets the value of the weightOff property.

Parameters:
value - allowed object is MeasureType

getMappedDiscountProfileID

public String getMappedDiscountProfileID()
Gets the value of the mappedDiscountProfileID property.

Returns:
possible object is String

setMappedDiscountProfileID

public void setMappedDiscountProfileID(String value)
Sets the value of the mappedDiscountProfileID property.

Parameters:
value - allowed object is String

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.