| 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.XmlRootElement;
|
|
|
17 |
import javax.xml.bind.annotation.XmlType;
|
|
|
18 |
|
|
|
19 |
|
|
|
20 |
/**
|
|
|
21 |
* <p>Java class for anonymous complex type.
|
|
|
22 |
*
|
|
|
23 |
* <p>The following schema fragment specifies the expected content contained within this class.
|
|
|
24 |
*
|
|
|
25 |
* <pre>
|
|
|
26 |
* <complexType>
|
|
|
27 |
* <complexContent>
|
|
|
28 |
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
|
|
29 |
* <sequence>
|
|
|
30 |
* <element name="Header">
|
|
|
31 |
* <complexType>
|
|
|
32 |
* <complexContent>
|
|
|
33 |
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
|
|
34 |
* <sequence>
|
|
|
35 |
* <element name="DocumentVersion" type="{http://www.w3.org/2001/XMLSchema}float"/>
|
|
|
36 |
* </sequence>
|
|
|
37 |
* </restriction>
|
|
|
38 |
* </complexContent>
|
|
|
39 |
* </complexType>
|
|
|
40 |
* </element>
|
|
|
41 |
* <element name="MessageType" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
|
|
42 |
* <element name="Message" maxOccurs="unbounded" minOccurs="0">
|
|
|
43 |
* <complexType>
|
|
|
44 |
* <complexContent>
|
|
|
45 |
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
|
|
46 |
* <sequence>
|
|
|
47 |
* <element name="Order">
|
|
|
48 |
* <complexType>
|
|
|
49 |
* <complexContent>
|
|
|
50 |
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
|
|
51 |
* <sequence>
|
|
|
52 |
* <element name="AmazonOrderID" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
|
|
53 |
* <element name="MerchantOrderID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
|
|
|
54 |
* <element name="PurchaseDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
|
|
|
55 |
* <element name="LastUpdatedDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
|
|
|
56 |
* <element name="OrderStatus" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
|
|
57 |
* <element name="SalesChannel" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
|
|
58 |
* <element name="URL" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
|
|
|
59 |
* <element name="FulfillmentData">
|
|
|
60 |
* <complexType>
|
|
|
61 |
* <complexContent>
|
|
|
62 |
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
|
|
63 |
* <sequence>
|
|
|
64 |
* <element name="FulfillmentChannel" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
|
|
65 |
* <element name="ShipServiceLevel" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
|
|
66 |
* <element name="Address">
|
|
|
67 |
* <complexType>
|
|
|
68 |
* <complexContent>
|
|
|
69 |
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
|
|
70 |
* <sequence>
|
|
|
71 |
* <element name="City" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
|
|
72 |
* <element name="State" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
|
|
73 |
* <element name="PostalCode" type="{http://www.w3.org/2001/XMLSchema}int"/>
|
|
|
74 |
* <element name="Country" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
|
|
75 |
* </sequence>
|
|
|
76 |
* </restriction>
|
|
|
77 |
* </complexContent>
|
|
|
78 |
* </complexType>
|
|
|
79 |
* </element>
|
|
|
80 |
* </sequence>
|
|
|
81 |
* </restriction>
|
|
|
82 |
* </complexContent>
|
|
|
83 |
* </complexType>
|
|
|
84 |
* </element>
|
|
|
85 |
* <element name="OrderItem" maxOccurs="unbounded" minOccurs="0">
|
|
|
86 |
* <complexType>
|
|
|
87 |
* <complexContent>
|
|
|
88 |
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
|
|
89 |
* <sequence>
|
|
|
90 |
* <element name="ASIN" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
|
|
91 |
* <element name="SKU" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
|
|
92 |
* <element name="ItemStatus" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
|
|
|
93 |
* <element name="ProductName" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
|
|
94 |
* <element name="Quantity" type="{http://www.w3.org/2001/XMLSchema}byte"/>
|
|
|
95 |
* <element name="ItemPrice" minOccurs="0">
|
|
|
96 |
* <complexType>
|
|
|
97 |
* <complexContent>
|
|
|
98 |
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
|
|
99 |
* <sequence>
|
|
|
100 |
* <element name="Component" maxOccurs="unbounded" minOccurs="0">
|
|
|
101 |
* <complexType>
|
|
|
102 |
* <complexContent>
|
|
|
103 |
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
|
|
104 |
* <sequence>
|
|
|
105 |
* <element name="Type" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
|
|
106 |
* <element name="Amount">
|
|
|
107 |
* <complexType>
|
|
|
108 |
* <simpleContent>
|
|
|
109 |
* <extension base="<http://www.w3.org/2001/XMLSchema>float">
|
|
|
110 |
* <attribute name="currency" type="{http://www.w3.org/2001/XMLSchema}string" />
|
|
|
111 |
* </extension>
|
|
|
112 |
* </simpleContent>
|
|
|
113 |
* </complexType>
|
|
|
114 |
* </element>
|
|
|
115 |
* </sequence>
|
|
|
116 |
* </restriction>
|
|
|
117 |
* </complexContent>
|
|
|
118 |
* </complexType>
|
|
|
119 |
* </element>
|
|
|
120 |
* </sequence>
|
|
|
121 |
* </restriction>
|
|
|
122 |
* </complexContent>
|
|
|
123 |
* </complexType>
|
|
|
124 |
* </element>
|
|
|
125 |
* <element name="Promotion" minOccurs="0">
|
|
|
126 |
* <complexType>
|
|
|
127 |
* <complexContent>
|
|
|
128 |
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
|
|
129 |
* <sequence>
|
|
|
130 |
* <element name="ShipPromotionDiscount" type="{http://www.w3.org/2001/XMLSchema}float"/>
|
|
|
131 |
* <element name="ItemPromotionDiscount" type="{http://www.w3.org/2001/XMLSchema}float" minOccurs="0"/>
|
|
|
132 |
* </sequence>
|
|
|
133 |
* </restriction>
|
|
|
134 |
* </complexContent>
|
|
|
135 |
* </complexType>
|
|
|
136 |
* </element>
|
|
|
137 |
* </sequence>
|
|
|
138 |
* </restriction>
|
|
|
139 |
* </complexContent>
|
|
|
140 |
* </complexType>
|
|
|
141 |
* </element>
|
|
|
142 |
* </sequence>
|
|
|
143 |
* </restriction>
|
|
|
144 |
* </complexContent>
|
|
|
145 |
* </complexType>
|
|
|
146 |
* </element>
|
|
|
147 |
* </sequence>
|
|
|
148 |
* </restriction>
|
|
|
149 |
* </complexContent>
|
|
|
150 |
* </complexType>
|
|
|
151 |
* </element>
|
|
|
152 |
* </sequence>
|
|
|
153 |
* </restriction>
|
|
|
154 |
* </complexContent>
|
|
|
155 |
* </complexType>
|
|
|
156 |
* </pre>
|
|
|
157 |
*
|
|
|
158 |
*
|
|
|
159 |
*/
|
|
|
160 |
@XmlAccessorType(XmlAccessType.FIELD)
|
|
|
161 |
@XmlType(name = "", propOrder = {
|
|
|
162 |
"header",
|
|
|
163 |
"messageType",
|
|
|
164 |
"message"
|
|
|
165 |
})
|
|
|
166 |
@XmlRootElement(name = "AmazonEnvelope")
|
|
|
167 |
public class AmazonEnvelope {
|
|
|
168 |
|
|
|
169 |
@XmlElement(name = "Header", required = true)
|
|
|
170 |
protected Header header;
|
|
|
171 |
@XmlElement(name = "MessageType", required = true)
|
|
|
172 |
protected String messageType;
|
|
|
173 |
@XmlElement(name = "Message")
|
|
|
174 |
protected List<Message> message;
|
|
|
175 |
|
|
|
176 |
/**
|
|
|
177 |
* Gets the value of the header property.
|
|
|
178 |
*
|
|
|
179 |
* @return
|
|
|
180 |
* possible object is
|
|
|
181 |
* {@link Header }
|
|
|
182 |
*
|
|
|
183 |
*/
|
|
|
184 |
public Header getHeader() {
|
|
|
185 |
return header;
|
|
|
186 |
}
|
|
|
187 |
|
|
|
188 |
/**
|
|
|
189 |
* Sets the value of the header property.
|
|
|
190 |
*
|
|
|
191 |
* @param value
|
|
|
192 |
* allowed object is
|
|
|
193 |
* {@link Header }
|
|
|
194 |
*
|
|
|
195 |
*/
|
|
|
196 |
public void setHeader(Header value) {
|
|
|
197 |
this.header = value;
|
|
|
198 |
}
|
|
|
199 |
|
|
|
200 |
/**
|
|
|
201 |
* Gets the value of the messageType property.
|
|
|
202 |
*
|
|
|
203 |
* @return
|
|
|
204 |
* possible object is
|
|
|
205 |
* {@link String }
|
|
|
206 |
*
|
|
|
207 |
*/
|
|
|
208 |
public String getMessageType() {
|
|
|
209 |
return messageType;
|
|
|
210 |
}
|
|
|
211 |
|
|
|
212 |
/**
|
|
|
213 |
* Sets the value of the messageType property.
|
|
|
214 |
*
|
|
|
215 |
* @param value
|
|
|
216 |
* allowed object is
|
|
|
217 |
* {@link String }
|
|
|
218 |
*
|
|
|
219 |
*/
|
|
|
220 |
public void setMessageType(String value) {
|
|
|
221 |
this.messageType = value;
|
|
|
222 |
}
|
|
|
223 |
|
|
|
224 |
/**
|
|
|
225 |
* Gets the value of the message property.
|
|
|
226 |
*
|
|
|
227 |
* <p>
|
|
|
228 |
* This accessor method returns a reference to the live list,
|
|
|
229 |
* not a snapshot. Therefore any modification you make to the
|
|
|
230 |
* returned list will be present inside the JAXB object.
|
|
|
231 |
* This is why there is not a <CODE>set</CODE> method for the message property.
|
|
|
232 |
*
|
|
|
233 |
* <p>
|
|
|
234 |
* For example, to add a new item, do as follows:
|
|
|
235 |
* <pre>
|
|
|
236 |
* getMessage().add(newItem);
|
|
|
237 |
* </pre>
|
|
|
238 |
*
|
|
|
239 |
*
|
|
|
240 |
* <p>
|
|
|
241 |
* Objects of the following type(s) are allowed in the list
|
|
|
242 |
* {@link Message }
|
|
|
243 |
*
|
|
|
244 |
*
|
|
|
245 |
*/
|
|
|
246 |
public List<Message> getMessage() {
|
|
|
247 |
if (message == null) {
|
|
|
248 |
message = new ArrayList<Message>();
|
|
|
249 |
}
|
|
|
250 |
return this.message;
|
|
|
251 |
}
|
|
|
252 |
|
|
|
253 |
}
|