Changes since
the last release

com.ebay.soap.eBLBaseComponents
Class RateTableDetailsType

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

public class RateTableDetailsType
extends java.lang.Object
implements java.io.Serializable

This type is used to reference a seller's specific domestic and/or international shipping rate tables. Shipping rate tables allow sellers to configure specific shipping costs based on the shipping destinations and level of service (e.g. economy, standard, expedite, and one-day). Generally speaking, sellers want to use these shipping rate tables so they can charge a higher shipping cost to the buyer whenever shipping costs are higher for them as well. For example, shipping to Alaska or Hawaii is generally more expensive than shipping to any other of the 48 US states, or in regards to international shipping, shipping to some regions and countries are more expensive than others.

Sellers configure domestic and international shipping rate tables in My eBay Shipping Preferences. To apply shipping rate tables, the shipping cost type must be flat-rate.

For domestic shipping rate tables, the three supported domestic regions are Alaska & Hawaii, US Protectorates (e.g. Puerto Rico and Guam), and APO/FPO destinations, which are US military bases/locations outside of the continental US. In addition to setting one flat rate based on the destination and service level, the seller also has the option of adding an extra charge based on the weight of the shipping package, or they can add a surcharge instead.

For international shipping rate tables, specific rates may be set up for any and all geographical regions and individual countries within those regions. Similar to domestic shipping rate tables, the seller has the option of adding an extra charge based on the weight of the shipping package. Sellers cannot add a surcharge for international shipping.

Note: The capability to create and use multiple domestic and international shipping rate tables (up to 40 per seller account) has rolled out to the US, Australia, UK, and Germany sites. For other sites, only one domestic and one international shipping rate table may be set up per seller. Until the seller's account is updated with the new shipping rate tables in My eBay, the seller will continue to use the DomesticRateTable and InternationalRateTable tags and pass in Default as the value. Once the seller's account is updated with the new shipping rate tables in My eBay, the seller will be required to use the new DomesticRateTableId and InternationalRateTableId tags, and the DomesticRateTable and InternationalRateTable tags will not work. Note that shipping rate tables can also be applied to Shipping business policies that are applied against a listing. The new shipping rate tables have all of the functionality of the old shipping rate tables, plus the seller has access to all domestic regions and not just the special regions (such as Alaska & Hawaii, US Protectorates, and APO/FPO locations in US).

Java class for RateTableDetailsType complex type.

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

 <complexType name="RateTableDetailsType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="DomesticRateTable" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="InternationalRateTable" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="DomesticRateTableId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="InternationalRateTableId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <any/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  java.util.List<java.lang.Object> any
           
protected  java.lang.String domesticRateTable
           
protected  java.lang.String domesticRateTableId
           
protected  java.lang.String internationalRateTable
           
protected  java.lang.String internationalRateTableId
           
 
Constructor Summary
RateTableDetailsType()
           
 
Method Summary
protected  java.util.List<java.lang.Object> _getAny()
           
 java.lang.Object[] getAny()
           
 java.lang.Object getAny(int idx)
           
 int getAnyLength()
           
 java.lang.String getDomesticRateTable()
          Gets the value of the domesticRateTable property.
 java.lang.String getDomesticRateTableId()
          Gets the value of the domesticRateTableId property.
 java.lang.String getInternationalRateTable()
          Gets the value of the internationalRateTable property.
 java.lang.String getInternationalRateTableId()
          Gets the value of the internationalRateTableId property.
 java.lang.Object setAny(int idx, java.lang.Object value)
           
 void setAny(java.lang.Object[] values)
           
 void setDomesticRateTable(java.lang.String value)
          Sets the value of the domesticRateTable property.
 void setDomesticRateTableId(java.lang.String value)
          Sets the value of the domesticRateTableId property.
 void setInternationalRateTable(java.lang.String value)
          Sets the value of the internationalRateTable property.
 void setInternationalRateTableId(java.lang.String value)
          Sets the value of the internationalRateTableId property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

domesticRateTable

protected java.lang.String domesticRateTable

internationalRateTable

protected java.lang.String internationalRateTable

domesticRateTableId

protected java.lang.String domesticRateTableId

internationalRateTableId

protected java.lang.String internationalRateTableId

any

protected java.util.List<java.lang.Object> any
Constructor Detail

RateTableDetailsType

public RateTableDetailsType()
Method Detail

getDomesticRateTable

public java.lang.String getDomesticRateTable()
Gets the value of the domesticRateTable property.

Returns:
possible object is String

setDomesticRateTable

public void setDomesticRateTable(java.lang.String value)
Sets the value of the domesticRateTable property.

Parameters:
value - allowed object is String

getInternationalRateTable

public java.lang.String getInternationalRateTable()
Gets the value of the internationalRateTable property.

Returns:
possible object is String

setInternationalRateTable

public void setInternationalRateTable(java.lang.String value)
Sets the value of the internationalRateTable property.

Parameters:
value - allowed object is String

getDomesticRateTableId

public java.lang.String getDomesticRateTableId()
Gets the value of the domesticRateTableId property.

Returns:
possible object is String

setDomesticRateTableId

public void setDomesticRateTableId(java.lang.String value)
Sets the value of the domesticRateTableId property.

Parameters:
value - allowed object is String

getInternationalRateTableId

public java.lang.String getInternationalRateTableId()
Gets the value of the internationalRateTableId property.

Returns:
possible object is String

setInternationalRateTableId

public void setInternationalRateTableId(java.lang.String value)
Sets the value of the internationalRateTableId property.

Parameters:
value - allowed object is String

getAny

public java.lang.Object[] getAny()
Returns:
array of Object Element

getAny

public java.lang.Object getAny(int idx)
Returns:
one of Object Element

getAnyLength

public int getAnyLength()

setAny

public void setAny(java.lang.Object[] values)
Parameters:
values - allowed objects are Object Element

_getAny

protected java.util.List<java.lang.Object> _getAny()

setAny

public java.lang.Object setAny(int idx,
                               java.lang.Object value)
Parameters:
value - allowed object is Object Element

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.