| 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 java.util.ArrayList;
|
|
|
12 |
import java.util.List;
|
|
|
13 |
import javax.xml.bind.annotation.XmlAccessType;
|
|
|
14 |
import javax.xml.bind.annotation.XmlAccessorType;
|
|
|
15 |
import javax.xml.bind.annotation.XmlElement;
|
|
|
16 |
import javax.xml.bind.annotation.XmlSchemaType;
|
|
|
17 |
import javax.xml.bind.annotation.XmlType;
|
|
|
18 |
import javax.xml.datatype.XMLGregorianCalendar;
|
|
|
19 |
|
|
|
20 |
|
|
|
21 |
/**
|
|
|
22 |
* <p>Java class for anonymous complex type.
|
|
|
23 |
*
|
|
|
24 |
* <p>The following schema fragment specifies the expected content contained within this class.
|
|
|
25 |
*
|
|
|
26 |
* <pre>
|
|
|
27 |
* <complexType>
|
|
|
28 |
* <complexContent>
|
|
|
29 |
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
|
|
30 |
* <sequence>
|
|
|
31 |
* <element name="AmazonOrderID" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
|
|
32 |
* <element name="MerchantOrderID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
|
|
|
33 |
* <element name="PurchaseDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
|
|
|
34 |
* <element name="LastUpdatedDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
|
|
|
35 |
* <element name="OrderStatus" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
|
|
36 |
* <element name="SalesChannel" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
|
|
37 |
* <element name="URL" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
|
|
|
38 |
* <element name="FulfillmentData">
|
|
|
39 |
* <complexType>
|
|
|
40 |
* <complexContent>
|
|
|
41 |
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
|
|
42 |
* <sequence>
|
|
|
43 |
* <element name="FulfillmentChannel" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
|
|
44 |
* <element name="ShipServiceLevel" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
|
|
45 |
* <element name="Address">
|
|
|
46 |
* <complexType>
|
|
|
47 |
* <complexContent>
|
|
|
48 |
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
|
|
49 |
* <sequence>
|
|
|
50 |
* <element name="City" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
|
|
51 |
* <element name="State" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
|
|
52 |
* <element name="PostalCode" type="{http://www.w3.org/2001/XMLSchema}int"/>
|
|
|
53 |
* <element name="Country" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
|
|
54 |
* </sequence>
|
|
|
55 |
* </restriction>
|
|
|
56 |
* </complexContent>
|
|
|
57 |
* </complexType>
|
|
|
58 |
* </element>
|
|
|
59 |
* </sequence>
|
|
|
60 |
* </restriction>
|
|
|
61 |
* </complexContent>
|
|
|
62 |
* </complexType>
|
|
|
63 |
* </element>
|
|
|
64 |
* <element name="OrderItem" maxOccurs="unbounded" minOccurs="0">
|
|
|
65 |
* <complexType>
|
|
|
66 |
* <complexContent>
|
|
|
67 |
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
|
|
68 |
* <sequence>
|
|
|
69 |
* <element name="ASIN" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
|
|
70 |
* <element name="SKU" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
|
|
71 |
* <element name="ItemStatus" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
|
|
|
72 |
* <element name="ProductName" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
|
|
73 |
* <element name="Quantity" type="{http://www.w3.org/2001/XMLSchema}byte"/>
|
|
|
74 |
* <element name="ItemPrice" minOccurs="0">
|
|
|
75 |
* <complexType>
|
|
|
76 |
* <complexContent>
|
|
|
77 |
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
|
|
78 |
* <sequence>
|
|
|
79 |
* <element name="Component" maxOccurs="unbounded" minOccurs="0">
|
|
|
80 |
* <complexType>
|
|
|
81 |
* <complexContent>
|
|
|
82 |
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
|
|
83 |
* <sequence>
|
|
|
84 |
* <element name="Type" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
|
|
85 |
* <element name="Amount">
|
|
|
86 |
* <complexType>
|
|
|
87 |
* <simpleContent>
|
|
|
88 |
* <extension base="<http://www.w3.org/2001/XMLSchema>float">
|
|
|
89 |
* <attribute name="currency" type="{http://www.w3.org/2001/XMLSchema}string" />
|
|
|
90 |
* </extension>
|
|
|
91 |
* </simpleContent>
|
|
|
92 |
* </complexType>
|
|
|
93 |
* </element>
|
|
|
94 |
* </sequence>
|
|
|
95 |
* </restriction>
|
|
|
96 |
* </complexContent>
|
|
|
97 |
* </complexType>
|
|
|
98 |
* </element>
|
|
|
99 |
* </sequence>
|
|
|
100 |
* </restriction>
|
|
|
101 |
* </complexContent>
|
|
|
102 |
* </complexType>
|
|
|
103 |
* </element>
|
|
|
104 |
* <element name="Promotion" minOccurs="0">
|
|
|
105 |
* <complexType>
|
|
|
106 |
* <complexContent>
|
|
|
107 |
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
|
|
108 |
* <sequence>
|
|
|
109 |
* <element name="ShipPromotionDiscount" type="{http://www.w3.org/2001/XMLSchema}float"/>
|
|
|
110 |
* <element name="ItemPromotionDiscount" type="{http://www.w3.org/2001/XMLSchema}float" minOccurs="0"/>
|
|
|
111 |
* </sequence>
|
|
|
112 |
* </restriction>
|
|
|
113 |
* </complexContent>
|
|
|
114 |
* </complexType>
|
|
|
115 |
* </element>
|
|
|
116 |
* </sequence>
|
|
|
117 |
* </restriction>
|
|
|
118 |
* </complexContent>
|
|
|
119 |
* </complexType>
|
|
|
120 |
* </element>
|
|
|
121 |
* </sequence>
|
|
|
122 |
* </restriction>
|
|
|
123 |
* </complexContent>
|
|
|
124 |
* </complexType>
|
|
|
125 |
* </pre>
|
|
|
126 |
*
|
|
|
127 |
*
|
|
|
128 |
*/
|
|
|
129 |
@XmlAccessorType(XmlAccessType.FIELD)
|
|
|
130 |
@XmlType(name = "", propOrder = {
|
|
|
131 |
"amazonOrderID",
|
|
|
132 |
"merchantOrderID",
|
|
|
133 |
"purchaseDate",
|
|
|
134 |
"lastUpdatedDate",
|
|
|
135 |
"orderStatus",
|
|
|
136 |
"salesChannel",
|
|
|
137 |
"url",
|
|
|
138 |
"fulfillmentData",
|
|
|
139 |
"orderItem"
|
|
|
140 |
})
|
|
|
141 |
public class Order {
|
|
|
142 |
|
|
|
143 |
@XmlElement(name = "AmazonOrderID", required = true)
|
|
|
144 |
protected String amazonOrderID;
|
|
|
145 |
@XmlElement(name = "MerchantOrderID")
|
|
|
146 |
protected String merchantOrderID;
|
|
|
147 |
@XmlElement(name = "PurchaseDate", required = true)
|
|
|
148 |
@XmlSchemaType(name = "dateTime")
|
|
|
149 |
protected XMLGregorianCalendar purchaseDate;
|
|
|
150 |
@XmlElement(name = "LastUpdatedDate", required = true)
|
|
|
151 |
@XmlSchemaType(name = "dateTime")
|
|
|
152 |
protected XMLGregorianCalendar lastUpdatedDate;
|
|
|
153 |
@XmlElement(name = "OrderStatus", required = true)
|
|
|
154 |
protected String orderStatus;
|
|
|
155 |
@XmlElement(name = "SalesChannel", required = true)
|
|
|
156 |
protected String salesChannel;
|
|
|
157 |
@XmlElement(name = "URL")
|
|
|
158 |
@XmlSchemaType(name = "anyURI")
|
|
|
159 |
protected String url;
|
|
|
160 |
@XmlElement(name = "FulfillmentData", required = true)
|
|
|
161 |
protected FulfillmentData fulfillmentData;
|
|
|
162 |
@XmlElement(name = "OrderItem")
|
|
|
163 |
protected List<OrderItem> orderItem;
|
|
|
164 |
|
|
|
165 |
/**
|
|
|
166 |
* Gets the value of the amazonOrderID property.
|
|
|
167 |
*
|
|
|
168 |
* @return
|
|
|
169 |
* possible object is
|
|
|
170 |
* {@link String }
|
|
|
171 |
*
|
|
|
172 |
*/
|
|
|
173 |
public String getAmazonOrderID() {
|
|
|
174 |
return amazonOrderID;
|
|
|
175 |
}
|
|
|
176 |
|
|
|
177 |
/**
|
|
|
178 |
* Sets the value of the amazonOrderID property.
|
|
|
179 |
*
|
|
|
180 |
* @param value
|
|
|
181 |
* allowed object is
|
|
|
182 |
* {@link String }
|
|
|
183 |
*
|
|
|
184 |
*/
|
|
|
185 |
public void setAmazonOrderID(String value) {
|
|
|
186 |
this.amazonOrderID = value;
|
|
|
187 |
}
|
|
|
188 |
|
|
|
189 |
/**
|
|
|
190 |
* Gets the value of the merchantOrderID property.
|
|
|
191 |
*
|
|
|
192 |
* @return
|
|
|
193 |
* possible object is
|
|
|
194 |
* {@link String }
|
|
|
195 |
*
|
|
|
196 |
*/
|
|
|
197 |
public String getMerchantOrderID() {
|
|
|
198 |
return merchantOrderID;
|
|
|
199 |
}
|
|
|
200 |
|
|
|
201 |
/**
|
|
|
202 |
* Sets the value of the merchantOrderID property.
|
|
|
203 |
*
|
|
|
204 |
* @param value
|
|
|
205 |
* allowed object is
|
|
|
206 |
* {@link String }
|
|
|
207 |
*
|
|
|
208 |
*/
|
|
|
209 |
public void setMerchantOrderID(String value) {
|
|
|
210 |
this.merchantOrderID = value;
|
|
|
211 |
}
|
|
|
212 |
|
|
|
213 |
/**
|
|
|
214 |
* Gets the value of the purchaseDate property.
|
|
|
215 |
*
|
|
|
216 |
* @return
|
|
|
217 |
* possible object is
|
|
|
218 |
* {@link XMLGregorianCalendar }
|
|
|
219 |
*
|
|
|
220 |
*/
|
|
|
221 |
public XMLGregorianCalendar getPurchaseDate() {
|
|
|
222 |
return purchaseDate;
|
|
|
223 |
}
|
|
|
224 |
|
|
|
225 |
/**
|
|
|
226 |
* Sets the value of the purchaseDate property.
|
|
|
227 |
*
|
|
|
228 |
* @param value
|
|
|
229 |
* allowed object is
|
|
|
230 |
* {@link XMLGregorianCalendar }
|
|
|
231 |
*
|
|
|
232 |
*/
|
|
|
233 |
public void setPurchaseDate(XMLGregorianCalendar value) {
|
|
|
234 |
this.purchaseDate = value;
|
|
|
235 |
}
|
|
|
236 |
|
|
|
237 |
/**
|
|
|
238 |
* Gets the value of the lastUpdatedDate property.
|
|
|
239 |
*
|
|
|
240 |
* @return
|
|
|
241 |
* possible object is
|
|
|
242 |
* {@link XMLGregorianCalendar }
|
|
|
243 |
*
|
|
|
244 |
*/
|
|
|
245 |
public XMLGregorianCalendar getLastUpdatedDate() {
|
|
|
246 |
return lastUpdatedDate;
|
|
|
247 |
}
|
|
|
248 |
|
|
|
249 |
/**
|
|
|
250 |
* Sets the value of the lastUpdatedDate property.
|
|
|
251 |
*
|
|
|
252 |
* @param value
|
|
|
253 |
* allowed object is
|
|
|
254 |
* {@link XMLGregorianCalendar }
|
|
|
255 |
*
|
|
|
256 |
*/
|
|
|
257 |
public void setLastUpdatedDate(XMLGregorianCalendar value) {
|
|
|
258 |
this.lastUpdatedDate = value;
|
|
|
259 |
}
|
|
|
260 |
|
|
|
261 |
/**
|
|
|
262 |
* Gets the value of the orderStatus property.
|
|
|
263 |
*
|
|
|
264 |
* @return
|
|
|
265 |
* possible object is
|
|
|
266 |
* {@link String }
|
|
|
267 |
*
|
|
|
268 |
*/
|
|
|
269 |
public String getOrderStatus() {
|
|
|
270 |
return orderStatus;
|
|
|
271 |
}
|
|
|
272 |
|
|
|
273 |
/**
|
|
|
274 |
* Sets the value of the orderStatus property.
|
|
|
275 |
*
|
|
|
276 |
* @param value
|
|
|
277 |
* allowed object is
|
|
|
278 |
* {@link String }
|
|
|
279 |
*
|
|
|
280 |
*/
|
|
|
281 |
public void setOrderStatus(String value) {
|
|
|
282 |
this.orderStatus = value;
|
|
|
283 |
}
|
|
|
284 |
|
|
|
285 |
/**
|
|
|
286 |
* Gets the value of the salesChannel property.
|
|
|
287 |
*
|
|
|
288 |
* @return
|
|
|
289 |
* possible object is
|
|
|
290 |
* {@link String }
|
|
|
291 |
*
|
|
|
292 |
*/
|
|
|
293 |
public String getSalesChannel() {
|
|
|
294 |
return salesChannel;
|
|
|
295 |
}
|
|
|
296 |
|
|
|
297 |
/**
|
|
|
298 |
* Sets the value of the salesChannel property.
|
|
|
299 |
*
|
|
|
300 |
* @param value
|
|
|
301 |
* allowed object is
|
|
|
302 |
* {@link String }
|
|
|
303 |
*
|
|
|
304 |
*/
|
|
|
305 |
public void setSalesChannel(String value) {
|
|
|
306 |
this.salesChannel = value;
|
|
|
307 |
}
|
|
|
308 |
|
|
|
309 |
/**
|
|
|
310 |
* Gets the value of the url property.
|
|
|
311 |
*
|
|
|
312 |
* @return
|
|
|
313 |
* possible object is
|
|
|
314 |
* {@link String }
|
|
|
315 |
*
|
|
|
316 |
*/
|
|
|
317 |
public String getURL() {
|
|
|
318 |
return url;
|
|
|
319 |
}
|
|
|
320 |
|
|
|
321 |
/**
|
|
|
322 |
* Sets the value of the url property.
|
|
|
323 |
*
|
|
|
324 |
* @param value
|
|
|
325 |
* allowed object is
|
|
|
326 |
* {@link String }
|
|
|
327 |
*
|
|
|
328 |
*/
|
|
|
329 |
public void setURL(String value) {
|
|
|
330 |
this.url = value;
|
|
|
331 |
}
|
|
|
332 |
|
|
|
333 |
/**
|
|
|
334 |
* Gets the value of the fulfillmentData property.
|
|
|
335 |
*
|
|
|
336 |
* @return
|
|
|
337 |
* possible object is
|
|
|
338 |
* {@link FulfillmentData }
|
|
|
339 |
*
|
|
|
340 |
*/
|
|
|
341 |
public FulfillmentData getFulfillmentData() {
|
|
|
342 |
return fulfillmentData;
|
|
|
343 |
}
|
|
|
344 |
|
|
|
345 |
/**
|
|
|
346 |
* Sets the value of the fulfillmentData property.
|
|
|
347 |
*
|
|
|
348 |
* @param value
|
|
|
349 |
* allowed object is
|
|
|
350 |
* {@link FulfillmentData }
|
|
|
351 |
*
|
|
|
352 |
*/
|
|
|
353 |
public void setFulfillmentData(FulfillmentData value) {
|
|
|
354 |
this.fulfillmentData = value;
|
|
|
355 |
}
|
|
|
356 |
|
|
|
357 |
/**
|
|
|
358 |
* Gets the value of the orderItem property.
|
|
|
359 |
*
|
|
|
360 |
* <p>
|
|
|
361 |
* This accessor method returns a reference to the live list,
|
|
|
362 |
* not a snapshot. Therefore any modification you make to the
|
|
|
363 |
* returned list will be present inside the JAXB object.
|
|
|
364 |
* This is why there is not a <CODE>set</CODE> method for the orderItem property.
|
|
|
365 |
*
|
|
|
366 |
* <p>
|
|
|
367 |
* For example, to add a new item, do as follows:
|
|
|
368 |
* <pre>
|
|
|
369 |
* getOrderItem().add(newItem);
|
|
|
370 |
* </pre>
|
|
|
371 |
*
|
|
|
372 |
*
|
|
|
373 |
* <p>
|
|
|
374 |
* Objects of the following type(s) are allowed in the list
|
|
|
375 |
* {@link OrderItem }
|
|
|
376 |
*
|
|
|
377 |
*
|
|
|
378 |
*/
|
|
|
379 |
public List<OrderItem> getOrderItem() {
|
|
|
380 |
if (orderItem == null) {
|
|
|
381 |
orderItem = new ArrayList<OrderItem>();
|
|
|
382 |
}
|
|
|
383 |
return this.orderItem;
|
|
|
384 |
}
|
|
|
385 |
|
|
|
386 |
}
|