Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
9777 manish.sha 1
//
2
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 
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: 2014.02.05 at 12:01:10 PM IST 
6
//
7
 
8
 
9
package com.amazonaws.mws.model;
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 anonymous complex type.
19
 * 
20
 * <p>The following schema fragment specifies the expected content contained within this class.
21
 * 
22
 * <pre>
23
 * &lt;complexType>
24
 *   &lt;complexContent>
25
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
26
 *       &lt;sequence>
27
 *         &lt;element name="ASIN" type="{http://www.w3.org/2001/XMLSchema}string"/>
28
 *         &lt;element name="SKU" type="{http://www.w3.org/2001/XMLSchema}string"/>
29
 *         &lt;element name="ItemStatus" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
30
 *         &lt;element name="ProductName" type="{http://www.w3.org/2001/XMLSchema}string"/>
31
 *         &lt;element name="Quantity" type="{http://www.w3.org/2001/XMLSchema}byte"/>
32
 *         &lt;element name="ItemPrice" minOccurs="0">
33
 *           &lt;complexType>
34
 *             &lt;complexContent>
35
 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
36
 *                 &lt;sequence>
37
 *                   &lt;element name="Component" maxOccurs="unbounded" minOccurs="0">
38
 *                     &lt;complexType>
39
 *                       &lt;complexContent>
40
 *                         &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
41
 *                           &lt;sequence>
42
 *                             &lt;element name="Type" type="{http://www.w3.org/2001/XMLSchema}string"/>
43
 *                             &lt;element name="Amount">
44
 *                               &lt;complexType>
45
 *                                 &lt;simpleContent>
46
 *                                   &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>float">
47
 *                                     &lt;attribute name="currency" type="{http://www.w3.org/2001/XMLSchema}string" />
48
 *                                   &lt;/extension>
49
 *                                 &lt;/simpleContent>
50
 *                               &lt;/complexType>
51
 *                             &lt;/element>
52
 *                           &lt;/sequence>
53
 *                         &lt;/restriction>
54
 *                       &lt;/complexContent>
55
 *                     &lt;/complexType>
56
 *                   &lt;/element>
57
 *                 &lt;/sequence>
58
 *               &lt;/restriction>
59
 *             &lt;/complexContent>
60
 *           &lt;/complexType>
61
 *         &lt;/element>
62
 *         &lt;element name="Promotion" minOccurs="0">
63
 *           &lt;complexType>
64
 *             &lt;complexContent>
65
 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
66
 *                 &lt;sequence>
67
 *                   &lt;element name="ShipPromotionDiscount" type="{http://www.w3.org/2001/XMLSchema}float"/>
68
 *                   &lt;element name="ItemPromotionDiscount" type="{http://www.w3.org/2001/XMLSchema}float" minOccurs="0"/>
69
 *                 &lt;/sequence>
70
 *               &lt;/restriction>
71
 *             &lt;/complexContent>
72
 *           &lt;/complexType>
73
 *         &lt;/element>
74
 *       &lt;/sequence>
75
 *     &lt;/restriction>
76
 *   &lt;/complexContent>
77
 * &lt;/complexType>
78
 * </pre>
79
 * 
80
 * 
81
 */
82
@XmlAccessorType(XmlAccessType.FIELD)
83
@XmlType(name = "", propOrder = {
84
    "asin",
85
    "sku",
86
    "itemStatus",
87
    "productName",
88
    "quantity",
89
    "itemPrice",
90
    "promotion"
91
})
92
public class OrderItem {
93
 
94
    @XmlElement(name = "ASIN", required = true)
95
    protected String asin;
96
    @XmlElement(name = "SKU", required = true)
97
    protected String sku;
98
    @XmlElement(name = "ItemStatus")
99
    protected String itemStatus;
100
    @XmlElement(name = "ProductName", required = true)
101
    protected String productName;
102
    @XmlElement(name = "Quantity")
103
    protected byte quantity;
104
    @XmlElement(name = "ItemPrice")
105
    protected ItemPrice itemPrice;
106
    @XmlElement(name = "Promotion")
107
    protected Promotion promotion;
108
 
109
    /**
110
     * Gets the value of the asin property.
111
     * 
112
     * @return
113
     *     possible object is
114
     *     {@link String }
115
     *     
116
     */
117
    public String getASIN() {
118
        return asin;
119
    }
120
 
121
    /**
122
     * Sets the value of the asin property.
123
     * 
124
     * @param value
125
     *     allowed object is
126
     *     {@link String }
127
     *     
128
     */
129
    public void setASIN(String value) {
130
        this.asin = value;
131
    }
132
 
133
    /**
134
     * Gets the value of the sku property.
135
     * 
136
     * @return
137
     *     possible object is
138
     *     {@link String }
139
     *     
140
     */
141
    public String getSKU() {
142
        return sku;
143
    }
144
 
145
    /**
146
     * Sets the value of the sku property.
147
     * 
148
     * @param value
149
     *     allowed object is
150
     *     {@link String }
151
     *     
152
     */
153
    public void setSKU(String value) {
154
        this.sku = value;
155
    }
156
 
157
    /**
158
     * Gets the value of the itemStatus property.
159
     * 
160
     * @return
161
     *     possible object is
162
     *     {@link String }
163
     *     
164
     */
165
    public String getItemStatus() {
166
        return itemStatus;
167
    }
168
 
169
    /**
170
     * Sets the value of the itemStatus property.
171
     * 
172
     * @param value
173
     *     allowed object is
174
     *     {@link String }
175
     *     
176
     */
177
    public void setItemStatus(String value) {
178
        this.itemStatus = value;
179
    }
180
 
181
    /**
182
     * Gets the value of the productName property.
183
     * 
184
     * @return
185
     *     possible object is
186
     *     {@link String }
187
     *     
188
     */
189
    public String getProductName() {
190
        return productName;
191
    }
192
 
193
    /**
194
     * Sets the value of the productName property.
195
     * 
196
     * @param value
197
     *     allowed object is
198
     *     {@link String }
199
     *     
200
     */
201
    public void setProductName(String value) {
202
        this.productName = value;
203
    }
204
 
205
    /**
206
     * Gets the value of the quantity property.
207
     * 
208
     */
209
    public byte getQuantity() {
210
        return quantity;
211
    }
212
 
213
    /**
214
     * Sets the value of the quantity property.
215
     * 
216
     */
217
    public void setQuantity(byte value) {
218
        this.quantity = value;
219
    }
220
 
221
    /**
222
     * Gets the value of the itemPrice property.
223
     * 
224
     * @return
225
     *     possible object is
226
     *     {@link ItemPrice }
227
     *     
228
     */
229
    public ItemPrice getItemPrice() {
230
        return itemPrice;
231
    }
232
 
233
    /**
234
     * Sets the value of the itemPrice property.
235
     * 
236
     * @param value
237
     *     allowed object is
238
     *     {@link ItemPrice }
239
     *     
240
     */
241
    public void setItemPrice(ItemPrice value) {
242
        this.itemPrice = value;
243
    }
244
 
245
    /**
246
     * Gets the value of the promotion property.
247
     * 
248
     * @return
249
     *     possible object is
250
     *     {@link Promotion }
251
     *     
252
     */
253
    public Promotion getPromotion() {
254
        return promotion;
255
    }
256
 
257
    /**
258
     * Sets the value of the promotion property.
259
     * 
260
     * @param value
261
     *     allowed object is
262
     *     {@link Promotion }
263
     *     
264
     */
265
    public void setPromotion(Promotion value) {
266
        this.promotion = value;
267
    }
268
 
269
}