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

ebay.apis.shopping.eblbasecomponents.SellingStatusType 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;


/**
 * 
 * 				Contains various details about the current status of a listing. These
 * 				values are computed by eBay and cannot be specified at listing time.
 * 			
 * 
 * 

Java class for SellingStatusType complex type. * *

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

 * <complexType name="SellingStatusType">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="ConvertedCurrentPrice" type="{urn:ebay:apis:eBLBaseComponents}AmountType" minOccurs="0"/>
 *         <element name="CurrentPrice" type="{urn:ebay:apis:eBLBaseComponents}AmountType" minOccurs="0"/>
 *         <element name="QuantitySold" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
 *         <element name="QuantitySoldByPickupInStore" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
 *         <any processContents='lax' maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "SellingStatusType", propOrder = { "convertedCurrentPrice", "currentPrice", "quantitySold", "quantitySoldByPickupInStore", "any" }) public class SellingStatusType { @XmlElement(name = "ConvertedCurrentPrice") protected AmountType convertedCurrentPrice; @XmlElement(name = "CurrentPrice") protected AmountType currentPrice; @XmlElement(name = "QuantitySold") protected Integer quantitySold; @XmlElement(name = "QuantitySoldByPickupInStore") protected Integer quantitySoldByPickupInStore; @XmlAnyElement(lax = true) protected List any; /** * Gets the value of the convertedCurrentPrice property. * * @return * possible object is * {@link AmountType } * */ public AmountType getConvertedCurrentPrice() { return convertedCurrentPrice; } /** * Sets the value of the convertedCurrentPrice property. * * @param value * allowed object is * {@link AmountType } * */ public void setConvertedCurrentPrice(AmountType value) { this.convertedCurrentPrice = value; } /** * Gets the value of the currentPrice property. * * @return * possible object is * {@link AmountType } * */ public AmountType getCurrentPrice() { return currentPrice; } /** * Sets the value of the currentPrice property. * * @param value * allowed object is * {@link AmountType } * */ public void setCurrentPrice(AmountType value) { this.currentPrice = value; } /** * Gets the value of the quantitySold property. * * @return * possible object is * {@link Integer } * */ public Integer getQuantitySold() { return quantitySold; } /** * Sets the value of the quantitySold property. * * @param value * allowed object is * {@link Integer } * */ public void setQuantitySold(Integer value) { this.quantitySold = value; } /** * Gets the value of the quantitySoldByPickupInStore property. * * @return * possible object is * {@link Integer } * */ public Integer getQuantitySoldByPickupInStore() { return quantitySoldByPickupInStore; } /** * Sets the value of the quantitySoldByPickupInStore property. * * @param value * allowed object is * {@link Integer } * */ public void setQuantitySoldByPickupInStore(Integer value) { this.quantitySoldByPickupInStore = 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; } }