Changes since
the last release

com.ebay.soap.eBLBaseComponents
Class CalculatedShippingRateType

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

public class CalculatedShippingRateType
extends Object
implements Serializable

Details pertinent to one or more items for which calculated shipping (or flat rate shipping using shipping rate tables with weight surcharges) has been offered by the seller, such as package dimension and weight and packaging/handling costs. Also returned with the data for an item's transaction.

Note: The CalculatedShippingRate container should only be used to specify values for the InternationalPackagingHandlingCosts, OriginatingPostalCode, and/or PackagingHandlingCosts fields. The rest of the fields in the CalculatedShippingRate container should now be specified in the ShipPackageDetails container instead.

Java class for CalculatedShippingRateType complex type.

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

 <complexType name="CalculatedShippingRateType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="OriginatingPostalCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="MeasurementUnit" type="{urn:ebay:apis:eBLBaseComponents}MeasurementSystemCodeType" minOccurs="0"/>
         <element name="PackagingHandlingCosts" type="{urn:ebay:apis:eBLBaseComponents}AmountType" minOccurs="0"/>
         <element name="ShippingIrregular" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
         <element name="InternationalPackagingHandlingCosts" type="{urn:ebay:apis:eBLBaseComponents}AmountType" minOccurs="0"/>
         <any/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  List<Object> any
           
protected  AmountType internationalPackagingHandlingCosts
           
protected  MeasurementSystemCodeType measurementUnit
           
protected  String originatingPostalCode
           
protected  AmountType packagingHandlingCosts
           
protected  Boolean shippingIrregular
           
 
Constructor Summary
CalculatedShippingRateType()
           
 
Method Summary
protected  List<Object> _getAny()
           
 Object[] getAny()
           
 Object getAny(int idx)
           
 int getAnyLength()
           
 AmountType getInternationalPackagingHandlingCosts()
          Gets the value of the internationalPackagingHandlingCosts property.
 MeasurementSystemCodeType getMeasurementUnit()
          Gets the value of the measurementUnit property.
 String getOriginatingPostalCode()
          Gets the value of the originatingPostalCode property.
 AmountType getPackagingHandlingCosts()
          Gets the value of the packagingHandlingCosts property.
 Boolean isShippingIrregular()
          Gets the value of the shippingIrregular property.
 Object setAny(int idx, Object value)
           
 void setAny(Object[] values)
           
 void setInternationalPackagingHandlingCosts(AmountType value)
          Sets the value of the internationalPackagingHandlingCosts property.
 void setMeasurementUnit(MeasurementSystemCodeType value)
          Sets the value of the measurementUnit property.
 void setOriginatingPostalCode(String value)
          Sets the value of the originatingPostalCode property.
 void setPackagingHandlingCosts(AmountType value)
          Sets the value of the packagingHandlingCosts property.
 void setShippingIrregular(Boolean value)
          Sets the value of the shippingIrregular property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

originatingPostalCode

protected String originatingPostalCode

measurementUnit

protected MeasurementSystemCodeType measurementUnit

packagingHandlingCosts

protected AmountType packagingHandlingCosts

shippingIrregular

protected Boolean shippingIrregular

internationalPackagingHandlingCosts

protected AmountType internationalPackagingHandlingCosts

any

protected List<Object> any
Constructor Detail

CalculatedShippingRateType

public CalculatedShippingRateType()
Method Detail

getOriginatingPostalCode

public String getOriginatingPostalCode()
Gets the value of the originatingPostalCode property.

Returns:
possible object is String

setOriginatingPostalCode

public void setOriginatingPostalCode(String value)
Sets the value of the originatingPostalCode property.

Parameters:
value - allowed object is String

getMeasurementUnit

public MeasurementSystemCodeType getMeasurementUnit()
Gets the value of the measurementUnit property.

Returns:
possible object is MeasurementSystemCodeType

setMeasurementUnit

public void setMeasurementUnit(MeasurementSystemCodeType value)
Sets the value of the measurementUnit property.

Parameters:
value - allowed object is MeasurementSystemCodeType

getPackagingHandlingCosts

public AmountType getPackagingHandlingCosts()
Gets the value of the packagingHandlingCosts property.

Returns:
possible object is AmountType

setPackagingHandlingCosts

public void setPackagingHandlingCosts(AmountType value)
Sets the value of the packagingHandlingCosts property.

Parameters:
value - allowed object is AmountType

isShippingIrregular

public Boolean isShippingIrregular()
Gets the value of the shippingIrregular property.

Returns:
possible object is Boolean

setShippingIrregular

public void setShippingIrregular(Boolean value)
Sets the value of the shippingIrregular property.

Parameters:
value - allowed object is Boolean

getInternationalPackagingHandlingCosts

public AmountType getInternationalPackagingHandlingCosts()
Gets the value of the internationalPackagingHandlingCosts property.

Returns:
possible object is AmountType

setInternationalPackagingHandlingCosts

public void setInternationalPackagingHandlingCosts(AmountType value)
Sets the value of the internationalPackagingHandlingCosts property.

Parameters:
value - allowed object is AmountType

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.