All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ebay.apis.shopping.eblbasecomponents.SalesTaxType Maven / Gradle / Ivy

Go to download

This Java client enables you to use Java to make API calls in the eBay Shopping API, which is an XML API. This maven build is simply the Apache CXF generated client code for the Shopping API WSDL.

The newest version!

package ebay.apis.shopping.eblbasecomponents;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import org.w3c.dom.Element;


/**
 * 
 * 				Type for expressing sales tax data.
 * 			
 * 
 * 

Java class for SalesTaxType complex type. * *

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

 * <complexType name="SalesTaxType">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="SalesTaxPercent" type="{http://www.w3.org/2001/XMLSchema}float" minOccurs="0"/>
 *         <element name="SalesTaxState" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="ShippingIncludedInTax" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="SalesTaxAmount" type="{urn:ebay:apis:eBLBaseComponents}AmountType" minOccurs="0"/>
 *         <any processContents='lax' maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "SalesTaxType", propOrder = { "salesTaxPercent", "salesTaxState", "shippingIncludedInTax", "salesTaxAmount", "any" }) public class SalesTaxType { @XmlElement(name = "SalesTaxPercent") protected Float salesTaxPercent; @XmlElement(name = "SalesTaxState") protected String salesTaxState; @XmlElement(name = "ShippingIncludedInTax") protected Boolean shippingIncludedInTax; @XmlElement(name = "SalesTaxAmount") protected AmountType salesTaxAmount; @XmlAnyElement(lax = true) protected List any; /** * Gets the value of the salesTaxPercent property. * * @return * possible object is * {@link Float } * */ public Float getSalesTaxPercent() { return salesTaxPercent; } /** * Sets the value of the salesTaxPercent property. * * @param value * allowed object is * {@link Float } * */ public void setSalesTaxPercent(Float value) { this.salesTaxPercent = value; } /** * Gets the value of the salesTaxState property. * * @return * possible object is * {@link String } * */ public String getSalesTaxState() { return salesTaxState; } /** * Sets the value of the salesTaxState property. * * @param value * allowed object is * {@link String } * */ public void setSalesTaxState(String value) { this.salesTaxState = value; } /** * Gets the value of the shippingIncludedInTax property. * * @return * possible object is * {@link Boolean } * */ public Boolean isShippingIncludedInTax() { return shippingIncludedInTax; } /** * Sets the value of the shippingIncludedInTax property. * * @param value * allowed object is * {@link Boolean } * */ public void setShippingIncludedInTax(Boolean value) { this.shippingIncludedInTax = value; } /** * Gets the value of the salesTaxAmount property. * * @return * possible object is * {@link AmountType } * */ public AmountType getSalesTaxAmount() { return salesTaxAmount; } /** * Sets the value of the salesTaxAmount property. * * @param value * allowed object is * {@link AmountType } * */ public void setSalesTaxAmount(AmountType value) { this.salesTaxAmount = value; } /** * Gets the value of the any property. * *

* 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 any property. * *

* For example, to add a new item, do as follows: *

     *    getAny().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Object } * {@link Element } * * */ public List getAny() { if (any == null) { any = new ArrayList(); } return this.any; } }