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 java.math.BigInteger;
12
import java.util.ArrayList;
13
import java.util.List;
14
import javax.xml.bind.annotation.XmlAccessType;
15
import javax.xml.bind.annotation.XmlAccessorType;
16
import javax.xml.bind.annotation.XmlElement;
17
import javax.xml.bind.annotation.XmlRootElement;
18
import javax.xml.bind.annotation.XmlSchemaType;
19
import javax.xml.bind.annotation.XmlType;
20
import javax.xml.bind.annotation.adapters.NormalizedStringAdapter;
21
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
22
import javax.xml.datatype.XMLGregorianCalendar;
23
 
24
 
25
/**
26
 * <p>Java class for anonymous complex type.
27
 * 
28
 * <p>The following schema fragment specifies the expected content contained within this class.
29
 * 
30
 * <pre>
31
 * &lt;complexType>
32
 *   &lt;complexContent>
33
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
34
 *       &lt;sequence>
35
 *         &lt;choice>
36
 *           &lt;element ref="{}AmazonOrderID"/>
37
 *           &lt;element ref="{}MerchantOrderID"/>
38
 *         &lt;/choice>
39
 *         &lt;element name="MerchantFulfillmentID" type="{}IDNumber" minOccurs="0"/>
40
 *         &lt;element name="FulfillmentDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
41
 *         &lt;element name="FulfillmentData" minOccurs="0">
42
 *           &lt;complexType>
43
 *             &lt;complexContent>
44
 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
45
 *                 &lt;sequence>
46
 *                   &lt;choice>
47
 *                     &lt;element ref="{}CarrierCode"/>
48
 *                     &lt;element name="CarrierName" type="{}String"/>
49
 *                   &lt;/choice>
50
 *                   &lt;element name="ShippingMethod" type="{}String" minOccurs="0"/>
51
 *                   &lt;element name="ShipperTrackingNumber" type="{}String" minOccurs="0"/>
52
 *                 &lt;/sequence>
53
 *               &lt;/restriction>
54
 *             &lt;/complexContent>
55
 *           &lt;/complexType>
56
 *         &lt;/element>
57
 *         &lt;element name="Item" maxOccurs="unbounded" minOccurs="0">
58
 *           &lt;complexType>
59
 *             &lt;complexContent>
60
 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
61
 *                 &lt;sequence>
62
 *                   &lt;choice>
63
 *                     &lt;element ref="{}AmazonOrderItemCode"/>
64
 *                     &lt;element ref="{}MerchantOrderItemID"/>
65
 *                   &lt;/choice>
66
 *                   &lt;element name="MerchantFulfillmentItemID" type="{}IDNumber" minOccurs="0"/>
67
 *                   &lt;element name="Quantity" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>
68
 *                 &lt;/sequence>
69
 *               &lt;/restriction>
70
 *             &lt;/complexContent>
71
 *           &lt;/complexType>
72
 *         &lt;/element>
73
 *       &lt;/sequence>
74
 *     &lt;/restriction>
75
 *   &lt;/complexContent>
76
 * &lt;/complexType>
77
 * </pre>
78
 * 
79
 * 
80
 */
81
@XmlAccessorType(XmlAccessType.FIELD)
82
@XmlType(name = "", propOrder = {
83
    "amazonOrderID",
84
    "merchantOrderID",
85
    "merchantFulfillmentID",
86
    "fulfillmentDate",
87
    "fulfillmentData",
88
    "item"
89
})
90
@XmlRootElement(name = "OrderFulfillment")
91
public class OrderFulfillment {
92
 
93
    @XmlElement(name = "AmazonOrderID")
94
    protected String amazonOrderID;
95
    @XmlElement(name = "MerchantOrderID")
96
    @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
97
    protected String merchantOrderID;
98
    @XmlElement(name = "MerchantFulfillmentID")
99
    protected BigInteger merchantFulfillmentID;
100
    @XmlElement(name = "FulfillmentDate", required = true)
101
    @XmlSchemaType(name = "dateTime")
102
    protected XMLGregorianCalendar fulfillmentDate;
103
    @XmlElement(name = "FulfillmentData")
104
    protected OrderFulfillment.FulfillmentData fulfillmentData;
105
    @XmlElement(name = "Item")
106
    protected List<OrderFulfillment.Item> item;
107
 
108
    /**
109
     * Gets the value of the amazonOrderID property.
110
     * 
111
     * @return
112
     *     possible object is
113
     *     {@link String }
114
     *     
115
     */
116
    public String getAmazonOrderID() {
117
        return amazonOrderID;
118
    }
119
 
120
    /**
121
     * Sets the value of the amazonOrderID property.
122
     * 
123
     * @param value
124
     *     allowed object is
125
     *     {@link String }
126
     *     
127
     */
128
    public void setAmazonOrderID(String value) {
129
        this.amazonOrderID = value;
130
    }
131
 
132
    /**
133
     * Gets the value of the merchantOrderID property.
134
     * 
135
     * @return
136
     *     possible object is
137
     *     {@link String }
138
     *     
139
     */
140
    public String getMerchantOrderID() {
141
        return merchantOrderID;
142
    }
143
 
144
    /**
145
     * Sets the value of the merchantOrderID property.
146
     * 
147
     * @param value
148
     *     allowed object is
149
     *     {@link String }
150
     *     
151
     */
152
    public void setMerchantOrderID(String value) {
153
        this.merchantOrderID = value;
154
    }
155
 
156
    /**
157
     * Gets the value of the merchantFulfillmentID property.
158
     * 
159
     * @return
160
     *     possible object is
161
     *     {@link BigInteger }
162
     *     
163
     */
164
    public BigInteger getMerchantFulfillmentID() {
165
        return merchantFulfillmentID;
166
    }
167
 
168
    /**
169
     * Sets the value of the merchantFulfillmentID property.
170
     * 
171
     * @param value
172
     *     allowed object is
173
     *     {@link BigInteger }
174
     *     
175
     */
176
    public void setMerchantFulfillmentID(BigInteger value) {
177
        this.merchantFulfillmentID = value;
178
    }
179
 
180
    /**
181
     * Gets the value of the fulfillmentDate property.
182
     * 
183
     * @return
184
     *     possible object is
185
     *     {@link XMLGregorianCalendar }
186
     *     
187
     */
188
    public XMLGregorianCalendar getFulfillmentDate() {
189
        return fulfillmentDate;
190
    }
191
 
192
    /**
193
     * Sets the value of the fulfillmentDate property.
194
     * 
195
     * @param value
196
     *     allowed object is
197
     *     {@link XMLGregorianCalendar }
198
     *     
199
     */
200
    public void setFulfillmentDate(XMLGregorianCalendar value) {
201
        this.fulfillmentDate = value;
202
    }
203
 
204
    /**
205
     * Gets the value of the fulfillmentData property.
206
     * 
207
     * @return
208
     *     possible object is
209
     *     {@link OrderFulfillment.FulfillmentData }
210
     *     
211
     */
212
    public OrderFulfillment.FulfillmentData getFulfillmentData() {
213
        return fulfillmentData;
214
    }
215
 
216
    /**
217
     * Sets the value of the fulfillmentData property.
218
     * 
219
     * @param value
220
     *     allowed object is
221
     *     {@link OrderFulfillment.FulfillmentData }
222
     *     
223
     */
224
    public void setFulfillmentData(OrderFulfillment.FulfillmentData value) {
225
        this.fulfillmentData = value;
226
    }
227
 
228
    /**
229
     * Gets the value of the item property.
230
     * 
231
     * <p>
232
     * This accessor method returns a reference to the live list,
233
     * not a snapshot. Therefore any modification you make to the
234
     * returned list will be present inside the JAXB object.
235
     * This is why there is not a <CODE>set</CODE> method for the item property.
236
     * 
237
     * <p>
238
     * For example, to add a new item, do as follows:
239
     * <pre>
240
     *    getItem().add(newItem);
241
     * </pre>
242
     * 
243
     * 
244
     * <p>
245
     * Objects of the following type(s) are allowed in the list
246
     * {@link OrderFulfillment.Item }
247
     * 
248
     * 
249
     */
250
    public List<OrderFulfillment.Item> getItem() {
251
        if (item == null) {
252
            item = new ArrayList<OrderFulfillment.Item>();
253
        }
254
        return this.item;
255
    }
256
 
257
 
258
    /**
259
     * <p>Java class for anonymous complex type.
260
     * 
261
     * <p>The following schema fragment specifies the expected content contained within this class.
262
     * 
263
     * <pre>
264
     * &lt;complexType>
265
     *   &lt;complexContent>
266
     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
267
     *       &lt;sequence>
268
     *         &lt;choice>
269
     *           &lt;element ref="{}CarrierCode"/>
270
     *           &lt;element name="CarrierName" type="{}String"/>
271
     *         &lt;/choice>
272
     *         &lt;element name="ShippingMethod" type="{}String" minOccurs="0"/>
273
     *         &lt;element name="ShipperTrackingNumber" type="{}String" minOccurs="0"/>
274
     *       &lt;/sequence>
275
     *     &lt;/restriction>
276
     *   &lt;/complexContent>
277
     * &lt;/complexType>
278
     * </pre>
279
     * 
280
     * 
281
     */
282
    @XmlAccessorType(XmlAccessType.FIELD)
283
    @XmlType(name = "", propOrder = {
284
        "carrierCode",
285
        "carrierName",
286
        "shippingMethod",
287
        "shipperTrackingNumber"
288
    })
289
    public static class FulfillmentData {
290
 
291
        @XmlElement(name = "CarrierCode")
292
        protected String carrierCode;
293
        @XmlElement(name = "CarrierName")
294
        @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
295
        protected String carrierName;
296
        @XmlElement(name = "ShippingMethod")
297
        @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
298
        protected String shippingMethod;
299
        @XmlElement(name = "ShipperTrackingNumber")
300
        @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
301
        protected String shipperTrackingNumber;
302
 
303
        /**
304
         * Gets the value of the carrierCode property.
305
         * 
306
         * @return
307
         *     possible object is
308
         *     {@link String }
309
         *     
310
         */
311
        public String getCarrierCode() {
312
            return carrierCode;
313
        }
314
 
315
        /**
316
         * Sets the value of the carrierCode property.
317
         * 
318
         * @param value
319
         *     allowed object is
320
         *     {@link String }
321
         *     
322
         */
323
        public void setCarrierCode(String value) {
324
            this.carrierCode = value;
325
        }
326
 
327
        /**
328
         * Gets the value of the carrierName property.
329
         * 
330
         * @return
331
         *     possible object is
332
         *     {@link String }
333
         *     
334
         */
335
        public String getCarrierName() {
336
            return carrierName;
337
        }
338
 
339
        /**
340
         * Sets the value of the carrierName property.
341
         * 
342
         * @param value
343
         *     allowed object is
344
         *     {@link String }
345
         *     
346
         */
347
        public void setCarrierName(String value) {
348
            this.carrierName = value;
349
        }
350
 
351
        /**
352
         * Gets the value of the shippingMethod property.
353
         * 
354
         * @return
355
         *     possible object is
356
         *     {@link String }
357
         *     
358
         */
359
        public String getShippingMethod() {
360
            return shippingMethod;
361
        }
362
 
363
        /**
364
         * Sets the value of the shippingMethod property.
365
         * 
366
         * @param value
367
         *     allowed object is
368
         *     {@link String }
369
         *     
370
         */
371
        public void setShippingMethod(String value) {
372
            this.shippingMethod = value;
373
        }
374
 
375
        /**
376
         * Gets the value of the shipperTrackingNumber property.
377
         * 
378
         * @return
379
         *     possible object is
380
         *     {@link String }
381
         *     
382
         */
383
        public String getShipperTrackingNumber() {
384
            return shipperTrackingNumber;
385
        }
386
 
387
        /**
388
         * Sets the value of the shipperTrackingNumber property.
389
         * 
390
         * @param value
391
         *     allowed object is
392
         *     {@link String }
393
         *     
394
         */
395
        public void setShipperTrackingNumber(String value) {
396
            this.shipperTrackingNumber = value;
397
        }
398
 
399
    }
400
 
401
 
402
    /**
403
     * <p>Java class for anonymous complex type.
404
     * 
405
     * <p>The following schema fragment specifies the expected content contained within this class.
406
     * 
407
     * <pre>
408
     * &lt;complexType>
409
     *   &lt;complexContent>
410
     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
411
     *       &lt;sequence>
412
     *         &lt;choice>
413
     *           &lt;element ref="{}AmazonOrderItemCode"/>
414
     *           &lt;element ref="{}MerchantOrderItemID"/>
415
     *         &lt;/choice>
416
     *         &lt;element name="MerchantFulfillmentItemID" type="{}IDNumber" minOccurs="0"/>
417
     *         &lt;element name="Quantity" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>
418
     *       &lt;/sequence>
419
     *     &lt;/restriction>
420
     *   &lt;/complexContent>
421
     * &lt;/complexType>
422
     * </pre>
423
     * 
424
     * 
425
     */
426
    @XmlAccessorType(XmlAccessType.FIELD)
427
    @XmlType(name = "", propOrder = {
428
        "amazonOrderItemCode",
429
        "merchantOrderItemID",
430
        "merchantFulfillmentItemID",
431
        "quantity"
432
    })
433
    public static class Item {
434
 
435
        @XmlElement(name = "AmazonOrderItemCode")
436
        protected String amazonOrderItemCode;
437
        @XmlElement(name = "MerchantOrderItemID")
438
        @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
439
        protected String merchantOrderItemID;
440
        @XmlElement(name = "MerchantFulfillmentItemID")
441
        protected BigInteger merchantFulfillmentItemID;
442
        @XmlElement(name = "Quantity")
443
        @XmlSchemaType(name = "positiveInteger")
444
        protected BigInteger quantity;
445
 
446
        /**
447
         * Gets the value of the amazonOrderItemCode property.
448
         * 
449
         * @return
450
         *     possible object is
451
         *     {@link String }
452
         *     
453
         */
454
        public String getAmazonOrderItemCode() {
455
            return amazonOrderItemCode;
456
        }
457
 
458
        /**
459
         * Sets the value of the amazonOrderItemCode property.
460
         * 
461
         * @param value
462
         *     allowed object is
463
         *     {@link String }
464
         *     
465
         */
466
        public void setAmazonOrderItemCode(String value) {
467
            this.amazonOrderItemCode = value;
468
        }
469
 
470
        /**
471
         * Gets the value of the merchantOrderItemID property.
472
         * 
473
         * @return
474
         *     possible object is
475
         *     {@link String }
476
         *     
477
         */
478
        public String getMerchantOrderItemID() {
479
            return merchantOrderItemID;
480
        }
481
 
482
        /**
483
         * Sets the value of the merchantOrderItemID property.
484
         * 
485
         * @param value
486
         *     allowed object is
487
         *     {@link String }
488
         *     
489
         */
490
        public void setMerchantOrderItemID(String value) {
491
            this.merchantOrderItemID = value;
492
        }
493
 
494
        /**
495
         * Gets the value of the merchantFulfillmentItemID property.
496
         * 
497
         * @return
498
         *     possible object is
499
         *     {@link BigInteger }
500
         *     
501
         */
502
        public BigInteger getMerchantFulfillmentItemID() {
503
            return merchantFulfillmentItemID;
504
        }
505
 
506
        /**
507
         * Sets the value of the merchantFulfillmentItemID property.
508
         * 
509
         * @param value
510
         *     allowed object is
511
         *     {@link BigInteger }
512
         *     
513
         */
514
        public void setMerchantFulfillmentItemID(BigInteger value) {
515
            this.merchantFulfillmentItemID = value;
516
        }
517
 
518
        /**
519
         * Gets the value of the quantity property.
520
         * 
521
         * @return
522
         *     possible object is
523
         *     {@link BigInteger }
524
         *     
525
         */
526
        public BigInteger getQuantity() {
527
            return quantity;
528
        }
529
 
530
        /**
531
         * Sets the value of the quantity property.
532
         * 
533
         * @param value
534
         *     allowed object is
535
         *     {@link BigInteger }
536
         *     
537
         */
538
        public void setQuantity(BigInteger value) {
539
            this.quantity = value;
540
        }
541
 
542
    }
543
 
544
}