Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
7480 vikram.rag 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;element ref="{}Header"/>
36
 *         &lt;element name="MessageType">
37
 *           &lt;simpleType>
38
 *             &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
39
 *               &lt;enumeration value="FulfillmentCenter"/>
40
 *               &lt;enumeration value="Inventory"/>
41
 *               &lt;enumeration value="Listings"/>
42
 *               &lt;enumeration value="OrderAcknowledgement"/>
43
 *               &lt;enumeration value="OrderAdjustment"/>
44
 *               &lt;enumeration value="OrderFulfillment"/>
45
 *               &lt;enumeration value="Override"/>
46
 *               &lt;enumeration value="Price"/>
47
 *               &lt;enumeration value="ProcessingReport"/>
48
 *               &lt;enumeration value="Product"/>
49
 *               &lt;enumeration value="ProductImage"/>
50
 *               &lt;enumeration value="Relationship"/>
51
 *               &lt;enumeration value="SettlementReport"/>
52
 *             &lt;/restriction>
53
 *           &lt;/simpleType>
54
 *         &lt;/element>
55
 *         &lt;element ref="{}MarketplaceName" minOccurs="0"/>
56
 *         &lt;element name="PurgeAndReplace" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
57
 *         &lt;element name="EffectiveDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
58
 *         &lt;element name="Message" maxOccurs="unbounded">
59
 *           &lt;complexType>
60
 *             &lt;complexContent>
61
 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
62
 *                 &lt;sequence>
63
 *                   &lt;element name="MessageID" type="{}IDNumber"/>
64
 *                   &lt;element name="OperationType" minOccurs="0">
65
 *                     &lt;simpleType>
66
 *                       &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
67
 *                         &lt;enumeration value="Update"/>
68
 *                         &lt;enumeration value="Delete"/>
69
 *                         &lt;enumeration value="PartialUpdate"/>
70
 *                       &lt;/restriction>
71
 *                     &lt;/simpleType>
72
 *                   &lt;/element>
73
 *                   &lt;choice>
74
 *                     &lt;element ref="{}FulfillmentCenter"/>
75
 *                     &lt;element ref="{}Inventory"/>
76
 *                     &lt;element ref="{}Listings"/>
77
 *                     &lt;element ref="{}OrderAcknowledgement"/>
78
 *                     &lt;element ref="{}OrderAdjustment"/>
79
 *                     &lt;element ref="{}OrderFulfillment"/>
80
 *                     &lt;element ref="{}Override"/>
81
 *                     &lt;element ref="{}Price"/>
82
 *                     &lt;element ref="{}ProcessingReport"/>
83
 *                     &lt;element ref="{}Product"/>
84
 *                     &lt;element ref="{}ProductImage"/>
85
 *                     &lt;element ref="{}Relationship"/>
86
 *                     &lt;element ref="{}SettlementReport"/>
87
 *                   &lt;/choice>
88
 *                 &lt;/sequence>
89
 *               &lt;/restriction>
90
 *             &lt;/complexContent>
91
 *           &lt;/complexType>
92
 *         &lt;/element>
93
 *       &lt;/sequence>
94
 *     &lt;/restriction>
95
 *   &lt;/complexContent>
96
 * &lt;/complexType>
97
 * </pre>
98
 * 
99
 * 
100
 */
101
@XmlAccessorType(XmlAccessType.FIELD)
102
@XmlType(name = "", propOrder = {
103
    "header",
104
    "messageType",
105
    "marketplaceName",
106
    "purgeAndReplace",
107
    "effectiveDate",
108
    "message"
109
})
110
@XmlRootElement(name = "AmazonEnvelope")
111
public class AmazonEnvelope {
112
 
113
    @XmlElement(name = "Header", required = true)
114
    protected Header header;
115
    @XmlElement(name = "MessageType", required = true)
116
    protected String messageType;
117
    @XmlElement(name = "MarketplaceName")
118
    @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
119
    protected String marketplaceName;
120
    @XmlElement(name = "PurgeAndReplace")
121
    protected Boolean purgeAndReplace;
122
    @XmlElement(name = "EffectiveDate")
123
    @XmlSchemaType(name = "dateTime")
124
    protected XMLGregorianCalendar effectiveDate;
125
    @XmlElement(name = "Message", required = true)
126
    protected List<AmazonEnvelope.Message> message;
127
 
128
    /**
129
     * Gets the value of the header property.
130
     * 
131
     * @return
132
     *     possible object is
133
     *     {@link Header }
134
     *     
135
     */
136
    public Header getHeader() {
137
        return header;
138
    }
139
 
140
    /**
141
     * Sets the value of the header property.
142
     * 
143
     * @param value
144
     *     allowed object is
145
     *     {@link Header }
146
     *     
147
     */
148
    public void setHeader(Header value) {
149
        this.header = value;
150
    }
151
 
152
    /**
153
     * Gets the value of the messageType property.
154
     * 
155
     * @return
156
     *     possible object is
157
     *     {@link String }
158
     *     
159
     */
160
    public String getMessageType() {
161
        return messageType;
162
    }
163
 
164
    /**
165
     * Sets the value of the messageType property.
166
     * 
167
     * @param value
168
     *     allowed object is
169
     *     {@link String }
170
     *     
171
     */
172
    public void setMessageType(String value) {
173
        this.messageType = value;
174
    }
175
 
176
    /**
177
     * 
178
     *                                                 The MarketplaceName is only supported for
179
     *                                                 Override feeds.
180
     *                                                 If included here, the MarketplaceName will
181
     *                                                 apply to all messages in the feed.
182
     *                                                 
183
     * 
184
     * @return
185
     *     possible object is
186
     *     {@link String }
187
     *     
188
     */
189
    public String getMarketplaceName() {
190
        return marketplaceName;
191
    }
192
 
193
    /**
194
     * Sets the value of the marketplaceName property.
195
     * 
196
     * @param value
197
     *     allowed object is
198
     *     {@link String }
199
     *     
200
     */
201
    public void setMarketplaceName(String value) {
202
        this.marketplaceName = value;
203
    }
204
 
205
    /**
206
     * Gets the value of the purgeAndReplace property.
207
     * 
208
     * @return
209
     *     possible object is
210
     *     {@link Boolean }
211
     *     
212
     */
213
    public Boolean isPurgeAndReplace() {
214
        return purgeAndReplace;
215
    }
216
 
217
    /**
218
     * Sets the value of the purgeAndReplace property.
219
     * 
220
     * @param value
221
     *     allowed object is
222
     *     {@link Boolean }
223
     *     
224
     */
225
    public void setPurgeAndReplace(Boolean value) {
226
        this.purgeAndReplace = value;
227
    }
228
 
229
    /**
230
     * Gets the value of the effectiveDate property.
231
     * 
232
     * @return
233
     *     possible object is
234
     *     {@link XMLGregorianCalendar }
235
     *     
236
     */
237
    public XMLGregorianCalendar getEffectiveDate() {
238
        return effectiveDate;
239
    }
240
 
241
    /**
242
     * Sets the value of the effectiveDate property.
243
     * 
244
     * @param value
245
     *     allowed object is
246
     *     {@link XMLGregorianCalendar }
247
     *     
248
     */
249
    public void setEffectiveDate(XMLGregorianCalendar value) {
250
        this.effectiveDate = value;
251
    }
252
 
253
    /**
254
     * Gets the value of the message property.
255
     * 
256
     * <p>
257
     * This accessor method returns a reference to the live list,
258
     * not a snapshot. Therefore any modification you make to the
259
     * returned list will be present inside the JAXB object.
260
     * This is why there is not a <CODE>set</CODE> method for the message property.
261
     * 
262
     * <p>
263
     * For example, to add a new item, do as follows:
264
     * <pre>
265
     *    getMessage().add(newItem);
266
     * </pre>
267
     * 
268
     * 
269
     * <p>
270
     * Objects of the following type(s) are allowed in the list
271
     * {@link AmazonEnvelope.Message }
272
     * 
273
     * 
274
     */
275
    public List<AmazonEnvelope.Message> getMessage() {
276
        if (message == null) {
277
            message = new ArrayList<AmazonEnvelope.Message>();
278
        }
279
        return this.message;
280
    }
281
 
282
 
283
    /**
284
     * <p>Java class for anonymous complex type.
285
     * 
286
     * <p>The following schema fragment specifies the expected content contained within this class.
287
     * 
288
     * <pre>
289
     * &lt;complexType>
290
     *   &lt;complexContent>
291
     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
292
     *       &lt;sequence>
293
     *         &lt;element name="MessageID" type="{}IDNumber"/>
294
     *         &lt;element name="OperationType" minOccurs="0">
295
     *           &lt;simpleType>
296
     *             &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
297
     *               &lt;enumeration value="Update"/>
298
     *               &lt;enumeration value="Delete"/>
299
     *               &lt;enumeration value="PartialUpdate"/>
300
     *             &lt;/restriction>
301
     *           &lt;/simpleType>
302
     *         &lt;/element>
303
     *         &lt;choice>
304
     *           &lt;element ref="{}FulfillmentCenter"/>
305
     *           &lt;element ref="{}Inventory"/>
306
     *           &lt;element ref="{}Listings"/>
307
     *           &lt;element ref="{}OrderAcknowledgement"/>
308
     *           &lt;element ref="{}OrderAdjustment"/>
309
     *           &lt;element ref="{}OrderFulfillment"/>
310
     *           &lt;element ref="{}Override"/>
311
     *           &lt;element ref="{}Price"/>
312
     *           &lt;element ref="{}ProcessingReport"/>
313
     *           &lt;element ref="{}Product"/>
314
     *           &lt;element ref="{}ProductImage"/>
315
     *           &lt;element ref="{}Relationship"/>
316
     *           &lt;element ref="{}SettlementReport"/>
317
     *         &lt;/choice>
318
     *       &lt;/sequence>
319
     *     &lt;/restriction>
320
     *   &lt;/complexContent>
321
     * &lt;/complexType>
322
     * </pre>
323
     * 
324
     * 
325
     */
326
    @XmlAccessorType(XmlAccessType.FIELD)
327
    @XmlType(name = "", propOrder = {
328
        "messageID",
329
        "operationType",
330
        "fulfillmentCenter",
331
        "inventory",
332
        "listings",
333
        "orderAcknowledgement",
334
        "orderAdjustment",
335
        "orderFulfillment",
336
        "override",
337
        "price",
338
        "processingReport",
339
        "product",
340
        "productImage",
341
        "relationship",
342
        "settlementReport"
343
    })
344
    public static class Message {
345
 
346
        @XmlElement(name = "MessageID", required = true)
347
        protected BigInteger messageID;
348
        @XmlElement(name = "OperationType")
349
        protected String operationType;
350
        @XmlElement(name = "FulfillmentCenter")
351
        protected FulfillmentCenter fulfillmentCenter;
352
        @XmlElement(name = "Inventory")
353
        protected Inventory inventory;
354
        @XmlElement(name = "Listings")
355
        protected Listings listings;
356
        @XmlElement(name = "OrderAcknowledgement")
357
        protected OrderAcknowledgement orderAcknowledgement;
358
        @XmlElement(name = "OrderAdjustment")
359
        protected OrderAdjustment orderAdjustment;
360
        @XmlElement(name = "OrderFulfillment")
361
        protected OrderFulfillment orderFulfillment;
362
        @XmlElement(name = "Override")
363
        protected Override override;
364
        @XmlElement(name = "Price")
365
        protected Price price;
366
        @XmlElement(name = "ProcessingReport")
367
        protected ProcessingReport processingReport;
368
        @XmlElement(name = "Product")
369
        protected Product product;
370
        @XmlElement(name = "ProductImage")
371
        protected ProductImage productImage;
372
        @XmlElement(name = "Relationship")
373
        protected Relationship relationship;
374
        @XmlElement(name = "SettlementReport")
375
        protected SettlementReport settlementReport;
376
 
377
        /**
378
         * Gets the value of the messageID property.
379
         * 
380
         * @return
381
         *     possible object is
382
         *     {@link BigInteger }
383
         *     
384
         */
385
        public BigInteger getMessageID() {
386
            return messageID;
387
        }
388
 
389
        /**
390
         * Sets the value of the messageID property.
391
         * 
392
         * @param value
393
         *     allowed object is
394
         *     {@link BigInteger }
395
         *     
396
         */
397
        public void setMessageID(BigInteger value) {
398
            this.messageID = value;
399
        }
400
 
401
        /**
402
         * Gets the value of the operationType property.
403
         * 
404
         * @return
405
         *     possible object is
406
         *     {@link String }
407
         *     
408
         */
409
        public String getOperationType() {
410
            return operationType;
411
        }
412
 
413
        /**
414
         * Sets the value of the operationType property.
415
         * 
416
         * @param value
417
         *     allowed object is
418
         *     {@link String }
419
         *     
420
         */
421
        public void setOperationType(String value) {
422
            this.operationType = value;
423
        }
424
 
425
        /**
426
         * Gets the value of the fulfillmentCenter property.
427
         * 
428
         * @return
429
         *     possible object is
430
         *     {@link FulfillmentCenter }
431
         *     
432
         */
433
        public FulfillmentCenter getFulfillmentCenter() {
434
            return fulfillmentCenter;
435
        }
436
 
437
        /**
438
         * Sets the value of the fulfillmentCenter property.
439
         * 
440
         * @param value
441
         *     allowed object is
442
         *     {@link FulfillmentCenter }
443
         *     
444
         */
445
        public void setFulfillmentCenter(FulfillmentCenter value) {
446
            this.fulfillmentCenter = value;
447
        }
448
 
449
        /**
450
         * Gets the value of the inventory property.
451
         * 
452
         * @return
453
         *     possible object is
454
         *     {@link Inventory }
455
         *     
456
         */
457
        public Inventory getInventory() {
458
            return inventory;
459
        }
460
 
461
        /**
462
         * Sets the value of the inventory property.
463
         * 
464
         * @param value
465
         *     allowed object is
466
         *     {@link Inventory }
467
         *     
468
         */
469
        public void setInventory(Inventory value) {
470
            this.inventory = value;
471
        }
472
 
473
        /**
474
         * Gets the value of the listings property.
475
         * 
476
         * @return
477
         *     possible object is
478
         *     {@link Listings }
479
         *     
480
         */
481
        public Listings getListings() {
482
            return listings;
483
        }
484
 
485
        /**
486
         * Sets the value of the listings property.
487
         * 
488
         * @param value
489
         *     allowed object is
490
         *     {@link Listings }
491
         *     
492
         */
493
        public void setListings(Listings value) {
494
            this.listings = value;
495
        }
496
 
497
        /**
498
         * Gets the value of the orderAcknowledgement property.
499
         * 
500
         * @return
501
         *     possible object is
502
         *     {@link OrderAcknowledgement }
503
         *     
504
         */
505
        public OrderAcknowledgement getOrderAcknowledgement() {
506
            return orderAcknowledgement;
507
        }
508
 
509
        /**
510
         * Sets the value of the orderAcknowledgement property.
511
         * 
512
         * @param value
513
         *     allowed object is
514
         *     {@link OrderAcknowledgement }
515
         *     
516
         */
517
        public void setOrderAcknowledgement(OrderAcknowledgement value) {
518
            this.orderAcknowledgement = value;
519
        }
520
 
521
        /**
522
         * Gets the value of the orderAdjustment property.
523
         * 
524
         * @return
525
         *     possible object is
526
         *     {@link OrderAdjustment }
527
         *     
528
         */
529
        public OrderAdjustment getOrderAdjustment() {
530
            return orderAdjustment;
531
        }
532
 
533
        /**
534
         * Sets the value of the orderAdjustment property.
535
         * 
536
         * @param value
537
         *     allowed object is
538
         *     {@link OrderAdjustment }
539
         *     
540
         */
541
        public void setOrderAdjustment(OrderAdjustment value) {
542
            this.orderAdjustment = value;
543
        }
544
 
545
        /**
546
         * Gets the value of the orderFulfillment property.
547
         * 
548
         * @return
549
         *     possible object is
550
         *     {@link OrderFulfillment }
551
         *     
552
         */
553
        public OrderFulfillment getOrderFulfillment() {
554
            return orderFulfillment;
555
        }
556
 
557
        /**
558
         * Sets the value of the orderFulfillment property.
559
         * 
560
         * @param value
561
         *     allowed object is
562
         *     {@link OrderFulfillment }
563
         *     
564
         */
565
        public void setOrderFulfillment(OrderFulfillment value) {
566
            this.orderFulfillment = value;
567
        }
568
 
569
        /**
570
         * Gets the value of the override property.
571
         * 
572
         * @return
573
         *     possible object is
574
         *     {@link Override }
575
         *     
576
         */
577
        public Override getOverride() {
578
            return override;
579
        }
580
 
581
        /**
582
         * Sets the value of the override property.
583
         * 
584
         * @param value
585
         *     allowed object is
586
         *     {@link Override }
587
         *     
588
         */
589
        public void setOverride(Override value) {
590
            this.override = value;
591
        }
592
 
593
        /**
594
         * Gets the value of the price property.
595
         * 
596
         * @return
597
         *     possible object is
598
         *     {@link Price }
599
         *     
600
         */
601
        public Price getPrice() {
602
            return price;
603
        }
604
 
605
        /**
606
         * Sets the value of the price property.
607
         * 
608
         * @param value
609
         *     allowed object is
610
         *     {@link Price }
611
         *     
612
         */
613
        public void setPrice(Price value) {
614
            this.price = value;
615
        }
616
 
617
        /**
618
         * Gets the value of the processingReport property.
619
         * 
620
         * @return
621
         *     possible object is
622
         *     {@link ProcessingReport }
623
         *     
624
         */
625
        public ProcessingReport getProcessingReport() {
626
            return processingReport;
627
        }
628
 
629
        /**
630
         * Sets the value of the processingReport property.
631
         * 
632
         * @param value
633
         *     allowed object is
634
         *     {@link ProcessingReport }
635
         *     
636
         */
637
        public void setProcessingReport(ProcessingReport value) {
638
            this.processingReport = value;
639
        }
640
 
641
        /**
642
         * Gets the value of the product property.
643
         * 
644
         * @return
645
         *     possible object is
646
         *     {@link Product }
647
         *     
648
         */
649
        public Product getProduct() {
650
            return product;
651
        }
652
 
653
        /**
654
         * Sets the value of the product property.
655
         * 
656
         * @param value
657
         *     allowed object is
658
         *     {@link Product }
659
         *     
660
         */
661
        public void setProduct(Product value) {
662
            this.product = value;
663
        }
664
 
665
        /**
666
         * Gets the value of the productImage property.
667
         * 
668
         * @return
669
         *     possible object is
670
         *     {@link ProductImage }
671
         *     
672
         */
673
        public ProductImage getProductImage() {
674
            return productImage;
675
        }
676
 
677
        /**
678
         * Sets the value of the productImage property.
679
         * 
680
         * @param value
681
         *     allowed object is
682
         *     {@link ProductImage }
683
         *     
684
         */
685
        public void setProductImage(ProductImage value) {
686
            this.productImage = value;
687
        }
688
 
689
        /**
690
         * Gets the value of the relationship property.
691
         * 
692
         * @return
693
         *     possible object is
694
         *     {@link Relationship }
695
         *     
696
         */
697
        public Relationship getRelationship() {
698
            return relationship;
699
        }
700
 
701
        /**
702
         * Sets the value of the relationship property.
703
         * 
704
         * @param value
705
         *     allowed object is
706
         *     {@link Relationship }
707
         *     
708
         */
709
        public void setRelationship(Relationship value) {
710
            this.relationship = value;
711
        }
712
 
713
        /**
714
         * Gets the value of the settlementReport property.
715
         * 
716
         * @return
717
         *     possible object is
718
         *     {@link SettlementReport }
719
         *     
720
         */
721
        public SettlementReport getSettlementReport() {
722
            return settlementReport;
723
        }
724
 
725
        /**
726
         * Sets the value of the settlementReport property.
727
         * 
728
         * @param value
729
         *     allowed object is
730
         *     {@link SettlementReport }
731
         *     
732
         */
733
        public void setSettlementReport(SettlementReport value) {
734
            this.settlementReport = value;
735
        }
736
 
737
    }
738
 
739
}