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
 
23
 
24
/**
25
 * <p>Java class for anonymous complex type.
26
 * 
27
 * <p>The following schema fragment specifies the expected content contained within this class.
28
 * 
29
 * <pre>
30
 * &lt;complexType>
31
 *   &lt;complexContent>
32
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
33
 *       &lt;sequence>
34
 *         &lt;choice>
35
 *           &lt;element ref="{}AmazonOrderID"/>
36
 *           &lt;element ref="{}MerchantOrderID"/>
37
 *         &lt;/choice>
38
 *         &lt;element name="ActionType" minOccurs="0">
39
 *           &lt;simpleType>
40
 *             &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
41
 *               &lt;enumeration value="Refund"/>
42
 *               &lt;enumeration value="Cancel"/>
43
 *             &lt;/restriction>
44
 *           &lt;/simpleType>
45
 *         &lt;/element>
46
 *         &lt;element name="CODCollectionMethod" minOccurs="0">
47
 *           &lt;simpleType>
48
 *             &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
49
 *               &lt;enumeration value="DirectPayment"/>
50
 *             &lt;/restriction>
51
 *           &lt;/simpleType>
52
 *         &lt;/element>
53
 *         &lt;element name="AdjustedItem" maxOccurs="unbounded">
54
 *           &lt;complexType>
55
 *             &lt;complexContent>
56
 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
57
 *                 &lt;sequence>
58
 *                   &lt;choice>
59
 *                     &lt;element ref="{}AmazonOrderItemCode"/>
60
 *                     &lt;element ref="{}MerchantOrderItemID"/>
61
 *                   &lt;/choice>
62
 *                   &lt;element name="MerchantAdjustmentItemID" type="{}StringNotNull" minOccurs="0"/>
63
 *                   &lt;element name="AdjustmentReason">
64
 *                     &lt;simpleType>
65
 *                       &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
66
 *                         &lt;enumeration value="NoInventory"/>
67
 *                         &lt;enumeration value="CustomerReturn"/>
68
 *                         &lt;enumeration value="GeneralAdjustment"/>
69
 *                         &lt;enumeration value="CouldNotShip"/>
70
 *                         &lt;enumeration value="DifferentItem"/>
71
 *                         &lt;enumeration value="Abandoned"/>
72
 *                         &lt;enumeration value="CustomerCancel"/>
73
 *                         &lt;enumeration value="PriceError"/>
74
 *                         &lt;enumeration value="ProductOutofStock"/>
75
 *                         &lt;enumeration value="CustomerAddressIncorrect"/>
76
 *                         &lt;enumeration value="Exchange"/>
77
 *                         &lt;enumeration value="Other"/>
78
 *                         &lt;enumeration value="CarrierCreditDecision"/>
79
 *                         &lt;enumeration value="RiskAssessmentInformationNotValid"/>
80
 *                         &lt;enumeration value="CarrierCoverageFailure"/>
81
 *                         &lt;enumeration value="TransactionRecord"/>
82
 *                         &lt;enumeration value="Undeliverable"/>
83
 *                         &lt;enumeration value="RefusedDelivery"/>
84
 *                       &lt;/restriction>
85
 *                     &lt;/simpleType>
86
 *                   &lt;/element>
87
 *                   &lt;element name="ItemPriceAdjustments" type="{}AdjustmentBuyerPrice" minOccurs="0"/>
88
 *                   &lt;element name="PromotionAdjustments" maxOccurs="unbounded" minOccurs="0">
89
 *                     &lt;complexType>
90
 *                       &lt;complexContent>
91
 *                         &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
92
 *                           &lt;sequence>
93
 *                             &lt;element ref="{}PromotionClaimCode" minOccurs="0"/>
94
 *                             &lt;element ref="{}MerchantPromotionID" minOccurs="0"/>
95
 *                             &lt;element name="Component" maxOccurs="unbounded">
96
 *                               &lt;complexType>
97
 *                                 &lt;complexContent>
98
 *                                   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
99
 *                                     &lt;sequence>
100
 *                                       &lt;element name="Type" type="{}PromotionApplicationType"/>
101
 *                                       &lt;element name="Amount" type="{}AdjustmentCurrencyAmount"/>
102
 *                                     &lt;/sequence>
103
 *                                   &lt;/restriction>
104
 *                                 &lt;/complexContent>
105
 *                               &lt;/complexType>
106
 *                             &lt;/element>
107
 *                           &lt;/sequence>
108
 *                         &lt;/restriction>
109
 *                       &lt;/complexContent>
110
 *                     &lt;/complexType>
111
 *                   &lt;/element>
112
 *                   &lt;element name="DirectPaymentAdjustments" type="{}AdjustmentDirectPaymentType" minOccurs="0"/>
113
 *                   &lt;element name="QuantityCancelled" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>
114
 *                   &lt;element name="Quantity" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>
115
 *                 &lt;/sequence>
116
 *               &lt;/restriction>
117
 *             &lt;/complexContent>
118
 *           &lt;/complexType>
119
 *         &lt;/element>
120
 *       &lt;/sequence>
121
 *     &lt;/restriction>
122
 *   &lt;/complexContent>
123
 * &lt;/complexType>
124
 * </pre>
125
 * 
126
 * 
127
 */
128
@XmlAccessorType(XmlAccessType.FIELD)
129
@XmlType(name = "", propOrder = {
130
    "amazonOrderID",
131
    "merchantOrderID",
132
    "actionType",
133
    "codCollectionMethod",
134
    "adjustedItem"
135
})
136
@XmlRootElement(name = "OrderAdjustment")
137
public class OrderAdjustment {
138
 
139
    @XmlElement(name = "AmazonOrderID")
140
    protected String amazonOrderID;
141
    @XmlElement(name = "MerchantOrderID")
142
    @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
143
    protected String merchantOrderID;
144
    @XmlElement(name = "ActionType")
145
    protected String actionType;
146
    @XmlElement(name = "CODCollectionMethod")
147
    protected String codCollectionMethod;
148
    @XmlElement(name = "AdjustedItem", required = true)
149
    protected List<OrderAdjustment.AdjustedItem> adjustedItem;
150
 
151
    /**
152
     * Gets the value of the amazonOrderID property.
153
     * 
154
     * @return
155
     *     possible object is
156
     *     {@link String }
157
     *     
158
     */
159
    public String getAmazonOrderID() {
160
        return amazonOrderID;
161
    }
162
 
163
    /**
164
     * Sets the value of the amazonOrderID property.
165
     * 
166
     * @param value
167
     *     allowed object is
168
     *     {@link String }
169
     *     
170
     */
171
    public void setAmazonOrderID(String value) {
172
        this.amazonOrderID = value;
173
    }
174
 
175
    /**
176
     * Gets the value of the merchantOrderID property.
177
     * 
178
     * @return
179
     *     possible object is
180
     *     {@link String }
181
     *     
182
     */
183
    public String getMerchantOrderID() {
184
        return merchantOrderID;
185
    }
186
 
187
    /**
188
     * Sets the value of the merchantOrderID property.
189
     * 
190
     * @param value
191
     *     allowed object is
192
     *     {@link String }
193
     *     
194
     */
195
    public void setMerchantOrderID(String value) {
196
        this.merchantOrderID = value;
197
    }
198
 
199
    /**
200
     * Gets the value of the actionType property.
201
     * 
202
     * @return
203
     *     possible object is
204
     *     {@link String }
205
     *     
206
     */
207
    public String getActionType() {
208
        return actionType;
209
    }
210
 
211
    /**
212
     * Sets the value of the actionType property.
213
     * 
214
     * @param value
215
     *     allowed object is
216
     *     {@link String }
217
     *     
218
     */
219
    public void setActionType(String value) {
220
        this.actionType = value;
221
    }
222
 
223
    /**
224
     * Gets the value of the codCollectionMethod property.
225
     * 
226
     * @return
227
     *     possible object is
228
     *     {@link String }
229
     *     
230
     */
231
    public String getCODCollectionMethod() {
232
        return codCollectionMethod;
233
    }
234
 
235
    /**
236
     * Sets the value of the codCollectionMethod property.
237
     * 
238
     * @param value
239
     *     allowed object is
240
     *     {@link String }
241
     *     
242
     */
243
    public void setCODCollectionMethod(String value) {
244
        this.codCollectionMethod = value;
245
    }
246
 
247
    /**
248
     * Gets the value of the adjustedItem property.
249
     * 
250
     * <p>
251
     * This accessor method returns a reference to the live list,
252
     * not a snapshot. Therefore any modification you make to the
253
     * returned list will be present inside the JAXB object.
254
     * This is why there is not a <CODE>set</CODE> method for the adjustedItem property.
255
     * 
256
     * <p>
257
     * For example, to add a new item, do as follows:
258
     * <pre>
259
     *    getAdjustedItem().add(newItem);
260
     * </pre>
261
     * 
262
     * 
263
     * <p>
264
     * Objects of the following type(s) are allowed in the list
265
     * {@link OrderAdjustment.AdjustedItem }
266
     * 
267
     * 
268
     */
269
    public List<OrderAdjustment.AdjustedItem> getAdjustedItem() {
270
        if (adjustedItem == null) {
271
            adjustedItem = new ArrayList<OrderAdjustment.AdjustedItem>();
272
        }
273
        return this.adjustedItem;
274
    }
275
 
276
 
277
    /**
278
     * <p>Java class for anonymous complex type.
279
     * 
280
     * <p>The following schema fragment specifies the expected content contained within this class.
281
     * 
282
     * <pre>
283
     * &lt;complexType>
284
     *   &lt;complexContent>
285
     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
286
     *       &lt;sequence>
287
     *         &lt;choice>
288
     *           &lt;element ref="{}AmazonOrderItemCode"/>
289
     *           &lt;element ref="{}MerchantOrderItemID"/>
290
     *         &lt;/choice>
291
     *         &lt;element name="MerchantAdjustmentItemID" type="{}StringNotNull" minOccurs="0"/>
292
     *         &lt;element name="AdjustmentReason">
293
     *           &lt;simpleType>
294
     *             &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
295
     *               &lt;enumeration value="NoInventory"/>
296
     *               &lt;enumeration value="CustomerReturn"/>
297
     *               &lt;enumeration value="GeneralAdjustment"/>
298
     *               &lt;enumeration value="CouldNotShip"/>
299
     *               &lt;enumeration value="DifferentItem"/>
300
     *               &lt;enumeration value="Abandoned"/>
301
     *               &lt;enumeration value="CustomerCancel"/>
302
     *               &lt;enumeration value="PriceError"/>
303
     *               &lt;enumeration value="ProductOutofStock"/>
304
     *               &lt;enumeration value="CustomerAddressIncorrect"/>
305
     *               &lt;enumeration value="Exchange"/>
306
     *               &lt;enumeration value="Other"/>
307
     *               &lt;enumeration value="CarrierCreditDecision"/>
308
     *               &lt;enumeration value="RiskAssessmentInformationNotValid"/>
309
     *               &lt;enumeration value="CarrierCoverageFailure"/>
310
     *               &lt;enumeration value="TransactionRecord"/>
311
     *               &lt;enumeration value="Undeliverable"/>
312
     *               &lt;enumeration value="RefusedDelivery"/>
313
     *             &lt;/restriction>
314
     *           &lt;/simpleType>
315
     *         &lt;/element>
316
     *         &lt;element name="ItemPriceAdjustments" type="{}AdjustmentBuyerPrice" minOccurs="0"/>
317
     *         &lt;element name="PromotionAdjustments" maxOccurs="unbounded" minOccurs="0">
318
     *           &lt;complexType>
319
     *             &lt;complexContent>
320
     *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
321
     *                 &lt;sequence>
322
     *                   &lt;element ref="{}PromotionClaimCode" minOccurs="0"/>
323
     *                   &lt;element ref="{}MerchantPromotionID" minOccurs="0"/>
324
     *                   &lt;element name="Component" maxOccurs="unbounded">
325
     *                     &lt;complexType>
326
     *                       &lt;complexContent>
327
     *                         &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
328
     *                           &lt;sequence>
329
     *                             &lt;element name="Type" type="{}PromotionApplicationType"/>
330
     *                             &lt;element name="Amount" type="{}AdjustmentCurrencyAmount"/>
331
     *                           &lt;/sequence>
332
     *                         &lt;/restriction>
333
     *                       &lt;/complexContent>
334
     *                     &lt;/complexType>
335
     *                   &lt;/element>
336
     *                 &lt;/sequence>
337
     *               &lt;/restriction>
338
     *             &lt;/complexContent>
339
     *           &lt;/complexType>
340
     *         &lt;/element>
341
     *         &lt;element name="DirectPaymentAdjustments" type="{}AdjustmentDirectPaymentType" minOccurs="0"/>
342
     *         &lt;element name="QuantityCancelled" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>
343
     *         &lt;element name="Quantity" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>
344
     *       &lt;/sequence>
345
     *     &lt;/restriction>
346
     *   &lt;/complexContent>
347
     * &lt;/complexType>
348
     * </pre>
349
     * 
350
     * 
351
     */
352
    @XmlAccessorType(XmlAccessType.FIELD)
353
    @XmlType(name = "", propOrder = {
354
        "amazonOrderItemCode",
355
        "merchantOrderItemID",
356
        "merchantAdjustmentItemID",
357
        "adjustmentReason",
358
        "itemPriceAdjustments",
359
        "promotionAdjustments",
360
        "directPaymentAdjustments",
361
        "quantityCancelled",
362
        "quantity"
363
    })
364
    public static class AdjustedItem {
365
 
366
        @XmlElement(name = "AmazonOrderItemCode")
367
        protected String amazonOrderItemCode;
368
        @XmlElement(name = "MerchantOrderItemID")
369
        @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
370
        protected String merchantOrderItemID;
371
        @XmlElement(name = "MerchantAdjustmentItemID")
372
        @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
373
        protected String merchantAdjustmentItemID;
374
        @XmlElement(name = "AdjustmentReason", required = true)
375
        protected String adjustmentReason;
376
        @XmlElement(name = "ItemPriceAdjustments")
377
        protected AdjustmentBuyerPrice itemPriceAdjustments;
378
        @XmlElement(name = "PromotionAdjustments")
379
        protected List<OrderAdjustment.AdjustedItem.PromotionAdjustments> promotionAdjustments;
380
        @XmlElement(name = "DirectPaymentAdjustments")
381
        protected AdjustmentDirectPaymentType directPaymentAdjustments;
382
        @XmlElement(name = "QuantityCancelled")
383
        @XmlSchemaType(name = "positiveInteger")
384
        protected BigInteger quantityCancelled;
385
        @XmlElement(name = "Quantity")
386
        @XmlSchemaType(name = "positiveInteger")
387
        protected BigInteger quantity;
388
 
389
        /**
390
         * Gets the value of the amazonOrderItemCode property.
391
         * 
392
         * @return
393
         *     possible object is
394
         *     {@link String }
395
         *     
396
         */
397
        public String getAmazonOrderItemCode() {
398
            return amazonOrderItemCode;
399
        }
400
 
401
        /**
402
         * Sets the value of the amazonOrderItemCode property.
403
         * 
404
         * @param value
405
         *     allowed object is
406
         *     {@link String }
407
         *     
408
         */
409
        public void setAmazonOrderItemCode(String value) {
410
            this.amazonOrderItemCode = value;
411
        }
412
 
413
        /**
414
         * Gets the value of the merchantOrderItemID property.
415
         * 
416
         * @return
417
         *     possible object is
418
         *     {@link String }
419
         *     
420
         */
421
        public String getMerchantOrderItemID() {
422
            return merchantOrderItemID;
423
        }
424
 
425
        /**
426
         * Sets the value of the merchantOrderItemID property.
427
         * 
428
         * @param value
429
         *     allowed object is
430
         *     {@link String }
431
         *     
432
         */
433
        public void setMerchantOrderItemID(String value) {
434
            this.merchantOrderItemID = value;
435
        }
436
 
437
        /**
438
         * Gets the value of the merchantAdjustmentItemID property.
439
         * 
440
         * @return
441
         *     possible object is
442
         *     {@link String }
443
         *     
444
         */
445
        public String getMerchantAdjustmentItemID() {
446
            return merchantAdjustmentItemID;
447
        }
448
 
449
        /**
450
         * Sets the value of the merchantAdjustmentItemID property.
451
         * 
452
         * @param value
453
         *     allowed object is
454
         *     {@link String }
455
         *     
456
         */
457
        public void setMerchantAdjustmentItemID(String value) {
458
            this.merchantAdjustmentItemID = value;
459
        }
460
 
461
        /**
462
         * Gets the value of the adjustmentReason property.
463
         * 
464
         * @return
465
         *     possible object is
466
         *     {@link String }
467
         *     
468
         */
469
        public String getAdjustmentReason() {
470
            return adjustmentReason;
471
        }
472
 
473
        /**
474
         * Sets the value of the adjustmentReason property.
475
         * 
476
         * @param value
477
         *     allowed object is
478
         *     {@link String }
479
         *     
480
         */
481
        public void setAdjustmentReason(String value) {
482
            this.adjustmentReason = value;
483
        }
484
 
485
        /**
486
         * Gets the value of the itemPriceAdjustments property.
487
         * 
488
         * @return
489
         *     possible object is
490
         *     {@link AdjustmentBuyerPrice }
491
         *     
492
         */
493
        public AdjustmentBuyerPrice getItemPriceAdjustments() {
494
            return itemPriceAdjustments;
495
        }
496
 
497
        /**
498
         * Sets the value of the itemPriceAdjustments property.
499
         * 
500
         * @param value
501
         *     allowed object is
502
         *     {@link AdjustmentBuyerPrice }
503
         *     
504
         */
505
        public void setItemPriceAdjustments(AdjustmentBuyerPrice value) {
506
            this.itemPriceAdjustments = value;
507
        }
508
 
509
        /**
510
         * Gets the value of the promotionAdjustments property.
511
         * 
512
         * <p>
513
         * This accessor method returns a reference to the live list,
514
         * not a snapshot. Therefore any modification you make to the
515
         * returned list will be present inside the JAXB object.
516
         * This is why there is not a <CODE>set</CODE> method for the promotionAdjustments property.
517
         * 
518
         * <p>
519
         * For example, to add a new item, do as follows:
520
         * <pre>
521
         *    getPromotionAdjustments().add(newItem);
522
         * </pre>
523
         * 
524
         * 
525
         * <p>
526
         * Objects of the following type(s) are allowed in the list
527
         * {@link OrderAdjustment.AdjustedItem.PromotionAdjustments }
528
         * 
529
         * 
530
         */
531
        public List<OrderAdjustment.AdjustedItem.PromotionAdjustments> getPromotionAdjustments() {
532
            if (promotionAdjustments == null) {
533
                promotionAdjustments = new ArrayList<OrderAdjustment.AdjustedItem.PromotionAdjustments>();
534
            }
535
            return this.promotionAdjustments;
536
        }
537
 
538
        /**
539
         * Gets the value of the directPaymentAdjustments property.
540
         * 
541
         * @return
542
         *     possible object is
543
         *     {@link AdjustmentDirectPaymentType }
544
         *     
545
         */
546
        public AdjustmentDirectPaymentType getDirectPaymentAdjustments() {
547
            return directPaymentAdjustments;
548
        }
549
 
550
        /**
551
         * Sets the value of the directPaymentAdjustments property.
552
         * 
553
         * @param value
554
         *     allowed object is
555
         *     {@link AdjustmentDirectPaymentType }
556
         *     
557
         */
558
        public void setDirectPaymentAdjustments(AdjustmentDirectPaymentType value) {
559
            this.directPaymentAdjustments = value;
560
        }
561
 
562
        /**
563
         * Gets the value of the quantityCancelled property.
564
         * 
565
         * @return
566
         *     possible object is
567
         *     {@link BigInteger }
568
         *     
569
         */
570
        public BigInteger getQuantityCancelled() {
571
            return quantityCancelled;
572
        }
573
 
574
        /**
575
         * Sets the value of the quantityCancelled property.
576
         * 
577
         * @param value
578
         *     allowed object is
579
         *     {@link BigInteger }
580
         *     
581
         */
582
        public void setQuantityCancelled(BigInteger value) {
583
            this.quantityCancelled = value;
584
        }
585
 
586
        /**
587
         * Gets the value of the quantity property.
588
         * 
589
         * @return
590
         *     possible object is
591
         *     {@link BigInteger }
592
         *     
593
         */
594
        public BigInteger getQuantity() {
595
            return quantity;
596
        }
597
 
598
        /**
599
         * Sets the value of the quantity property.
600
         * 
601
         * @param value
602
         *     allowed object is
603
         *     {@link BigInteger }
604
         *     
605
         */
606
        public void setQuantity(BigInteger value) {
607
            this.quantity = value;
608
        }
609
 
610
 
611
        /**
612
         * <p>Java class for anonymous complex type.
613
         * 
614
         * <p>The following schema fragment specifies the expected content contained within this class.
615
         * 
616
         * <pre>
617
         * &lt;complexType>
618
         *   &lt;complexContent>
619
         *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
620
         *       &lt;sequence>
621
         *         &lt;element ref="{}PromotionClaimCode" minOccurs="0"/>
622
         *         &lt;element ref="{}MerchantPromotionID" minOccurs="0"/>
623
         *         &lt;element name="Component" maxOccurs="unbounded">
624
         *           &lt;complexType>
625
         *             &lt;complexContent>
626
         *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
627
         *                 &lt;sequence>
628
         *                   &lt;element name="Type" type="{}PromotionApplicationType"/>
629
         *                   &lt;element name="Amount" type="{}AdjustmentCurrencyAmount"/>
630
         *                 &lt;/sequence>
631
         *               &lt;/restriction>
632
         *             &lt;/complexContent>
633
         *           &lt;/complexType>
634
         *         &lt;/element>
635
         *       &lt;/sequence>
636
         *     &lt;/restriction>
637
         *   &lt;/complexContent>
638
         * &lt;/complexType>
639
         * </pre>
640
         * 
641
         * 
642
         */
643
        @XmlAccessorType(XmlAccessType.FIELD)
644
        @XmlType(name = "", propOrder = {
645
            "promotionClaimCode",
646
            "merchantPromotionID",
647
            "component"
648
        })
649
        public static class PromotionAdjustments {
650
 
651
            @XmlElement(name = "PromotionClaimCode")
652
            protected String promotionClaimCode;
653
            @XmlElement(name = "MerchantPromotionID")
654
            @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
655
            protected String merchantPromotionID;
656
            @XmlElement(name = "Component", required = true)
657
            protected List<OrderAdjustment.AdjustedItem.PromotionAdjustments.Component> component;
658
 
659
            /**
660
             * Gets the value of the promotionClaimCode property.
661
             * 
662
             * @return
663
             *     possible object is
664
             *     {@link String }
665
             *     
666
             */
667
            public String getPromotionClaimCode() {
668
                return promotionClaimCode;
669
            }
670
 
671
            /**
672
             * Sets the value of the promotionClaimCode property.
673
             * 
674
             * @param value
675
             *     allowed object is
676
             *     {@link String }
677
             *     
678
             */
679
            public void setPromotionClaimCode(String value) {
680
                this.promotionClaimCode = value;
681
            }
682
 
683
            /**
684
             * Gets the value of the merchantPromotionID property.
685
             * 
686
             * @return
687
             *     possible object is
688
             *     {@link String }
689
             *     
690
             */
691
            public String getMerchantPromotionID() {
692
                return merchantPromotionID;
693
            }
694
 
695
            /**
696
             * Sets the value of the merchantPromotionID property.
697
             * 
698
             * @param value
699
             *     allowed object is
700
             *     {@link String }
701
             *     
702
             */
703
            public void setMerchantPromotionID(String value) {
704
                this.merchantPromotionID = value;
705
            }
706
 
707
            /**
708
             * Gets the value of the component property.
709
             * 
710
             * <p>
711
             * This accessor method returns a reference to the live list,
712
             * not a snapshot. Therefore any modification you make to the
713
             * returned list will be present inside the JAXB object.
714
             * This is why there is not a <CODE>set</CODE> method for the component property.
715
             * 
716
             * <p>
717
             * For example, to add a new item, do as follows:
718
             * <pre>
719
             *    getComponent().add(newItem);
720
             * </pre>
721
             * 
722
             * 
723
             * <p>
724
             * Objects of the following type(s) are allowed in the list
725
             * {@link OrderAdjustment.AdjustedItem.PromotionAdjustments.Component }
726
             * 
727
             * 
728
             */
729
            public List<OrderAdjustment.AdjustedItem.PromotionAdjustments.Component> getComponent() {
730
                if (component == null) {
731
                    component = new ArrayList<OrderAdjustment.AdjustedItem.PromotionAdjustments.Component>();
732
                }
733
                return this.component;
734
            }
735
 
736
 
737
            /**
738
             * <p>Java class for anonymous complex type.
739
             * 
740
             * <p>The following schema fragment specifies the expected content contained within this class.
741
             * 
742
             * <pre>
743
             * &lt;complexType>
744
             *   &lt;complexContent>
745
             *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
746
             *       &lt;sequence>
747
             *         &lt;element name="Type" type="{}PromotionApplicationType"/>
748
             *         &lt;element name="Amount" type="{}AdjustmentCurrencyAmount"/>
749
             *       &lt;/sequence>
750
             *     &lt;/restriction>
751
             *   &lt;/complexContent>
752
             * &lt;/complexType>
753
             * </pre>
754
             * 
755
             * 
756
             */
757
            @XmlAccessorType(XmlAccessType.FIELD)
758
            @XmlType(name = "", propOrder = {
759
                "type",
760
                "amount"
761
            })
762
            public static class Component {
763
 
764
                @XmlElement(name = "Type", required = true)
765
                protected PromotionApplicationType type;
766
                @XmlElement(name = "Amount", required = true)
767
                protected AdjustmentCurrencyAmount amount;
768
 
769
                /**
770
                 * Gets the value of the type property.
771
                 * 
772
                 * @return
773
                 *     possible object is
774
                 *     {@link PromotionApplicationType }
775
                 *     
776
                 */
777
                public PromotionApplicationType getType() {
778
                    return type;
779
                }
780
 
781
                /**
782
                 * Sets the value of the type property.
783
                 * 
784
                 * @param value
785
                 *     allowed object is
786
                 *     {@link PromotionApplicationType }
787
                 *     
788
                 */
789
                public void setType(PromotionApplicationType value) {
790
                    this.type = value;
791
                }
792
 
793
                /**
794
                 * Gets the value of the amount property.
795
                 * 
796
                 * @return
797
                 *     possible object is
798
                 *     {@link AdjustmentCurrencyAmount }
799
                 *     
800
                 */
801
                public AdjustmentCurrencyAmount getAmount() {
802
                    return amount;
803
                }
804
 
805
                /**
806
                 * Sets the value of the amount property.
807
                 * 
808
                 * @param value
809
                 *     allowed object is
810
                 *     {@link AdjustmentCurrencyAmount }
811
                 *     
812
                 */
813
                public void setAmount(AdjustmentCurrencyAmount value) {
814
                    this.amount = value;
815
                }
816
 
817
            }
818
 
819
        }
820
 
821
    }
822
 
823
}