Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
9777 manish.sha 1
//
2
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 
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: 2014.02.05 at 12:01:10 PM IST 
6
//
7
 
8
 
9
package com.amazonaws.mws.model;
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.XmlSchemaType;
17
import javax.xml.bind.annotation.XmlType;
18
import javax.xml.datatype.XMLGregorianCalendar;
19
 
20
 
21
/**
22
 * <p>Java class for anonymous complex type.
23
 * 
24
 * <p>The following schema fragment specifies the expected content contained within this class.
25
 * 
26
 * <pre>
27
 * &lt;complexType>
28
 *   &lt;complexContent>
29
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
30
 *       &lt;sequence>
31
 *         &lt;element name="AmazonOrderID" type="{http://www.w3.org/2001/XMLSchema}string"/>
32
 *         &lt;element name="MerchantOrderID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
33
 *         &lt;element name="PurchaseDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
34
 *         &lt;element name="LastUpdatedDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
35
 *         &lt;element name="OrderStatus" type="{http://www.w3.org/2001/XMLSchema}string"/>
36
 *         &lt;element name="SalesChannel" type="{http://www.w3.org/2001/XMLSchema}string"/>
37
 *         &lt;element name="URL" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
38
 *         &lt;element name="FulfillmentData">
39
 *           &lt;complexType>
40
 *             &lt;complexContent>
41
 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
42
 *                 &lt;sequence>
43
 *                   &lt;element name="FulfillmentChannel" type="{http://www.w3.org/2001/XMLSchema}string"/>
44
 *                   &lt;element name="ShipServiceLevel" type="{http://www.w3.org/2001/XMLSchema}string"/>
45
 *                   &lt;element name="Address">
46
 *                     &lt;complexType>
47
 *                       &lt;complexContent>
48
 *                         &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
49
 *                           &lt;sequence>
50
 *                             &lt;element name="City" type="{http://www.w3.org/2001/XMLSchema}string"/>
51
 *                             &lt;element name="State" type="{http://www.w3.org/2001/XMLSchema}string"/>
52
 *                             &lt;element name="PostalCode" type="{http://www.w3.org/2001/XMLSchema}int"/>
53
 *                             &lt;element name="Country" type="{http://www.w3.org/2001/XMLSchema}string"/>
54
 *                           &lt;/sequence>
55
 *                         &lt;/restriction>
56
 *                       &lt;/complexContent>
57
 *                     &lt;/complexType>
58
 *                   &lt;/element>
59
 *                 &lt;/sequence>
60
 *               &lt;/restriction>
61
 *             &lt;/complexContent>
62
 *           &lt;/complexType>
63
 *         &lt;/element>
64
 *         &lt;element name="OrderItem" maxOccurs="unbounded" minOccurs="0">
65
 *           &lt;complexType>
66
 *             &lt;complexContent>
67
 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
68
 *                 &lt;sequence>
69
 *                   &lt;element name="ASIN" type="{http://www.w3.org/2001/XMLSchema}string"/>
70
 *                   &lt;element name="SKU" type="{http://www.w3.org/2001/XMLSchema}string"/>
71
 *                   &lt;element name="ItemStatus" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
72
 *                   &lt;element name="ProductName" type="{http://www.w3.org/2001/XMLSchema}string"/>
73
 *                   &lt;element name="Quantity" type="{http://www.w3.org/2001/XMLSchema}byte"/>
74
 *                   &lt;element name="ItemPrice" minOccurs="0">
75
 *                     &lt;complexType>
76
 *                       &lt;complexContent>
77
 *                         &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
78
 *                           &lt;sequence>
79
 *                             &lt;element name="Component" maxOccurs="unbounded" minOccurs="0">
80
 *                               &lt;complexType>
81
 *                                 &lt;complexContent>
82
 *                                   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
83
 *                                     &lt;sequence>
84
 *                                       &lt;element name="Type" type="{http://www.w3.org/2001/XMLSchema}string"/>
85
 *                                       &lt;element name="Amount">
86
 *                                         &lt;complexType>
87
 *                                           &lt;simpleContent>
88
 *                                             &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>float">
89
 *                                               &lt;attribute name="currency" type="{http://www.w3.org/2001/XMLSchema}string" />
90
 *                                             &lt;/extension>
91
 *                                           &lt;/simpleContent>
92
 *                                         &lt;/complexType>
93
 *                                       &lt;/element>
94
 *                                     &lt;/sequence>
95
 *                                   &lt;/restriction>
96
 *                                 &lt;/complexContent>
97
 *                               &lt;/complexType>
98
 *                             &lt;/element>
99
 *                           &lt;/sequence>
100
 *                         &lt;/restriction>
101
 *                       &lt;/complexContent>
102
 *                     &lt;/complexType>
103
 *                   &lt;/element>
104
 *                   &lt;element name="Promotion" minOccurs="0">
105
 *                     &lt;complexType>
106
 *                       &lt;complexContent>
107
 *                         &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
108
 *                           &lt;sequence>
109
 *                             &lt;element name="ShipPromotionDiscount" type="{http://www.w3.org/2001/XMLSchema}float"/>
110
 *                             &lt;element name="ItemPromotionDiscount" type="{http://www.w3.org/2001/XMLSchema}float" minOccurs="0"/>
111
 *                           &lt;/sequence>
112
 *                         &lt;/restriction>
113
 *                       &lt;/complexContent>
114
 *                     &lt;/complexType>
115
 *                   &lt;/element>
116
 *                 &lt;/sequence>
117
 *               &lt;/restriction>
118
 *             &lt;/complexContent>
119
 *           &lt;/complexType>
120
 *         &lt;/element>
121
 *       &lt;/sequence>
122
 *     &lt;/restriction>
123
 *   &lt;/complexContent>
124
 * &lt;/complexType>
125
 * </pre>
126
 * 
127
 * 
128
 */
129
@XmlAccessorType(XmlAccessType.FIELD)
130
@XmlType(name = "", propOrder = {
131
    "amazonOrderID",
132
    "merchantOrderID",
133
    "purchaseDate",
134
    "lastUpdatedDate",
135
    "orderStatus",
136
    "salesChannel",
137
    "url",
138
    "fulfillmentData",
139
    "orderItem"
140
})
141
public class Order {
142
 
143
    @XmlElement(name = "AmazonOrderID", required = true)
144
    protected String amazonOrderID;
145
    @XmlElement(name = "MerchantOrderID")
146
    protected String merchantOrderID;
147
    @XmlElement(name = "PurchaseDate", required = true)
148
    @XmlSchemaType(name = "dateTime")
149
    protected XMLGregorianCalendar purchaseDate;
150
    @XmlElement(name = "LastUpdatedDate", required = true)
151
    @XmlSchemaType(name = "dateTime")
152
    protected XMLGregorianCalendar lastUpdatedDate;
153
    @XmlElement(name = "OrderStatus", required = true)
154
    protected String orderStatus;
155
    @XmlElement(name = "SalesChannel", required = true)
156
    protected String salesChannel;
157
    @XmlElement(name = "URL")
158
    @XmlSchemaType(name = "anyURI")
159
    protected String url;
160
    @XmlElement(name = "FulfillmentData", required = true)
161
    protected FulfillmentData fulfillmentData;
162
    @XmlElement(name = "OrderItem")
163
    protected List<OrderItem> orderItem;
164
 
165
    /**
166
     * Gets the value of the amazonOrderID property.
167
     * 
168
     * @return
169
     *     possible object is
170
     *     {@link String }
171
     *     
172
     */
173
    public String getAmazonOrderID() {
174
        return amazonOrderID;
175
    }
176
 
177
    /**
178
     * Sets the value of the amazonOrderID property.
179
     * 
180
     * @param value
181
     *     allowed object is
182
     *     {@link String }
183
     *     
184
     */
185
    public void setAmazonOrderID(String value) {
186
        this.amazonOrderID = value;
187
    }
188
 
189
    /**
190
     * Gets the value of the merchantOrderID property.
191
     * 
192
     * @return
193
     *     possible object is
194
     *     {@link String }
195
     *     
196
     */
197
    public String getMerchantOrderID() {
198
        return merchantOrderID;
199
    }
200
 
201
    /**
202
     * Sets the value of the merchantOrderID property.
203
     * 
204
     * @param value
205
     *     allowed object is
206
     *     {@link String }
207
     *     
208
     */
209
    public void setMerchantOrderID(String value) {
210
        this.merchantOrderID = value;
211
    }
212
 
213
    /**
214
     * Gets the value of the purchaseDate property.
215
     * 
216
     * @return
217
     *     possible object is
218
     *     {@link XMLGregorianCalendar }
219
     *     
220
     */
221
    public XMLGregorianCalendar getPurchaseDate() {
222
        return purchaseDate;
223
    }
224
 
225
    /**
226
     * Sets the value of the purchaseDate property.
227
     * 
228
     * @param value
229
     *     allowed object is
230
     *     {@link XMLGregorianCalendar }
231
     *     
232
     */
233
    public void setPurchaseDate(XMLGregorianCalendar value) {
234
        this.purchaseDate = value;
235
    }
236
 
237
    /**
238
     * Gets the value of the lastUpdatedDate property.
239
     * 
240
     * @return
241
     *     possible object is
242
     *     {@link XMLGregorianCalendar }
243
     *     
244
     */
245
    public XMLGregorianCalendar getLastUpdatedDate() {
246
        return lastUpdatedDate;
247
    }
248
 
249
    /**
250
     * Sets the value of the lastUpdatedDate property.
251
     * 
252
     * @param value
253
     *     allowed object is
254
     *     {@link XMLGregorianCalendar }
255
     *     
256
     */
257
    public void setLastUpdatedDate(XMLGregorianCalendar value) {
258
        this.lastUpdatedDate = value;
259
    }
260
 
261
    /**
262
     * Gets the value of the orderStatus property.
263
     * 
264
     * @return
265
     *     possible object is
266
     *     {@link String }
267
     *     
268
     */
269
    public String getOrderStatus() {
270
        return orderStatus;
271
    }
272
 
273
    /**
274
     * Sets the value of the orderStatus property.
275
     * 
276
     * @param value
277
     *     allowed object is
278
     *     {@link String }
279
     *     
280
     */
281
    public void setOrderStatus(String value) {
282
        this.orderStatus = value;
283
    }
284
 
285
    /**
286
     * Gets the value of the salesChannel property.
287
     * 
288
     * @return
289
     *     possible object is
290
     *     {@link String }
291
     *     
292
     */
293
    public String getSalesChannel() {
294
        return salesChannel;
295
    }
296
 
297
    /**
298
     * Sets the value of the salesChannel property.
299
     * 
300
     * @param value
301
     *     allowed object is
302
     *     {@link String }
303
     *     
304
     */
305
    public void setSalesChannel(String value) {
306
        this.salesChannel = value;
307
    }
308
 
309
    /**
310
     * Gets the value of the url property.
311
     * 
312
     * @return
313
     *     possible object is
314
     *     {@link String }
315
     *     
316
     */
317
    public String getURL() {
318
        return url;
319
    }
320
 
321
    /**
322
     * Sets the value of the url property.
323
     * 
324
     * @param value
325
     *     allowed object is
326
     *     {@link String }
327
     *     
328
     */
329
    public void setURL(String value) {
330
        this.url = value;
331
    }
332
 
333
    /**
334
     * Gets the value of the fulfillmentData property.
335
     * 
336
     * @return
337
     *     possible object is
338
     *     {@link FulfillmentData }
339
     *     
340
     */
341
    public FulfillmentData getFulfillmentData() {
342
        return fulfillmentData;
343
    }
344
 
345
    /**
346
     * Sets the value of the fulfillmentData property.
347
     * 
348
     * @param value
349
     *     allowed object is
350
     *     {@link FulfillmentData }
351
     *     
352
     */
353
    public void setFulfillmentData(FulfillmentData value) {
354
        this.fulfillmentData = value;
355
    }
356
 
357
    /**
358
     * Gets the value of the orderItem property.
359
     * 
360
     * <p>
361
     * This accessor method returns a reference to the live list,
362
     * not a snapshot. Therefore any modification you make to the
363
     * returned list will be present inside the JAXB object.
364
     * This is why there is not a <CODE>set</CODE> method for the orderItem property.
365
     * 
366
     * <p>
367
     * For example, to add a new item, do as follows:
368
     * <pre>
369
     *    getOrderItem().add(newItem);
370
     * </pre>
371
     * 
372
     * 
373
     * <p>
374
     * Objects of the following type(s) are allowed in the list
375
     * {@link OrderItem }
376
     * 
377
     * 
378
     */
379
    public List<OrderItem> getOrderItem() {
380
        if (orderItem == null) {
381
            orderItem = new ArrayList<OrderItem>();
382
        }
383
        return this.orderItem;
384
    }
385
 
386
}