Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
7487 kshitij.so 1
//
2
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 
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.03.04 at 03:49:29 PM IST 
6
//
7
 
8
 
9
package in.shop2020.feeds.products;
10
 
11
import javax.xml.bind.annotation.XmlAccessType;
12
import javax.xml.bind.annotation.XmlAccessorType;
13
import javax.xml.bind.annotation.XmlElement;
14
import javax.xml.bind.annotation.XmlRootElement;
15
import javax.xml.bind.annotation.XmlSchemaType;
16
import javax.xml.bind.annotation.XmlType;
17
import javax.xml.bind.annotation.adapters.NormalizedStringAdapter;
18
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
19
import javax.xml.datatype.XMLGregorianCalendar;
20
 
21
 
22
/**
23
 * <p>Java class for anonymous complex type.
24
 * 
25
 * <p>The following schema fragment specifies the expected content contained within this class.
26
 * 
27
 * <pre>
28
 * &lt;complexType>
29
 *   &lt;complexContent>
30
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
31
 *       &lt;sequence>
32
 *         &lt;element ref="{}SKU"/>
33
 *         &lt;element name="StandardPrice" type="{}OverrideCurrencyAmount"/>
34
 *         &lt;element name="MAP" type="{}OverrideCurrencyAmount" minOccurs="0"/>
35
 *         &lt;element name="DepositAmount" type="{}CurrencyAmountWithDefault" minOccurs="0"/>
36
 *         &lt;element name="Sale" minOccurs="0">
37
 *           &lt;complexType>
38
 *             &lt;complexContent>
39
 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
40
 *                 &lt;sequence>
41
 *                   &lt;element name="StartDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
42
 *                   &lt;element name="EndDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
43
 *                   &lt;element name="SalePrice" type="{}OverrideCurrencyAmount"/>
44
 *                 &lt;/sequence>
45
 *               &lt;/restriction>
46
 *             &lt;/complexContent>
47
 *           &lt;/complexType>
48
 *         &lt;/element>
49
 *         &lt;element name="Previous" type="{}DatedPrice" minOccurs="0"/>
50
 *       &lt;/sequence>
51
 *     &lt;/restriction>
52
 *   &lt;/complexContent>
53
 * &lt;/complexType>
54
 * </pre>
55
 * 
56
 * 
57
 */
58
@XmlAccessorType(XmlAccessType.FIELD)
59
@XmlType(name = "", propOrder = {
60
    "sku",
61
    "standardPrice",
62
    "map",
63
    "depositAmount",
64
    "sale",
65
    "previous"
66
})
67
@XmlRootElement(name = "Price")
68
public class Price {
69
 
70
    @XmlElement(name = "SKU", required = true)
71
    @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
72
    protected String sku;
73
    @XmlElement(name = "StandardPrice", required = true)
74
    protected OverrideCurrencyAmount standardPrice;
75
    @XmlElement(name = "MAP")
76
    protected OverrideCurrencyAmount map;
77
    @XmlElement(name = "DepositAmount")
78
    protected CurrencyAmountWithDefault depositAmount;
79
    @XmlElement(name = "Sale")
80
    protected Price.Sale sale;
81
    @XmlElement(name = "Previous")
82
    protected DatedPrice previous;
83
 
84
    /**
85
     * Gets the value of the sku property.
86
     * 
87
     * @return
88
     *     possible object is
89
     *     {@link String }
90
     *     
91
     */
92
    public String getSKU() {
93
        return sku;
94
    }
95
 
96
    /**
97
     * Sets the value of the sku property.
98
     * 
99
     * @param value
100
     *     allowed object is
101
     *     {@link String }
102
     *     
103
     */
104
    public void setSKU(String value) {
105
        this.sku = value;
106
    }
107
 
108
    /**
109
     * Gets the value of the standardPrice property.
110
     * 
111
     * @return
112
     *     possible object is
113
     *     {@link OverrideCurrencyAmount }
114
     *     
115
     */
116
    public OverrideCurrencyAmount getStandardPrice() {
117
        return standardPrice;
118
    }
119
 
120
    /**
121
     * Sets the value of the standardPrice property.
122
     * 
123
     * @param value
124
     *     allowed object is
125
     *     {@link OverrideCurrencyAmount }
126
     *     
127
     */
128
    public void setStandardPrice(OverrideCurrencyAmount value) {
129
        this.standardPrice = value;
130
    }
131
 
132
    /**
133
     * Gets the value of the map property.
134
     * 
135
     * @return
136
     *     possible object is
137
     *     {@link OverrideCurrencyAmount }
138
     *     
139
     */
140
    public OverrideCurrencyAmount getMAP() {
141
        return map;
142
    }
143
 
144
    /**
145
     * Sets the value of the map property.
146
     * 
147
     * @param value
148
     *     allowed object is
149
     *     {@link OverrideCurrencyAmount }
150
     *     
151
     */
152
    public void setMAP(OverrideCurrencyAmount value) {
153
        this.map = value;
154
    }
155
 
156
    /**
157
     * Gets the value of the depositAmount property.
158
     * 
159
     * @return
160
     *     possible object is
161
     *     {@link CurrencyAmountWithDefault }
162
     *     
163
     */
164
    public CurrencyAmountWithDefault getDepositAmount() {
165
        return depositAmount;
166
    }
167
 
168
    /**
169
     * Sets the value of the depositAmount property.
170
     * 
171
     * @param value
172
     *     allowed object is
173
     *     {@link CurrencyAmountWithDefault }
174
     *     
175
     */
176
    public void setDepositAmount(CurrencyAmountWithDefault value) {
177
        this.depositAmount = value;
178
    }
179
 
180
    /**
181
     * Gets the value of the sale property.
182
     * 
183
     * @return
184
     *     possible object is
185
     *     {@link Price.Sale }
186
     *     
187
     */
188
    public Price.Sale getSale() {
189
        return sale;
190
    }
191
 
192
    /**
193
     * Sets the value of the sale property.
194
     * 
195
     * @param value
196
     *     allowed object is
197
     *     {@link Price.Sale }
198
     *     
199
     */
200
    public void setSale(Price.Sale value) {
201
        this.sale = value;
202
    }
203
 
204
    /**
205
     * Gets the value of the previous property.
206
     * 
207
     * @return
208
     *     possible object is
209
     *     {@link DatedPrice }
210
     *     
211
     */
212
    public DatedPrice getPrevious() {
213
        return previous;
214
    }
215
 
216
    /**
217
     * Sets the value of the previous property.
218
     * 
219
     * @param value
220
     *     allowed object is
221
     *     {@link DatedPrice }
222
     *     
223
     */
224
    public void setPrevious(DatedPrice value) {
225
        this.previous = value;
226
    }
227
 
228
 
229
    /**
230
     * <p>Java class for anonymous complex type.
231
     * 
232
     * <p>The following schema fragment specifies the expected content contained within this class.
233
     * 
234
     * <pre>
235
     * &lt;complexType>
236
     *   &lt;complexContent>
237
     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
238
     *       &lt;sequence>
239
     *         &lt;element name="StartDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
240
     *         &lt;element name="EndDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
241
     *         &lt;element name="SalePrice" type="{}OverrideCurrencyAmount"/>
242
     *       &lt;/sequence>
243
     *     &lt;/restriction>
244
     *   &lt;/complexContent>
245
     * &lt;/complexType>
246
     * </pre>
247
     * 
248
     * 
249
     */
250
    @XmlAccessorType(XmlAccessType.FIELD)
251
    @XmlType(name = "", propOrder = {
252
        "startDate",
253
        "endDate",
254
        "salePrice"
255
    })
256
    public static class Sale {
257
 
258
        @XmlElement(name = "StartDate", required = true)
259
        @XmlSchemaType(name = "dateTime")
260
        protected XMLGregorianCalendar startDate;
261
        @XmlElement(name = "EndDate", required = true)
262
        @XmlSchemaType(name = "dateTime")
263
        protected XMLGregorianCalendar endDate;
264
        @XmlElement(name = "SalePrice", required = true)
265
        protected OverrideCurrencyAmount salePrice;
266
 
267
        /**
268
         * Gets the value of the startDate property.
269
         * 
270
         * @return
271
         *     possible object is
272
         *     {@link XMLGregorianCalendar }
273
         *     
274
         */
275
        public XMLGregorianCalendar getStartDate() {
276
            return startDate;
277
        }
278
 
279
        /**
280
         * Sets the value of the startDate property.
281
         * 
282
         * @param value
283
         *     allowed object is
284
         *     {@link XMLGregorianCalendar }
285
         *     
286
         */
287
        public void setStartDate(XMLGregorianCalendar value) {
288
            this.startDate = value;
289
        }
290
 
291
        /**
292
         * Gets the value of the endDate property.
293
         * 
294
         * @return
295
         *     possible object is
296
         *     {@link XMLGregorianCalendar }
297
         *     
298
         */
299
        public XMLGregorianCalendar getEndDate() {
300
            return endDate;
301
        }
302
 
303
        /**
304
         * Sets the value of the endDate property.
305
         * 
306
         * @param value
307
         *     allowed object is
308
         *     {@link XMLGregorianCalendar }
309
         *     
310
         */
311
        public void setEndDate(XMLGregorianCalendar value) {
312
            this.endDate = value;
313
        }
314
 
315
        /**
316
         * Gets the value of the salePrice property.
317
         * 
318
         * @return
319
         *     possible object is
320
         *     {@link OverrideCurrencyAmount }
321
         *     
322
         */
323
        public OverrideCurrencyAmount getSalePrice() {
324
            return salePrice;
325
        }
326
 
327
        /**
328
         * Sets the value of the salePrice property.
329
         * 
330
         * @param value
331
         *     allowed object is
332
         *     {@link OverrideCurrencyAmount }
333
         *     
334
         */
335
        public void setSalePrice(OverrideCurrencyAmount value) {
336
            this.salePrice = value;
337
        }
338
 
339
    }
340
 
341
}