Changes since
the last release

com.ebay.soap.eBLBaseComponents
Class RateTableDetailsType

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

public class RateTableDetailsType
extends Object
implements 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 20 per seller account) has rolled out to the US and Australia sites. This capability will also roll out to the UK and Germany sites later in Summer 2017. Currently, for sites other than the US and Australia, only one domestic and one international shipping rate table may be set up per seller. Whether a seller is using the old default domestic and international shipping rate tables or the new shipping rate tables, these shipping rate tables are set up in My eBay Shipping Preferences or as part of a Shipping Business Policy. If using the Trading API to create a listing that will use the new shipping rate tables, the DomesticRateTableId and InternationalRateTableId fields (added for Version 1019) are used to reference and apply these new shipping rate tables to the listing. If desired, sellers can still use the old default shipping rate tables, but they are not allowed to mix and match old and new shipping rate tables, meaning that they will get an error if they pass in both the old fields (DomesticRateTable and InternationalRateTable) and the new fields ( DomesticRateTableId and InternationalRateTableId). 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  List<Object> any
           
protected  String domesticRateTable
           
protected  String domesticRateTableId
           
protected  String internationalRateTable
           
protected  String internationalRateTableId
           
 
Constructor Summary
RateTableDetailsType()
           
 
Method Summary
protected  List<Object> _getAny()
           
 Object[] getAny()
           
 Object getAny(int idx)
           
 int getAnyLength()
           
 String getDomesticRateTable()
          Gets the value of the domesticRateTable property.
 String getDomesticRateTableId()
          Gets the value of the domesticRateTableId property.
 String getInternationalRateTable()
          Gets the value of the internationalRateTable property.
 String getInternationalRateTableId()
          Gets the value of the internationalRateTableId property.
 Object setAny(int idx, Object value)
           
 void setAny(Object[] values)
           
 void setDomesticRateTable(String value)
          Sets the value of the domesticRateTable property.
 void setDomesticRateTableId(String value)
          Sets the value of the domesticRateTableId property.
 void setInternationalRateTable(String value)
          Sets the value of the internationalRateTable property.
 void setInternationalRateTableId(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 String domesticRateTable

internationalRateTable

protected String internationalRateTable

domesticRateTableId

protected String domesticRateTableId

internationalRateTableId

protected String internationalRateTableId

any

protected List<Object> any
Constructor Detail

RateTableDetailsType

public RateTableDetailsType()
Method Detail

getDomesticRateTable

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

Returns:
possible object is String

setDomesticRateTable

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

Parameters:
value - allowed object is String

getInternationalRateTable

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

Returns:
possible object is String

setInternationalRateTable

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

Parameters:
value - allowed object is String

getDomesticRateTableId

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

Returns:
possible object is String

setDomesticRateTableId

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

Parameters:
value - allowed object is String

getInternationalRateTableId

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

Returns:
possible object is String

setInternationalRateTableId

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

Parameters:
value - allowed object is String

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.