Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
8616 vikram.rag 1
//
2
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 
3
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
4
// Any modifications to this file will be lost upon recompilation of the source schema. 
5
// Generated on: 2013.10.28 at 11:36:01 AM IST 
6
//
7
 
8
 
9
package pricing;
10
 
11
import java.util.ArrayList;
12
import java.util.List;
13
import javax.xml.bind.annotation.XmlAccessType;
14
import javax.xml.bind.annotation.XmlAccessorType;
15
import javax.xml.bind.annotation.XmlElement;
16
import javax.xml.bind.annotation.XmlRootElement;
17
import javax.xml.bind.annotation.XmlType;
18
 
19
 
20
/**
21
 * <p>Java class for anonymous complex type.
22
 * 
23
 * <p>The following schema fragment specifies the expected content contained within this class.
24
 * 
25
 * <pre>
26
 * &lt;complexType>
27
 *   &lt;complexContent>
28
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
29
 *       &lt;sequence>
30
 *         &lt;element name="FeedIdentifier" type="{http://www.w3.org/2001/XMLSchema}int"/>
31
 *         &lt;element name="CreateDate" type="{http://www.w3.org/2001/XMLSchema}string"/>
32
 *         &lt;element name="Price" maxOccurs="unbounded" minOccurs="0">
33
 *           &lt;complexType>
34
 *             &lt;complexContent>
35
 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
36
 *                 &lt;sequence>
37
 *                   &lt;element name="SKU" type="{http://www.w3.org/2001/XMLSchema}short"/>
38
 *                   &lt;element name="Mrp" type="{http://www.w3.org/2001/XMLSchema}short"/>
39
 *                   &lt;element name="SellingPrice" type="{http://www.w3.org/2001/XMLSchema}float"/>
40
 *                 &lt;/sequence>
41
 *               &lt;/restriction>
42
 *             &lt;/complexContent>
43
 *           &lt;/complexType>
44
 *         &lt;/element>
45
 *       &lt;/sequence>
46
 *     &lt;/restriction>
47
 *   &lt;/complexContent>
48
 * &lt;/complexType>
49
 * </pre>
50
 * 
51
 * 
52
 */
53
@XmlAccessorType(XmlAccessType.FIELD)
54
@XmlType(name = "", propOrder = {
55
    "feedIdentifier",
56
    "createDate",
57
    "price"
58
})
59
@XmlRootElement(name = "SaholicAPI")
60
public class SaholicAPI {
61
 
62
    @XmlElement(name = "FeedIdentifier")
8658 vikram.rag 63
    protected long feedIdentifier;
8616 vikram.rag 64
    @XmlElement(name = "CreateDate", required = true)
65
    protected String createDate;
66
    @XmlElement(name = "Price")
67
    protected List<SaholicAPI.Price> price;
68
 
69
    /**
70
     * Gets the value of the feedIdentifier property.
71
     * 
72
     */
8658 vikram.rag 73
    public long getFeedIdentifier() {
8616 vikram.rag 74
        return feedIdentifier;
75
    }
76
 
77
    /**
78
     * Sets the value of the feedIdentifier property.
79
     * 
80
     */
8658 vikram.rag 81
    public void setFeedIdentifier(long value) {
8616 vikram.rag 82
        this.feedIdentifier = value;
83
    }
84
 
85
    /**
86
     * Gets the value of the createDate property.
87
     * 
88
     * @return
89
     *     possible object is
90
     *     {@link String }
91
     *     
92
     */
93
    public String getCreateDate() {
94
        return createDate;
95
    }
96
 
97
    /**
98
     * Sets the value of the createDate property.
99
     * 
100
     * @param value
101
     *     allowed object is
102
     *     {@link String }
103
     *     
104
     */
105
    public void setCreateDate(String value) {
106
        this.createDate = value;
107
    }
108
 
109
    /**
110
     * Gets the value of the price property.
111
     * 
112
     * <p>
113
     * This accessor method returns a reference to the live list,
114
     * not a snapshot. Therefore any modification you make to the
115
     * returned list will be present inside the JAXB object.
116
     * This is why there is not a <CODE>set</CODE> method for the price property.
117
     * 
118
     * <p>
119
     * For example, to add a new item, do as follows:
120
     * <pre>
121
     *    getPrice().add(newItem);
122
     * </pre>
123
     * 
124
     * 
125
     * <p>
126
     * Objects of the following type(s) are allowed in the list
127
     * {@link SaholicAPI.Price }
128
     * 
129
     * 
130
     */
131
    public List<SaholicAPI.Price> getPrice() {
132
        if (price == null) {
133
            price = new ArrayList<SaholicAPI.Price>();
134
        }
135
        return this.price;
136
    }
137
 
138
 
139
    /**
140
     * <p>Java class for anonymous complex type.
141
     * 
142
     * <p>The following schema fragment specifies the expected content contained within this class.
143
     * 
144
     * <pre>
145
     * &lt;complexType>
146
     *   &lt;complexContent>
147
     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
148
     *       &lt;sequence>
149
     *         &lt;element name="SKU" type="{http://www.w3.org/2001/XMLSchema}short"/>
150
     *         &lt;element name="Mrp" type="{http://www.w3.org/2001/XMLSchema}short"/>
151
     *         &lt;element name="SellingPrice" type="{http://www.w3.org/2001/XMLSchema}float"/>
152
     *       &lt;/sequence>
153
     *     &lt;/restriction>
154
     *   &lt;/complexContent>
155
     * &lt;/complexType>
156
     * </pre>
157
     * 
158
     * 
159
     */
160
    @XmlAccessorType(XmlAccessType.FIELD)
161
    @XmlType(name = "", propOrder = {
162
        "sku",
163
        "mrp",
164
        "sellingPrice"
165
    })
166
    public static class Price {
167
 
168
        @XmlElement(name = "SKU")
169
        protected long sku;
170
        @XmlElement(name = "Mrp")
171
        protected double mrp;
172
        @XmlElement(name = "SellingPrice")
173
        protected double sellingPrice;
174
 
175
        /**
176
         * Gets the value of the sku property.
177
         * 
178
         */
179
        public long getSKU() {
180
            return sku;
181
        }
182
 
183
        /**
184
         * Sets the value of the sku property.
185
         * 
186
         */
187
        public void setSKU(long l) {
188
            this.sku = l;
189
        }
190
 
191
        /**
192
         * Gets the value of the mrp property.
193
         * 
194
         */
195
        public double getMrp() {
196
            return mrp;
197
        }
198
 
199
        /**
200
         * Sets the value of the mrp property.
201
         * 
202
         */
203
        public void setMrp(double d) {
204
            this.mrp = d;
205
        }
206
 
207
        /**
208
         * Gets the value of the sellingPrice property.
209
         * 
210
         */
211
        public double getSellingPrice() {
212
            return sellingPrice;
213
        }
214
 
215
        /**
216
         * Sets the value of the sellingPrice property.
217
         * 
218
         */
219
        public void setSellingPrice(double d) {
220
            this.sellingPrice = d;
221
        }
222
 
223
    }
224
 
225
}