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

ebay.apis.shopping.eblbasecomponents.ShippingServiceOptionType 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.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import javax.xml.datatype.XMLGregorianCalendar;
import org.w3c.dom.Element;


/**
 * 
 * 				Shipping costs and options related to a domestic shipping service.
 * 			
 * 
 * 

Java class for ShippingServiceOptionType complex type. * *

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

 * <complexType name="ShippingServiceOptionType">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="ShippingInsuranceCost" type="{urn:ebay:apis:eBLBaseComponents}AmountType" minOccurs="0"/>
 *         <element name="ShippingServiceName" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/>
 *         <element name="LogisticPlanType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="ShippingServiceCost" type="{urn:ebay:apis:eBLBaseComponents}AmountType" minOccurs="0"/>
 *         <element name="ShippingServiceAdditionalCost" type="{urn:ebay:apis:eBLBaseComponents}AmountType" minOccurs="0"/>
 *         <element name="ShippingServicePriority" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
 *         <element name="ExpeditedService" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="ShippingTimeMin" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
 *         <element name="ShippingTimeMax" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
 *         <element name="ShippingSurcharge" type="{urn:ebay:apis:eBLBaseComponents}AmountType" minOccurs="0"/>
 *         <element name="ShipsTo" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="EstimatedDeliveryMinTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
 *         <element name="EstimatedDeliveryMaxTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
 *         <element name="FastAndFree" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="ShippingServiceCutOffTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
 *         <any processContents='lax' maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "ShippingServiceOptionType", propOrder = { "shippingInsuranceCost", "shippingServiceName", "logisticPlanType", "shippingServiceCost", "shippingServiceAdditionalCost", "shippingServicePriority", "expeditedService", "shippingTimeMin", "shippingTimeMax", "shippingSurcharge", "shipsTo", "estimatedDeliveryMinTime", "estimatedDeliveryMaxTime", "fastAndFree", "shippingServiceCutOffTime", "any" }) public class ShippingServiceOptionType { @XmlElement(name = "ShippingInsuranceCost") protected AmountType shippingInsuranceCost; @XmlElement(name = "ShippingServiceName") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlSchemaType(name = "token") protected String shippingServiceName; @XmlElement(name = "LogisticPlanType") protected String logisticPlanType; @XmlElement(name = "ShippingServiceCost") protected AmountType shippingServiceCost; @XmlElement(name = "ShippingServiceAdditionalCost") protected AmountType shippingServiceAdditionalCost; @XmlElement(name = "ShippingServicePriority") protected Integer shippingServicePriority; @XmlElement(name = "ExpeditedService") protected Boolean expeditedService; @XmlElement(name = "ShippingTimeMin") protected Integer shippingTimeMin; @XmlElement(name = "ShippingTimeMax") protected Integer shippingTimeMax; @XmlElement(name = "ShippingSurcharge") protected AmountType shippingSurcharge; @XmlElement(name = "ShipsTo") protected List shipsTo; @XmlElement(name = "EstimatedDeliveryMinTime") @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar estimatedDeliveryMinTime; @XmlElement(name = "EstimatedDeliveryMaxTime") @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar estimatedDeliveryMaxTime; @XmlElement(name = "FastAndFree") protected Boolean fastAndFree; @XmlElement(name = "ShippingServiceCutOffTime") @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar shippingServiceCutOffTime; @XmlAnyElement(lax = true) protected List any; /** * Gets the value of the shippingInsuranceCost property. * * @return * possible object is * {@link AmountType } * */ public AmountType getShippingInsuranceCost() { return shippingInsuranceCost; } /** * Sets the value of the shippingInsuranceCost property. * * @param value * allowed object is * {@link AmountType } * */ public void setShippingInsuranceCost(AmountType value) { this.shippingInsuranceCost = value; } /** * Gets the value of the shippingServiceName property. * * @return * possible object is * {@link String } * */ public String getShippingServiceName() { return shippingServiceName; } /** * Sets the value of the shippingServiceName property. * * @param value * allowed object is * {@link String } * */ public void setShippingServiceName(String value) { this.shippingServiceName = value; } /** * Gets the value of the logisticPlanType property. * * @return * possible object is * {@link String } * */ public String getLogisticPlanType() { return logisticPlanType; } /** * Sets the value of the logisticPlanType property. * * @param value * allowed object is * {@link String } * */ public void setLogisticPlanType(String value) { this.logisticPlanType = value; } /** * Gets the value of the shippingServiceCost property. * * @return * possible object is * {@link AmountType } * */ public AmountType getShippingServiceCost() { return shippingServiceCost; } /** * Sets the value of the shippingServiceCost property. * * @param value * allowed object is * {@link AmountType } * */ public void setShippingServiceCost(AmountType value) { this.shippingServiceCost = value; } /** * Gets the value of the shippingServiceAdditionalCost property. * * @return * possible object is * {@link AmountType } * */ public AmountType getShippingServiceAdditionalCost() { return shippingServiceAdditionalCost; } /** * Sets the value of the shippingServiceAdditionalCost property. * * @param value * allowed object is * {@link AmountType } * */ public void setShippingServiceAdditionalCost(AmountType value) { this.shippingServiceAdditionalCost = value; } /** * Gets the value of the shippingServicePriority property. * * @return * possible object is * {@link Integer } * */ public Integer getShippingServicePriority() { return shippingServicePriority; } /** * Sets the value of the shippingServicePriority property. * * @param value * allowed object is * {@link Integer } * */ public void setShippingServicePriority(Integer value) { this.shippingServicePriority = value; } /** * Gets the value of the expeditedService property. * * @return * possible object is * {@link Boolean } * */ public Boolean isExpeditedService() { return expeditedService; } /** * Sets the value of the expeditedService property. * * @param value * allowed object is * {@link Boolean } * */ public void setExpeditedService(Boolean value) { this.expeditedService = value; } /** * Gets the value of the shippingTimeMin property. * * @return * possible object is * {@link Integer } * */ public Integer getShippingTimeMin() { return shippingTimeMin; } /** * Sets the value of the shippingTimeMin property. * * @param value * allowed object is * {@link Integer } * */ public void setShippingTimeMin(Integer value) { this.shippingTimeMin = value; } /** * Gets the value of the shippingTimeMax property. * * @return * possible object is * {@link Integer } * */ public Integer getShippingTimeMax() { return shippingTimeMax; } /** * Sets the value of the shippingTimeMax property. * * @param value * allowed object is * {@link Integer } * */ public void setShippingTimeMax(Integer value) { this.shippingTimeMax = value; } /** * Gets the value of the shippingSurcharge property. * * @return * possible object is * {@link AmountType } * */ public AmountType getShippingSurcharge() { return shippingSurcharge; } /** * Sets the value of the shippingSurcharge property. * * @param value * allowed object is * {@link AmountType } * */ public void setShippingSurcharge(AmountType value) { this.shippingSurcharge = value; } /** * Gets the value of the shipsTo 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 shipsTo property. * *

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

     *    getShipsTo().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link String } * * */ public List getShipsTo() { if (shipsTo == null) { shipsTo = new ArrayList(); } return this.shipsTo; } /** * Gets the value of the estimatedDeliveryMinTime property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getEstimatedDeliveryMinTime() { return estimatedDeliveryMinTime; } /** * Sets the value of the estimatedDeliveryMinTime property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setEstimatedDeliveryMinTime(XMLGregorianCalendar value) { this.estimatedDeliveryMinTime = value; } /** * Gets the value of the estimatedDeliveryMaxTime property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getEstimatedDeliveryMaxTime() { return estimatedDeliveryMaxTime; } /** * Sets the value of the estimatedDeliveryMaxTime property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setEstimatedDeliveryMaxTime(XMLGregorianCalendar value) { this.estimatedDeliveryMaxTime = value; } /** * Gets the value of the fastAndFree property. * * @return * possible object is * {@link Boolean } * */ public Boolean isFastAndFree() { return fastAndFree; } /** * Sets the value of the fastAndFree property. * * @param value * allowed object is * {@link Boolean } * */ public void setFastAndFree(Boolean value) { this.fastAndFree = value; } /** * Gets the value of the shippingServiceCutOffTime property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getShippingServiceCutOffTime() { return shippingServiceCutOffTime; } /** * Sets the value of the shippingServiceCutOffTime property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setShippingServiceCutOffTime(XMLGregorianCalendar value) { this.shippingServiceCutOffTime = 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; } }