Changes since
the last release

com.ebay.soap.eBLBaseComponents
Class ShipPackageDetailsType

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

public class ShipPackageDetailsType
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 ShippingPackageDetails container should now be used instead of the CalculatedShippingRate container to specify values for the MeasurementUnit, PackageDepth, PackageWidth, PackageLength, ShippingIrregular, ShippingPackage, WeightMajor, and/or WeightMinor fields. The CalculatedShippingRate container should only be used to specify values for the InternationalPackagingHandlingCosts, OriginatingPostalCode, and/or PackagingHandlingCosts fields.

Java class for ShipPackageDetailsType complex type.

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

 <complexType name="ShipPackageDetailsType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="MeasurementUnit" type="{urn:ebay:apis:eBLBaseComponents}MeasurementSystemCodeType" minOccurs="0"/>
         <element name="PackageDepth" type="{urn:ebay:apis:eBLBaseComponents}MeasureType" minOccurs="0"/>
         <element name="PackageLength" type="{urn:ebay:apis:eBLBaseComponents}MeasureType" minOccurs="0"/>
         <element name="PackageWidth" type="{urn:ebay:apis:eBLBaseComponents}MeasureType" minOccurs="0"/>
         <element name="ShippingIrregular" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
         <element name="ShippingPackage" type="{urn:ebay:apis:eBLBaseComponents}ShippingPackageCodeType" minOccurs="0"/>
         <element name="WeightMajor" type="{urn:ebay:apis:eBLBaseComponents}MeasureType" minOccurs="0"/>
         <element name="WeightMinor" type="{urn:ebay:apis:eBLBaseComponents}MeasureType" minOccurs="0"/>
         <any/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  List<Object> any
           
protected  MeasurementSystemCodeType measurementUnit
           
protected  MeasureType packageDepth
           
protected  MeasureType packageLength
           
protected  MeasureType packageWidth
           
protected  Boolean shippingIrregular
           
protected  ShippingPackageCodeType shippingPackage
           
protected  MeasureType weightMajor
           
protected  MeasureType weightMinor
           
 
Constructor Summary
ShipPackageDetailsType()
           
 
Method Summary
protected  List<Object> _getAny()
           
 Object[] getAny()
           
 Object getAny(int idx)
           
 int getAnyLength()
           
 MeasurementSystemCodeType getMeasurementUnit()
          Gets the value of the measurementUnit property.
 MeasureType getPackageDepth()
          Gets the value of the packageDepth property.
 MeasureType getPackageLength()
          Gets the value of the packageLength property.
 MeasureType getPackageWidth()
          Gets the value of the packageWidth property.
 ShippingPackageCodeType getShippingPackage()
          Gets the value of the shippingPackage property.
 MeasureType getWeightMajor()
          Gets the value of the weightMajor property.
 MeasureType getWeightMinor()
          Gets the value of the weightMinor property.
 Boolean isShippingIrregular()
          Gets the value of the shippingIrregular property.
 Object setAny(int idx, Object value)
           
 void setAny(Object[] values)
           
 void setMeasurementUnit(MeasurementSystemCodeType value)
          Sets the value of the measurementUnit property.
 void setPackageDepth(MeasureType value)
          Sets the value of the packageDepth property.
 void setPackageLength(MeasureType value)
          Sets the value of the packageLength property.
 void setPackageWidth(MeasureType value)
          Sets the value of the packageWidth property.
 void setShippingIrregular(Boolean value)
          Sets the value of the shippingIrregular property.
 void setShippingPackage(ShippingPackageCodeType value)
          Sets the value of the shippingPackage property.
 void setWeightMajor(MeasureType value)
          Sets the value of the weightMajor property.
 void setWeightMinor(MeasureType value)
          Sets the value of the weightMinor property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

measurementUnit

protected MeasurementSystemCodeType measurementUnit

packageDepth

protected MeasureType packageDepth

packageLength

protected MeasureType packageLength

packageWidth

protected MeasureType packageWidth

shippingIrregular

protected Boolean shippingIrregular

shippingPackage

protected ShippingPackageCodeType shippingPackage

weightMajor

protected MeasureType weightMajor

weightMinor

protected MeasureType weightMinor

any

protected List<Object> any
Constructor Detail

ShipPackageDetailsType

public ShipPackageDetailsType()
Method Detail

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

getPackageDepth

public MeasureType getPackageDepth()
Gets the value of the packageDepth property.

Returns:
possible object is MeasureType

setPackageDepth

public void setPackageDepth(MeasureType value)
Sets the value of the packageDepth property.

Parameters:
value - allowed object is MeasureType

getPackageLength

public MeasureType getPackageLength()
Gets the value of the packageLength property.

Returns:
possible object is MeasureType

setPackageLength

public void setPackageLength(MeasureType value)
Sets the value of the packageLength property.

Parameters:
value - allowed object is MeasureType

getPackageWidth

public MeasureType getPackageWidth()
Gets the value of the packageWidth property.

Returns:
possible object is MeasureType

setPackageWidth

public void setPackageWidth(MeasureType value)
Sets the value of the packageWidth property.

Parameters:
value - allowed object is MeasureType

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

getShippingPackage

public ShippingPackageCodeType getShippingPackage()
Gets the value of the shippingPackage property.

Returns:
possible object is ShippingPackageCodeType

setShippingPackage

public void setShippingPackage(ShippingPackageCodeType value)
Sets the value of the shippingPackage property.

Parameters:
value - allowed object is ShippingPackageCodeType

getWeightMajor

public MeasureType getWeightMajor()
Gets the value of the weightMajor property.

Returns:
possible object is MeasureType

setWeightMajor

public void setWeightMajor(MeasureType value)
Sets the value of the weightMajor property.

Parameters:
value - allowed object is MeasureType

getWeightMinor

public MeasureType getWeightMinor()
Gets the value of the weightMinor property.

Returns:
possible object is MeasureType

setWeightMinor

public void setWeightMinor(MeasureType value)
Sets the value of the weightMinor property.

Parameters:
value - allowed object is MeasureType

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.