Changes since
the last release

com.ebay.soap.eBLBaseComponents
Class TaxDetailsType

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

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

Type used by the TaxDetails container, which consists of detailed tax information for an order line item, including the tax type and description, tax on the item cost, and tax related to shipping and handling. The information in this container supercedes/overrides the sales tax information in the ShippingDetails.SalesTax container (if returned).

Java class for TaxDetailsType complex type.

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

 <complexType name="TaxDetailsType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Imposition" type="{urn:ebay:apis:eBLBaseComponents}TaxTypeCodeType" minOccurs="0"/>
         <element name="TaxDescription" type="{urn:ebay:apis:eBLBaseComponents}TaxDescriptionCodeType" minOccurs="0"/>
         <element name="TaxAmount" type="{urn:ebay:apis:eBLBaseComponents}AmountType" minOccurs="0"/>
         <element name="TaxOnSubtotalAmount" type="{urn:ebay:apis:eBLBaseComponents}AmountType" minOccurs="0"/>
         <element name="TaxOnShippingAmount" type="{urn:ebay:apis:eBLBaseComponents}AmountType" minOccurs="0"/>
         <element name="TaxOnHandlingAmount" type="{urn:ebay:apis:eBLBaseComponents}AmountType" minOccurs="0"/>
         <element name="TaxCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="CollectionMethod" type="{urn:ebay:apis:eBLBaseComponents}CollectionMethodCodeType" minOccurs="0"/>
         <any/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  java.util.List<java.lang.Object> any
           
protected  CollectionMethodCodeType collectionMethod
           
protected  TaxTypeCodeType imposition
           
protected  AmountType taxAmount
           
protected  java.lang.String taxCode
           
protected  TaxDescriptionCodeType taxDescription
           
protected  AmountType taxOnHandlingAmount
           
protected  AmountType taxOnShippingAmount
           
protected  AmountType taxOnSubtotalAmount
           
 
Constructor Summary
TaxDetailsType()
           
 
Method Summary
protected  java.util.List<java.lang.Object> _getAny()
           
 java.lang.Object[] getAny()
           
 java.lang.Object getAny(int idx)
           
 int getAnyLength()
           
 CollectionMethodCodeType getCollectionMethod()
          Gets the value of the collectionMethod property.
 TaxTypeCodeType getImposition()
          Gets the value of the imposition property.
 AmountType getTaxAmount()
          Gets the value of the taxAmount property.
 java.lang.String getTaxCode()
          Gets the value of the taxCode property.
 TaxDescriptionCodeType getTaxDescription()
          Gets the value of the taxDescription property.
 AmountType getTaxOnHandlingAmount()
          Gets the value of the taxOnHandlingAmount property.
 AmountType getTaxOnShippingAmount()
          Gets the value of the taxOnShippingAmount property.
 AmountType getTaxOnSubtotalAmount()
          Gets the value of the taxOnSubtotalAmount property.
 java.lang.Object setAny(int idx, java.lang.Object value)
           
 void setAny(java.lang.Object[] values)
           
 void setCollectionMethod(CollectionMethodCodeType value)
          Sets the value of the collectionMethod property.
 void setImposition(TaxTypeCodeType value)
          Sets the value of the imposition property.
 void setTaxAmount(AmountType value)
          Sets the value of the taxAmount property.
 void setTaxCode(java.lang.String value)
          Sets the value of the taxCode property.
 void setTaxDescription(TaxDescriptionCodeType value)
          Sets the value of the taxDescription property.
 void setTaxOnHandlingAmount(AmountType value)
          Sets the value of the taxOnHandlingAmount property.
 void setTaxOnShippingAmount(AmountType value)
          Sets the value of the taxOnShippingAmount property.
 void setTaxOnSubtotalAmount(AmountType value)
          Sets the value of the taxOnSubtotalAmount property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

imposition

protected TaxTypeCodeType imposition

taxDescription

protected TaxDescriptionCodeType taxDescription

taxAmount

protected AmountType taxAmount

taxOnSubtotalAmount

protected AmountType taxOnSubtotalAmount

taxOnShippingAmount

protected AmountType taxOnShippingAmount

taxOnHandlingAmount

protected AmountType taxOnHandlingAmount

taxCode

protected java.lang.String taxCode

collectionMethod

protected CollectionMethodCodeType collectionMethod

any

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

TaxDetailsType

public TaxDetailsType()
Method Detail

getImposition

public TaxTypeCodeType getImposition()
Gets the value of the imposition property.

Returns:
possible object is TaxTypeCodeType

setImposition

public void setImposition(TaxTypeCodeType value)
Sets the value of the imposition property.

Parameters:
value - allowed object is TaxTypeCodeType

getTaxDescription

public TaxDescriptionCodeType getTaxDescription()
Gets the value of the taxDescription property.

Returns:
possible object is TaxDescriptionCodeType

setTaxDescription

public void setTaxDescription(TaxDescriptionCodeType value)
Sets the value of the taxDescription property.

Parameters:
value - allowed object is TaxDescriptionCodeType

getTaxAmount

public AmountType getTaxAmount()
Gets the value of the taxAmount property.

Returns:
possible object is AmountType

setTaxAmount

public void setTaxAmount(AmountType value)
Sets the value of the taxAmount property.

Parameters:
value - allowed object is AmountType

getTaxOnSubtotalAmount

public AmountType getTaxOnSubtotalAmount()
Gets the value of the taxOnSubtotalAmount property.

Returns:
possible object is AmountType

setTaxOnSubtotalAmount

public void setTaxOnSubtotalAmount(AmountType value)
Sets the value of the taxOnSubtotalAmount property.

Parameters:
value - allowed object is AmountType

getTaxOnShippingAmount

public AmountType getTaxOnShippingAmount()
Gets the value of the taxOnShippingAmount property.

Returns:
possible object is AmountType

setTaxOnShippingAmount

public void setTaxOnShippingAmount(AmountType value)
Sets the value of the taxOnShippingAmount property.

Parameters:
value - allowed object is AmountType

getTaxOnHandlingAmount

public AmountType getTaxOnHandlingAmount()
Gets the value of the taxOnHandlingAmount property.

Returns:
possible object is AmountType

setTaxOnHandlingAmount

public void setTaxOnHandlingAmount(AmountType value)
Sets the value of the taxOnHandlingAmount property.

Parameters:
value - allowed object is AmountType

getTaxCode

public java.lang.String getTaxCode()
Gets the value of the taxCode property.

Returns:
possible object is String

setTaxCode

public void setTaxCode(java.lang.String value)
Sets the value of the taxCode property.

Parameters:
value - allowed object is String

getCollectionMethod

public CollectionMethodCodeType getCollectionMethod()
Gets the value of the collectionMethod property.

Returns:
possible object is CollectionMethodCodeType

setCollectionMethod

public void setCollectionMethod(CollectionMethodCodeType value)
Sets the value of the collectionMethod property.

Parameters:
value - allowed object is CollectionMethodCodeType

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.