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.XmlType;
15  
16  
17  /**
18   * <p>Java class for PromotionBenefit complex type.
19   * 
20   * <p>The following schema fragment specifies the expected content contained within this class.
21   * 
22   * <pre>
23   * &lt;complexType name="PromotionBenefit">
24   *   &lt;complexContent>
25   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
26   *       &lt;sequence>
27   *         &lt;element name="BenefitType" type="{http://www.w3.org/2001/XMLSchema}string"/>
28   *         &lt;element name="ComponentType" type="{http://www.w3.org/2001/XMLSchema}string"/>
29   *         &lt;element name="Quantity" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
30   *         &lt;element name="PercentOff" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
31   *         &lt;element name="FixedAmount" type="{http://webservices.amazon.com/AWSECommerceService/2007-04-04}Price" minOccurs="0"/>
32   *         &lt;element name="Ceiling" type="{http://webservices.amazon.com/AWSECommerceService/2007-04-04}Price" minOccurs="0"/>
33   *       &lt;/sequence>
34   *     &lt;/restriction>
35   *   &lt;/complexContent>
36   * &lt;/complexType>
37   * </pre>
38   * 
39   * 
40   */
41  @XmlAccessorType(XmlAccessType.FIELD)
42  @XmlType(name = "PromotionBenefit", propOrder = {
43      "benefitType",
44      "componentType",
45      "quantity",
46      "percentOff",
47      "fixedAmount",
48      "ceiling"
49  })
50  public class PromotionBenefit {
51  
52      @XmlElement(name = "BenefitType", required = true)
53      protected String benefitType;
54      @XmlElement(name = "ComponentType", required = true)
55      protected String componentType;
56      @XmlElement(name = "Quantity")
57      protected Integer quantity;
58      @XmlElement(name = "PercentOff")
59      protected Double percentOff;
60      @XmlElement(name = "FixedAmount")
61      protected Price fixedAmount;
62      @XmlElement(name = "Ceiling")
63      protected Price ceiling;
64  
65      /**
66       * Gets the value of the benefitType property.
67       * 
68       * @return
69       *     possible object is
70       *     {@link String }
71       *     
72       */
73      public String getBenefitType() {
74          return benefitType;
75      }
76  
77      /**
78       * Sets the value of the benefitType property.
79       * 
80       * @param value
81       *     allowed object is
82       *     {@link String }
83       *     
84       */
85      public void setBenefitType(String value) {
86          this.benefitType = value;
87      }
88  
89      /**
90       * Gets the value of the componentType property.
91       * 
92       * @return
93       *     possible object is
94       *     {@link String }
95       *     
96       */
97      public String getComponentType() {
98          return componentType;
99      }
100 
101     /**
102      * Sets the value of the componentType property.
103      * 
104      * @param value
105      *     allowed object is
106      *     {@link String }
107      *     
108      */
109     public void setComponentType(String value) {
110         this.componentType = value;
111     }
112 
113     /**
114      * Gets the value of the quantity property.
115      * 
116      * @return
117      *     possible object is
118      *     {@link Integer }
119      *     
120      */
121     public Integer getQuantity() {
122         return quantity;
123     }
124 
125     /**
126      * Sets the value of the quantity property.
127      * 
128      * @param value
129      *     allowed object is
130      *     {@link Integer }
131      *     
132      */
133     public void setQuantity(Integer value) {
134         this.quantity = value;
135     }
136 
137     /**
138      * Gets the value of the percentOff property.
139      * 
140      * @return
141      *     possible object is
142      *     {@link Double }
143      *     
144      */
145     public Double getPercentOff() {
146         return percentOff;
147     }
148 
149     /**
150      * Sets the value of the percentOff property.
151      * 
152      * @param value
153      *     allowed object is
154      *     {@link Double }
155      *     
156      */
157     public void setPercentOff(Double value) {
158         this.percentOff = value;
159     }
160 
161     /**
162      * Gets the value of the fixedAmount property.
163      * 
164      * @return
165      *     possible object is
166      *     {@link Price }
167      *     
168      */
169     public Price getFixedAmount() {
170         return fixedAmount;
171     }
172 
173     /**
174      * Sets the value of the fixedAmount property.
175      * 
176      * @param value
177      *     allowed object is
178      *     {@link Price }
179      *     
180      */
181     public void setFixedAmount(Price value) {
182         this.fixedAmount = value;
183     }
184 
185     /**
186      * Gets the value of the ceiling property.
187      * 
188      * @return
189      *     possible object is
190      *     {@link Price }
191      *     
192      */
193     public Price getCeiling() {
194         return ceiling;
195     }
196 
197     /**
198      * Sets the value of the ceiling property.
199      * 
200      * @param value
201      *     allowed object is
202      *     {@link Price }
203      *     
204      */
205     public void setCeiling(Price value) {
206         this.ceiling = value;
207     }
208 
209 }