public class

CalculatedShippingRateType

extends Object
java.lang.Object
   ↳ ebay.apis.eblbasecomponents.CalculatedShippingRateType

Class Overview

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="ShippingIrregular" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
         <element name="CarrierDetails" type="{urn:ebay:apis:eBLBaseComponents}ShippingCarrierDetailsType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="ShippingPackage" type="{urn:ebay:apis:eBLBaseComponents}ShippingPackageCodeType" minOccurs="0"/>
         <element name="WeightMajor" type="{urn:ebay:apis:CoreComponentTypes}MeasureType" minOccurs="0"/>
         <element name="WeightMinor" type="{urn:ebay:apis:CoreComponentTypes}MeasureType" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

Summary

Fields
protected List<ShippingCarrierDetailsType> carrierDetails
protected String originatingPostalCode
protected Boolean shippingIrregular
protected ShippingPackageCodeType shippingPackage
protected MeasureType weightMajor
protected MeasureType weightMinor
Public Constructors
CalculatedShippingRateType()
Public Methods
List<ShippingCarrierDetailsType> getCarrierDetails()
Gets the value of the carrierDetails property.
String getOriginatingPostalCode()
Gets the value of the originatingPostalCode 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.
void setOriginatingPostalCode(String value)
Sets the value of the originatingPostalCode 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.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected List<ShippingCarrierDetailsType> carrierDetails

protected String originatingPostalCode

protected Boolean shippingIrregular

protected ShippingPackageCodeType shippingPackage

protected MeasureType weightMajor

protected MeasureType weightMinor

Public Constructors

public CalculatedShippingRateType ()

Public Methods

public List<ShippingCarrierDetailsType> getCarrierDetails ()

Gets the value of the carrierDetails property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the carrierDetails property.

For example, to add a new item, do as follows:

    getCarrierDetails().add(newItem);
 

Objects of the following type(s) are allowed in the list ShippingCarrierDetailsType

public String getOriginatingPostalCode ()

Gets the value of the originatingPostalCode property.

Returns
  • possible object is String

public ShippingPackageCodeType getShippingPackage ()

Gets the value of the shippingPackage property.

Returns

public MeasureType getWeightMajor ()

Gets the value of the weightMajor property.

Returns

public MeasureType getWeightMinor ()

Gets the value of the weightMinor property.

Returns

public Boolean isShippingIrregular ()

Gets the value of the shippingIrregular property.

Returns
  • possible object is Boolean

public void setOriginatingPostalCode (String value)

Sets the value of the originatingPostalCode property.

Parameters
value Allowed object is String

public void setShippingIrregular (Boolean value)

Sets the value of the shippingIrregular property.

Parameters
value Allowed object is Boolean

public void setShippingPackage (ShippingPackageCodeType value)

Sets the value of the shippingPackage property.

Parameters
value Allowed object is ShippingPackageCodeType

public void setWeightMajor (MeasureType value)

Sets the value of the weightMajor property.

Parameters
value Allowed object is MeasureType

public void setWeightMinor (MeasureType value)

Sets the value of the weightMinor property.

Parameters
value Allowed object is MeasureType