public class CalculatedShippingRateType
extends java.lang.Object
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>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<ShippingCarrierDetailsType> |
carrierDetails |
protected java.lang.String |
originatingPostalCode |
protected java.lang.Boolean |
shippingIrregular |
protected ShippingPackageCodeType |
shippingPackage |
protected MeasureType |
weightMajor |
protected MeasureType |
weightMinor |
| Constructor and Description |
|---|
CalculatedShippingRateType() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<ShippingCarrierDetailsType> |
getCarrierDetails()
Gets the value of the carrierDetails property.
|
java.lang.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.
|
java.lang.Boolean |
isShippingIrregular()
Gets the value of the shippingIrregular property.
|
void |
setOriginatingPostalCode(java.lang.String value)
Sets the value of the originatingPostalCode property.
|
void |
setShippingIrregular(java.lang.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.
|
protected java.lang.String originatingPostalCode
protected java.lang.Boolean shippingIrregular
protected java.util.List<ShippingCarrierDetailsType> carrierDetails
protected ShippingPackageCodeType shippingPackage
protected MeasureType weightMajor
protected MeasureType weightMinor
public java.lang.String getOriginatingPostalCode()
Stringpublic void setOriginatingPostalCode(java.lang.String value)
value - the value
allowed object is
Stringpublic java.lang.Boolean isShippingIrregular()
Booleanpublic void setShippingIrregular(java.lang.Boolean value)
value - the value
allowed object is
Booleanpublic java.util.List<ShippingCarrierDetailsType> getCarrierDetails()
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 ShippingPackageCodeType getShippingPackage()
ShippingPackageCodeTypepublic void setShippingPackage(ShippingPackageCodeType value)
value - the value
allowed object is
ShippingPackageCodeTypepublic MeasureType getWeightMajor()
MeasureTypepublic void setWeightMajor(MeasureType value)
value - the value
allowed object is
MeasureTypepublic MeasureType getWeightMinor()
MeasureTypepublic void setWeightMinor(MeasureType value)
value - the value
allowed object is
MeasureTypestSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.