View Javadoc

1   //
2   // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.2-b01-fcs 
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: 2007.04.05 at 10:47:13 AM CEST 
6   //
7   
8   
9   package com.amazon.webservices.awsecommerceservice._2007_04_04;
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.XmlType;
16  
17  
18  /**
19   * <p>Java class for anonymous complex type.
20   * 
21   * <p>The following schema fragment specifies the expected content contained within this class.
22   * 
23   * <pre>
24   * &lt;complexType>
25   *   &lt;complexContent>
26   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
27   *       &lt;sequence>
28   *         &lt;element name="Summary" minOccurs="0">
29   *           &lt;complexType>
30   *             &lt;complexContent>
31   *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
32   *                 &lt;sequence>
33   *                   &lt;element name="PromotionId" type="{http://www.w3.org/2001/XMLSchema}string"/>
34   *                   &lt;element name="Category" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
35   *                   &lt;element name="StartDate" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
36   *                   &lt;element name="EndDate" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
37   *                   &lt;element name="EligibilityRequirementDescription" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
38   *                   &lt;element name="BenefitDescription" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
39   *                   &lt;element name="TermsAndConditions" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
40   *                 &lt;/sequence>
41   *               &lt;/restriction>
42   *             &lt;/complexContent>
43   *           &lt;/complexType>
44   *         &lt;/element>
45   *         &lt;element name="Details" minOccurs="0">
46   *           &lt;complexType>
47   *             &lt;complexContent>
48   *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
49   *                 &lt;sequence>
50   *                   &lt;element name="MerchantId" type="{http://www.w3.org/2001/XMLSchema}string"/>
51   *                   &lt;element name="OwningMerchantId" type="{http://www.w3.org/2001/XMLSchema}string"/>
52   *                   &lt;element name="PromotionId" type="{http://www.w3.org/2001/XMLSchema}string"/>
53   *                   &lt;element name="PromotionCategory" type="{http://www.w3.org/2001/XMLSchema}string"/>
54   *                   &lt;element name="MerchantPromotionId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
55   *                   &lt;element name="GroupClaimCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
56   *                   &lt;element name="CouponCombinationType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
57   *                   &lt;element name="StartDate" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
58   *                   &lt;element name="EndDate" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
59   *                   &lt;element name="TermsAndConditions" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
60   *                   &lt;element name="EligibilityRequirements" type="{http://webservices.amazon.com/AWSECommerceService/2007-04-04}PromotionEligibilityRequirements" minOccurs="0"/>
61   *                   &lt;element name="Benefits" type="{http://webservices.amazon.com/AWSECommerceService/2007-04-04}PromotionBenefits" minOccurs="0"/>
62   *                   &lt;element name="ItemApplicability" type="{http://webservices.amazon.com/AWSECommerceService/2007-04-04}PromotionItemApplicability" minOccurs="0"/>
63   *                 &lt;/sequence>
64   *               &lt;/restriction>
65   *             &lt;/complexContent>
66   *           &lt;/complexType>
67   *         &lt;/element>
68   *       &lt;/sequence>
69   *     &lt;/restriction>
70   *   &lt;/complexContent>
71   * &lt;/complexType>
72   * </pre>
73   * 
74   * 
75   */
76  @XmlAccessorType(XmlAccessType.FIELD)
77  @XmlType(name = "", propOrder = {
78      "summary",
79      "details"
80  })
81  @XmlRootElement(name = "Promotion")
82  public class Promotion {
83  
84      @XmlElement(name = "Summary")
85      protected Promotion.Summary summary;
86      @XmlElement(name = "Details")
87      protected Promotion.Details details;
88  
89      /**
90       * Gets the value of the summary property.
91       * 
92       * @return
93       *     possible object is
94       *     {@link Promotion.Summary }
95       *     
96       */
97      public Promotion.Summary getSummary() {
98          return summary;
99      }
100 
101     /**
102      * Sets the value of the summary property.
103      * 
104      * @param value
105      *     allowed object is
106      *     {@link Promotion.Summary }
107      *     
108      */
109     public void setSummary(Promotion.Summary value) {
110         this.summary = value;
111     }
112 
113     /**
114      * Gets the value of the details property.
115      * 
116      * @return
117      *     possible object is
118      *     {@link Promotion.Details }
119      *     
120      */
121     public Promotion.Details getDetails() {
122         return details;
123     }
124 
125     /**
126      * Sets the value of the details property.
127      * 
128      * @param value
129      *     allowed object is
130      *     {@link Promotion.Details }
131      *     
132      */
133     public void setDetails(Promotion.Details value) {
134         this.details = value;
135     }
136 
137 
138     /**
139      * <p>Java class for anonymous complex type.
140      * 
141      * <p>The following schema fragment specifies the expected content contained within this class.
142      * 
143      * <pre>
144      * &lt;complexType>
145      *   &lt;complexContent>
146      *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
147      *       &lt;sequence>
148      *         &lt;element name="MerchantId" type="{http://www.w3.org/2001/XMLSchema}string"/>
149      *         &lt;element name="OwningMerchantId" type="{http://www.w3.org/2001/XMLSchema}string"/>
150      *         &lt;element name="PromotionId" type="{http://www.w3.org/2001/XMLSchema}string"/>
151      *         &lt;element name="PromotionCategory" type="{http://www.w3.org/2001/XMLSchema}string"/>
152      *         &lt;element name="MerchantPromotionId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
153      *         &lt;element name="GroupClaimCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
154      *         &lt;element name="CouponCombinationType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
155      *         &lt;element name="StartDate" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
156      *         &lt;element name="EndDate" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
157      *         &lt;element name="TermsAndConditions" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
158      *         &lt;element name="EligibilityRequirements" type="{http://webservices.amazon.com/AWSECommerceService/2007-04-04}PromotionEligibilityRequirements" minOccurs="0"/>
159      *         &lt;element name="Benefits" type="{http://webservices.amazon.com/AWSECommerceService/2007-04-04}PromotionBenefits" minOccurs="0"/>
160      *         &lt;element name="ItemApplicability" type="{http://webservices.amazon.com/AWSECommerceService/2007-04-04}PromotionItemApplicability" minOccurs="0"/>
161      *       &lt;/sequence>
162      *     &lt;/restriction>
163      *   &lt;/complexContent>
164      * &lt;/complexType>
165      * </pre>
166      * 
167      * 
168      */
169     @XmlAccessorType(XmlAccessType.FIELD)
170     @XmlType(name = "", propOrder = {
171         "merchantId",
172         "owningMerchantId",
173         "promotionId",
174         "promotionCategory",
175         "merchantPromotionId",
176         "groupClaimCode",
177         "couponCombinationType",
178         "startDate",
179         "endDate",
180         "termsAndConditions",
181         "eligibilityRequirements",
182         "benefits",
183         "itemApplicability"
184     })
185     public static class Details {
186 
187         @XmlElement(name = "MerchantId", required = true)
188         protected String merchantId;
189         @XmlElement(name = "OwningMerchantId", required = true)
190         protected String owningMerchantId;
191         @XmlElement(name = "PromotionId", required = true)
192         protected String promotionId;
193         @XmlElement(name = "PromotionCategory", required = true)
194         protected String promotionCategory;
195         @XmlElement(name = "MerchantPromotionId")
196         protected String merchantPromotionId;
197         @XmlElement(name = "GroupClaimCode")
198         protected String groupClaimCode;
199         @XmlElement(name = "CouponCombinationType")
200         protected String couponCombinationType;
201         @XmlElement(name = "StartDate")
202         protected String startDate;
203         @XmlElement(name = "EndDate")
204         protected String endDate;
205         @XmlElement(name = "TermsAndConditions")
206         protected String termsAndConditions;
207         @XmlElement(name = "EligibilityRequirements")
208         protected PromotionEligibilityRequirements eligibilityRequirements;
209         @XmlElement(name = "Benefits")
210         protected PromotionBenefits benefits;
211         @XmlElement(name = "ItemApplicability")
212         protected PromotionItemApplicability itemApplicability;
213 
214         /**
215          * Gets the value of the merchantId property.
216          * 
217          * @return
218          *     possible object is
219          *     {@link String }
220          *     
221          */
222         public String getMerchantId() {
223             return merchantId;
224         }
225 
226         /**
227          * Sets the value of the merchantId property.
228          * 
229          * @param value
230          *     allowed object is
231          *     {@link String }
232          *     
233          */
234         public void setMerchantId(String value) {
235             this.merchantId = value;
236         }
237 
238         /**
239          * Gets the value of the owningMerchantId property.
240          * 
241          * @return
242          *     possible object is
243          *     {@link String }
244          *     
245          */
246         public String getOwningMerchantId() {
247             return owningMerchantId;
248         }
249 
250         /**
251          * Sets the value of the owningMerchantId property.
252          * 
253          * @param value
254          *     allowed object is
255          *     {@link String }
256          *     
257          */
258         public void setOwningMerchantId(String value) {
259             this.owningMerchantId = value;
260         }
261 
262         /**
263          * Gets the value of the promotionId property.
264          * 
265          * @return
266          *     possible object is
267          *     {@link String }
268          *     
269          */
270         public String getPromotionId() {
271             return promotionId;
272         }
273 
274         /**
275          * Sets the value of the promotionId property.
276          * 
277          * @param value
278          *     allowed object is
279          *     {@link String }
280          *     
281          */
282         public void setPromotionId(String value) {
283             this.promotionId = value;
284         }
285 
286         /**
287          * Gets the value of the promotionCategory property.
288          * 
289          * @return
290          *     possible object is
291          *     {@link String }
292          *     
293          */
294         public String getPromotionCategory() {
295             return promotionCategory;
296         }
297 
298         /**
299          * Sets the value of the promotionCategory property.
300          * 
301          * @param value
302          *     allowed object is
303          *     {@link String }
304          *     
305          */
306         public void setPromotionCategory(String value) {
307             this.promotionCategory = value;
308         }
309 
310         /**
311          * Gets the value of the merchantPromotionId property.
312          * 
313          * @return
314          *     possible object is
315          *     {@link String }
316          *     
317          */
318         public String getMerchantPromotionId() {
319             return merchantPromotionId;
320         }
321 
322         /**
323          * Sets the value of the merchantPromotionId property.
324          * 
325          * @param value
326          *     allowed object is
327          *     {@link String }
328          *     
329          */
330         public void setMerchantPromotionId(String value) {
331             this.merchantPromotionId = value;
332         }
333 
334         /**
335          * Gets the value of the groupClaimCode property.
336          * 
337          * @return
338          *     possible object is
339          *     {@link String }
340          *     
341          */
342         public String getGroupClaimCode() {
343             return groupClaimCode;
344         }
345 
346         /**
347          * Sets the value of the groupClaimCode property.
348          * 
349          * @param value
350          *     allowed object is
351          *     {@link String }
352          *     
353          */
354         public void setGroupClaimCode(String value) {
355             this.groupClaimCode = value;
356         }
357 
358         /**
359          * Gets the value of the couponCombinationType property.
360          * 
361          * @return
362          *     possible object is
363          *     {@link String }
364          *     
365          */
366         public String getCouponCombinationType() {
367             return couponCombinationType;
368         }
369 
370         /**
371          * Sets the value of the couponCombinationType property.
372          * 
373          * @param value
374          *     allowed object is
375          *     {@link String }
376          *     
377          */
378         public void setCouponCombinationType(String value) {
379             this.couponCombinationType = value;
380         }
381 
382         /**
383          * Gets the value of the startDate property.
384          * 
385          * @return
386          *     possible object is
387          *     {@link String }
388          *     
389          */
390         public String getStartDate() {
391             return startDate;
392         }
393 
394         /**
395          * Sets the value of the startDate property.
396          * 
397          * @param value
398          *     allowed object is
399          *     {@link String }
400          *     
401          */
402         public void setStartDate(String value) {
403             this.startDate = value;
404         }
405 
406         /**
407          * Gets the value of the endDate property.
408          * 
409          * @return
410          *     possible object is
411          *     {@link String }
412          *     
413          */
414         public String getEndDate() {
415             return endDate;
416         }
417 
418         /**
419          * Sets the value of the endDate property.
420          * 
421          * @param value
422          *     allowed object is
423          *     {@link String }
424          *     
425          */
426         public void setEndDate(String value) {
427             this.endDate = value;
428         }
429 
430         /**
431          * Gets the value of the termsAndConditions property.
432          * 
433          * @return
434          *     possible object is
435          *     {@link String }
436          *     
437          */
438         public String getTermsAndConditions() {
439             return termsAndConditions;
440         }
441 
442         /**
443          * Sets the value of the termsAndConditions property.
444          * 
445          * @param value
446          *     allowed object is
447          *     {@link String }
448          *     
449          */
450         public void setTermsAndConditions(String value) {
451             this.termsAndConditions = value;
452         }
453 
454         /**
455          * Gets the value of the eligibilityRequirements property.
456          * 
457          * @return
458          *     possible object is
459          *     {@link PromotionEligibilityRequirements }
460          *     
461          */
462         public PromotionEligibilityRequirements getEligibilityRequirements() {
463             return eligibilityRequirements;
464         }
465 
466         /**
467          * Sets the value of the eligibilityRequirements property.
468          * 
469          * @param value
470          *     allowed object is
471          *     {@link PromotionEligibilityRequirements }
472          *     
473          */
474         public void setEligibilityRequirements(PromotionEligibilityRequirements value) {
475             this.eligibilityRequirements = value;
476         }
477 
478         /**
479          * Gets the value of the benefits property.
480          * 
481          * @return
482          *     possible object is
483          *     {@link PromotionBenefits }
484          *     
485          */
486         public PromotionBenefits getBenefits() {
487             return benefits;
488         }
489 
490         /**
491          * Sets the value of the benefits property.
492          * 
493          * @param value
494          *     allowed object is
495          *     {@link PromotionBenefits }
496          *     
497          */
498         public void setBenefits(PromotionBenefits value) {
499             this.benefits = value;
500         }
501 
502         /**
503          * Gets the value of the itemApplicability property.
504          * 
505          * @return
506          *     possible object is
507          *     {@link PromotionItemApplicability }
508          *     
509          */
510         public PromotionItemApplicability getItemApplicability() {
511             return itemApplicability;
512         }
513 
514         /**
515          * Sets the value of the itemApplicability property.
516          * 
517          * @param value
518          *     allowed object is
519          *     {@link PromotionItemApplicability }
520          *     
521          */
522         public void setItemApplicability(PromotionItemApplicability value) {
523             this.itemApplicability = value;
524         }
525 
526     }
527 
528 
529     /**
530      * <p>Java class for anonymous complex type.
531      * 
532      * <p>The following schema fragment specifies the expected content contained within this class.
533      * 
534      * <pre>
535      * &lt;complexType>
536      *   &lt;complexContent>
537      *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
538      *       &lt;sequence>
539      *         &lt;element name="PromotionId" type="{http://www.w3.org/2001/XMLSchema}string"/>
540      *         &lt;element name="Category" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
541      *         &lt;element name="StartDate" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
542      *         &lt;element name="EndDate" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
543      *         &lt;element name="EligibilityRequirementDescription" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
544      *         &lt;element name="BenefitDescription" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
545      *         &lt;element name="TermsAndConditions" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
546      *       &lt;/sequence>
547      *     &lt;/restriction>
548      *   &lt;/complexContent>
549      * &lt;/complexType>
550      * </pre>
551      * 
552      * 
553      */
554     @XmlAccessorType(XmlAccessType.FIELD)
555     @XmlType(name = "", propOrder = {
556         "promotionId",
557         "category",
558         "startDate",
559         "endDate",
560         "eligibilityRequirementDescription",
561         "benefitDescription",
562         "termsAndConditions"
563     })
564     public static class Summary {
565 
566         @XmlElement(name = "PromotionId", required = true)
567         protected String promotionId;
568         @XmlElement(name = "Category")
569         protected String category;
570         @XmlElement(name = "StartDate")
571         protected String startDate;
572         @XmlElement(name = "EndDate")
573         protected String endDate;
574         @XmlElement(name = "EligibilityRequirementDescription")
575         protected String eligibilityRequirementDescription;
576         @XmlElement(name = "BenefitDescription")
577         protected String benefitDescription;
578         @XmlElement(name = "TermsAndConditions")
579         protected String termsAndConditions;
580 
581         /**
582          * Gets the value of the promotionId property.
583          * 
584          * @return
585          *     possible object is
586          *     {@link String }
587          *     
588          */
589         public String getPromotionId() {
590             return promotionId;
591         }
592 
593         /**
594          * Sets the value of the promotionId property.
595          * 
596          * @param value
597          *     allowed object is
598          *     {@link String }
599          *     
600          */
601         public void setPromotionId(String value) {
602             this.promotionId = value;
603         }
604 
605         /**
606          * Gets the value of the category property.
607          * 
608          * @return
609          *     possible object is
610          *     {@link String }
611          *     
612          */
613         public String getCategory() {
614             return category;
615         }
616 
617         /**
618          * Sets the value of the category property.
619          * 
620          * @param value
621          *     allowed object is
622          *     {@link String }
623          *     
624          */
625         public void setCategory(String value) {
626             this.category = value;
627         }
628 
629         /**
630          * Gets the value of the startDate property.
631          * 
632          * @return
633          *     possible object is
634          *     {@link String }
635          *     
636          */
637         public String getStartDate() {
638             return startDate;
639         }
640 
641         /**
642          * Sets the value of the startDate property.
643          * 
644          * @param value
645          *     allowed object is
646          *     {@link String }
647          *     
648          */
649         public void setStartDate(String value) {
650             this.startDate = value;
651         }
652 
653         /**
654          * Gets the value of the endDate property.
655          * 
656          * @return
657          *     possible object is
658          *     {@link String }
659          *     
660          */
661         public String getEndDate() {
662             return endDate;
663         }
664 
665         /**
666          * Sets the value of the endDate property.
667          * 
668          * @param value
669          *     allowed object is
670          *     {@link String }
671          *     
672          */
673         public void setEndDate(String value) {
674             this.endDate = value;
675         }
676 
677         /**
678          * Gets the value of the eligibilityRequirementDescription property.
679          * 
680          * @return
681          *     possible object is
682          *     {@link String }
683          *     
684          */
685         public String getEligibilityRequirementDescription() {
686             return eligibilityRequirementDescription;
687         }
688 
689         /**
690          * Sets the value of the eligibilityRequirementDescription property.
691          * 
692          * @param value
693          *     allowed object is
694          *     {@link String }
695          *     
696          */
697         public void setEligibilityRequirementDescription(String value) {
698             this.eligibilityRequirementDescription = value;
699         }
700 
701         /**
702          * Gets the value of the benefitDescription property.
703          * 
704          * @return
705          *     possible object is
706          *     {@link String }
707          *     
708          */
709         public String getBenefitDescription() {
710             return benefitDescription;
711         }
712 
713         /**
714          * Sets the value of the benefitDescription property.
715          * 
716          * @param value
717          *     allowed object is
718          *     {@link String }
719          *     
720          */
721         public void setBenefitDescription(String value) {
722             this.benefitDescription = value;
723         }
724 
725         /**
726          * Gets the value of the termsAndConditions property.
727          * 
728          * @return
729          *     possible object is
730          *     {@link String }
731          *     
732          */
733         public String getTermsAndConditions() {
734             return termsAndConditions;
735         }
736 
737         /**
738          * Sets the value of the termsAndConditions property.
739          * 
740          * @param value
741          *     allowed object is
742          *     {@link String }
743          *     
744          */
745         public void setTermsAndConditions(String value) {
746             this.termsAndConditions = value;
747         }
748 
749     }
750 
751 }