Changes since
the last release

com.ebay.sdk.call
Class GetTaxTableCall

java.lang.Object
  extended by com.ebay.sdk.ApiCall
      extended by com.ebay.sdk.call.GetTaxTableCall

public class GetTaxTableCall
extends ApiCall

Wrapper class of the GetTaxTable call of eBay SOAP API.

Title: SOAP API wrapper library.

Description: Contains wrapper classes for eBay SOAP APIs.

Copyright: Copyright (c) 2009

Company: eBay Inc.


Output property: ReturnedLastUpdateTime - The last time (in GMT) that the tax table was updated. Only returned if the user previously created a tax table and if the site has jurisdictions. LastUpdateTime is useful for synchronization. If you cache the user's tax table, you can use GetTaxTable to check if it has changed and whether you need to update the cached tax table.
Output property: ReturnedTaxTable - A container of tax jurisdiction information unique to a user/site combination. Returned as an empty container if no Sales Tax Table information exists for the seller's account and no DetailLevel is used. If DetailLevel is not specified, information is only returned for the jurisdictions for which the user provided tax information. If DetailLevel is set to ReturnAll, tax information is returned for all possible jurisdictions, whether specified by the user or not. ShippingIncludedInTax and SalesTaxPercent are returned but are empty.

Version:
1.0
Author:
Ron Murphy

Field Summary
 
Fields inherited from class com.ebay.sdk.ApiCall
apiException, sendReqListeners
 
Constructor Summary
GetTaxTableCall()
          Constructor.
GetTaxTableCall(ApiContext apiContext)
          Constructor.
 
Method Summary
 java.util.Calendar getReturnedLastUpdateTime()
          Valid after executing the API.
 TaxTableType getReturnedTaxTable()
          Valid after executing the API.
 void getTaxTable()
          The base request type of the GetTaxTable call, which retrieves information on the seller's Sales Tax Table.
 
Methods inherited from class com.ebay.sdk.ApiCall
addDetailLevel, addSendRequestListener, execute, executeByApiName, getApiContext, getApiException, getBotBlock, getCallRetry, getDetailLevel, getEnableCompression, getEndUserIP, getErrorHandling, getInvocationID, getMessageID, getOutputSelector, getRequestXml, getResponseObject, getResponseXml, getSite, getWarningLevel, hasError, hasWarning, isEnableoAuthTokenHTTPHeader, removeSendRequestListener, setApiContext, setBotBlock, setCallRetry, setDetailLevel, setEnableCompression, setEnableoAuthTokenHTTPHeader, setEndUserIP, setErrorHandling, setInvocationID, setMessageID, setOutputSelector, setSite, setWarningLevel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetTaxTableCall

public GetTaxTableCall()
Constructor.


GetTaxTableCall

public GetTaxTableCall(ApiContext apiContext)
Constructor.

Parameters:
apiContext - The ApiContext object to be used to make the call.
Method Detail

getTaxTable

public void getTaxTable()
                 throws ApiException,
                        SdkException,
                        java.lang.Exception
The base request type of the GetTaxTable call, which retrieves information on the seller's Sales Tax Table. This information includes all of the site's tax jurisdictions, a boolean field to indicate if sales tax is applied to shipping and handling charges, and the sales tax rate for each jurisdiction (if a sales tax rate is set for that jurisdiction).

Sales tax tables are only supported on the eBay US, Candada, and India sites.

Throws:
ApiException
SdkException
java.lang.Exception

getReturnedLastUpdateTime

public java.util.Calendar getReturnedLastUpdateTime()
Valid after executing the API. Gets the returned GetTaxTableResponseType.returnedLastUpdateTime.

Returns:
Calendar

getReturnedTaxTable

public TaxTableType getReturnedTaxTable()
Valid after executing the API. Gets the returned GetTaxTableResponseType.returnedTaxTable.

Returns:
TaxTableType

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.