Subversion Repositories SmartDukaan

Rev

Rev 8616 | Blame | Compare with Previous | Last modification | View Log | RSS feed

//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2013.10.28 at 11:36:01 AM IST 
//


package pricing;

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.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for anonymous complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType>
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="FeedIdentifier" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         &lt;element name="CreateDate" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="Price" maxOccurs="unbounded" minOccurs="0">
 *           &lt;complexType>
 *             &lt;complexContent>
 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 &lt;sequence>
 *                   &lt;element name="SKU" type="{http://www.w3.org/2001/XMLSchema}short"/>
 *                   &lt;element name="Mrp" type="{http://www.w3.org/2001/XMLSchema}short"/>
 *                   &lt;element name="SellingPrice" type="{http://www.w3.org/2001/XMLSchema}float"/>
 *                 &lt;/sequence>
 *               &lt;/restriction>
 *             &lt;/complexContent>
 *           &lt;/complexType>
 *         &lt;/element>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
    "feedIdentifier",
    "createDate",
    "price"
})
@XmlRootElement(name = "SaholicAPI")
public class SaholicAPI {

    @XmlElement(name = "FeedIdentifier")
    protected long feedIdentifier;
    @XmlElement(name = "CreateDate", required = true)
    protected String createDate;
    @XmlElement(name = "Price")
    protected List<SaholicAPI.Price> price;

    /**
     * Gets the value of the feedIdentifier property.
     * 
     */
    public long getFeedIdentifier() {
        return feedIdentifier;
    }

    /**
     * Sets the value of the feedIdentifier property.
     * 
     */
    public void setFeedIdentifier(long value) {
        this.feedIdentifier = value;
    }

    /**
     * Gets the value of the createDate property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getCreateDate() {
        return createDate;
    }

    /**
     * Sets the value of the createDate property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setCreateDate(String value) {
        this.createDate = value;
    }

    /**
     * Gets the value of the price property.
     * 
     * <p>
     * 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 <CODE>set</CODE> method for the price property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getPrice().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link SaholicAPI.Price }
     * 
     * 
     */
    public List<SaholicAPI.Price> getPrice() {
        if (price == null) {
            price = new ArrayList<SaholicAPI.Price>();
        }
        return this.price;
    }


    /**
     * <p>Java class for anonymous complex type.
     * 
     * <p>The following schema fragment specifies the expected content contained within this class.
     * 
     * <pre>
     * &lt;complexType>
     *   &lt;complexContent>
     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *       &lt;sequence>
     *         &lt;element name="SKU" type="{http://www.w3.org/2001/XMLSchema}short"/>
     *         &lt;element name="Mrp" type="{http://www.w3.org/2001/XMLSchema}short"/>
     *         &lt;element name="SellingPrice" type="{http://www.w3.org/2001/XMLSchema}float"/>
     *       &lt;/sequence>
     *     &lt;/restriction>
     *   &lt;/complexContent>
     * &lt;/complexType>
     * </pre>
     * 
     * 
     */
    @XmlAccessorType(XmlAccessType.FIELD)
    @XmlType(name = "", propOrder = {
        "sku",
        "mrp",
        "sellingPrice"
    })
    public static class Price {

        @XmlElement(name = "SKU")
        protected long sku;
        @XmlElement(name = "Mrp")
        protected double mrp;
        @XmlElement(name = "SellingPrice")
        protected double sellingPrice;

        /**
         * Gets the value of the sku property.
         * 
         */
        public long getSKU() {
            return sku;
        }

        /**
         * Sets the value of the sku property.
         * 
         */
        public void setSKU(long l) {
            this.sku = l;
        }

        /**
         * Gets the value of the mrp property.
         * 
         */
        public double getMrp() {
            return mrp;
        }

        /**
         * Sets the value of the mrp property.
         * 
         */
        public void setMrp(double d) {
            this.mrp = d;
        }

        /**
         * Gets the value of the sellingPrice property.
         * 
         */
        public double getSellingPrice() {
            return sellingPrice;
        }

        /**
         * Sets the value of the sellingPrice property.
         * 
         */
        public void setSellingPrice(double d) {
            this.sellingPrice = d;
        }

    }

}