Changes since
the last release

com.ebay.soap.eBLBaseComponents
Class CalculatedHandlingDiscountType

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

public class CalculatedHandlingDiscountType
extends Object
implements Serializable

Type defining the CalculatedHandlingDiscount container that is used in the SetShippingDiscountProfiles call to specify the rules used to determine package handling costs for an order in which calculated shipping is used.

Java class for CalculatedHandlingDiscountType complex type.

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

 <complexType name="CalculatedHandlingDiscountType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="DiscountName" type="{urn:ebay:apis:eBLBaseComponents}HandlingNameCodeType" minOccurs="0"/>
         <element name="OrderHandlingAmount" type="{urn:ebay:apis:eBLBaseComponents}AmountType" minOccurs="0"/>
         <element name="EachAdditionalAmount" type="{urn:ebay:apis:eBLBaseComponents}AmountType" minOccurs="0"/>
         <element name="EachAdditionalOffAmount" type="{urn:ebay:apis:eBLBaseComponents}AmountType" minOccurs="0"/>
         <element name="EachAdditionalPercentOff" type="{http://www.w3.org/2001/XMLSchema}float" minOccurs="0"/>
         <any/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  List<Object> any
           
protected  HandlingNameCodeType discountName
           
protected  AmountType eachAdditionalAmount
           
protected  AmountType eachAdditionalOffAmount
           
protected  Float eachAdditionalPercentOff
           
protected  AmountType orderHandlingAmount
           
 
Constructor Summary
CalculatedHandlingDiscountType()
           
 
Method Summary
protected  List<Object> _getAny()
           
 Object[] getAny()
           
 Object getAny(int idx)
           
 int getAnyLength()
           
 HandlingNameCodeType getDiscountName()
          Gets the value of the discountName property.
 AmountType getEachAdditionalAmount()
          Gets the value of the eachAdditionalAmount property.
 AmountType getEachAdditionalOffAmount()
          Gets the value of the eachAdditionalOffAmount property.
 Float getEachAdditionalPercentOff()
          Gets the value of the eachAdditionalPercentOff property.
 AmountType getOrderHandlingAmount()
          Gets the value of the orderHandlingAmount property.
 Object setAny(int idx, Object value)
           
 void setAny(Object[] values)
           
 void setDiscountName(HandlingNameCodeType value)
          Sets the value of the discountName property.
 void setEachAdditionalAmount(AmountType value)
          Sets the value of the eachAdditionalAmount property.
 void setEachAdditionalOffAmount(AmountType value)
          Sets the value of the eachAdditionalOffAmount property.
 void setEachAdditionalPercentOff(Float value)
          Sets the value of the eachAdditionalPercentOff property.
 void setOrderHandlingAmount(AmountType value)
          Sets the value of the orderHandlingAmount property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

discountName

protected HandlingNameCodeType discountName

orderHandlingAmount

protected AmountType orderHandlingAmount

eachAdditionalAmount

protected AmountType eachAdditionalAmount

eachAdditionalOffAmount

protected AmountType eachAdditionalOffAmount

eachAdditionalPercentOff

protected Float eachAdditionalPercentOff

any

protected List<Object> any
Constructor Detail

CalculatedHandlingDiscountType

public CalculatedHandlingDiscountType()
Method Detail

getDiscountName

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

Returns:
possible object is HandlingNameCodeType

setDiscountName

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

Parameters:
value - allowed object is HandlingNameCodeType

getOrderHandlingAmount

public AmountType getOrderHandlingAmount()
Gets the value of the orderHandlingAmount property.

Returns:
possible object is AmountType

setOrderHandlingAmount

public void setOrderHandlingAmount(AmountType value)
Sets the value of the orderHandlingAmount property.

Parameters:
value - allowed object is AmountType

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

getEachAdditionalOffAmount

public AmountType getEachAdditionalOffAmount()
Gets the value of the eachAdditionalOffAmount property.

Returns:
possible object is AmountType

setEachAdditionalOffAmount

public void setEachAdditionalOffAmount(AmountType value)
Sets the value of the eachAdditionalOffAmount 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

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.