| 7487 |
kshitij.so |
1 |
//
|
|
|
2 |
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
|
|
|
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: 2013.03.04 at 03:49:29 PM IST
|
|
|
6 |
//
|
|
|
7 |
|
|
|
8 |
|
|
|
9 |
package in.shop2020.feeds.products;
|
|
|
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 |
import javax.xml.bind.annotation.adapters.NormalizedStringAdapter;
|
|
|
19 |
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
|
|
|
20 |
|
|
|
21 |
|
|
|
22 |
/**
|
|
|
23 |
* <p>Java class for anonymous complex type.
|
|
|
24 |
*
|
|
|
25 |
* <p>The following schema fragment specifies the expected content contained within this class.
|
|
|
26 |
*
|
|
|
27 |
* <pre>
|
|
|
28 |
* <complexType>
|
|
|
29 |
* <complexContent>
|
|
|
30 |
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
|
|
31 |
* <sequence>
|
|
|
32 |
* <element ref="{}AmazonOrderID"/>
|
|
|
33 |
* <element ref="{}MerchantOrderID" minOccurs="0"/>
|
|
|
34 |
* <element name="StatusCode">
|
|
|
35 |
* <simpleType>
|
|
|
36 |
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
|
|
|
37 |
* <enumeration value="Success"/>
|
|
|
38 |
* <enumeration value="Failure"/>
|
|
|
39 |
* </restriction>
|
|
|
40 |
* </simpleType>
|
|
|
41 |
* </element>
|
|
|
42 |
* <element name="Item" maxOccurs="unbounded" minOccurs="0">
|
|
|
43 |
* <complexType>
|
|
|
44 |
* <complexContent>
|
|
|
45 |
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
|
|
46 |
* <sequence>
|
|
|
47 |
* <element ref="{}AmazonOrderItemCode"/>
|
|
|
48 |
* <element ref="{}MerchantOrderItemID" minOccurs="0"/>
|
|
|
49 |
* <element name="CancelReason" minOccurs="0">
|
|
|
50 |
* <simpleType>
|
|
|
51 |
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
|
|
|
52 |
* <enumeration value="NoInventory"/>
|
|
|
53 |
* <enumeration value="ShippingAddressUndeliverable"/>
|
|
|
54 |
* <enumeration value="CustomerExchange"/>
|
|
|
55 |
* <enumeration value="BuyerCanceled"/>
|
|
|
56 |
* <enumeration value="GeneralAdjustment"/>
|
|
|
57 |
* <enumeration value="CarrierCreditDecision"/>
|
|
|
58 |
* <enumeration value="RiskAssessmentInformationNotValid"/>
|
|
|
59 |
* <enumeration value="CarrierCoverageFailure"/>
|
|
|
60 |
* <enumeration value="CustomerReturn"/>
|
|
|
61 |
* <enumeration value="MerchandiseNotReceived"/>
|
|
|
62 |
* </restriction>
|
|
|
63 |
* </simpleType>
|
|
|
64 |
* </element>
|
|
|
65 |
* </sequence>
|
|
|
66 |
* </restriction>
|
|
|
67 |
* </complexContent>
|
|
|
68 |
* </complexType>
|
|
|
69 |
* </element>
|
|
|
70 |
* </sequence>
|
|
|
71 |
* </restriction>
|
|
|
72 |
* </complexContent>
|
|
|
73 |
* </complexType>
|
|
|
74 |
* </pre>
|
|
|
75 |
*
|
|
|
76 |
*
|
|
|
77 |
*/
|
|
|
78 |
@XmlAccessorType(XmlAccessType.FIELD)
|
|
|
79 |
@XmlType(name = "", propOrder = {
|
|
|
80 |
"amazonOrderID",
|
|
|
81 |
"merchantOrderID",
|
|
|
82 |
"statusCode",
|
|
|
83 |
"item"
|
|
|
84 |
})
|
|
|
85 |
@XmlRootElement(name = "OrderAcknowledgement")
|
|
|
86 |
public class OrderAcknowledgement {
|
|
|
87 |
|
|
|
88 |
@XmlElement(name = "AmazonOrderID", required = true)
|
|
|
89 |
protected String amazonOrderID;
|
|
|
90 |
@XmlElement(name = "MerchantOrderID")
|
|
|
91 |
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
|
|
|
92 |
protected String merchantOrderID;
|
|
|
93 |
@XmlElement(name = "StatusCode", required = true)
|
|
|
94 |
protected String statusCode;
|
|
|
95 |
@XmlElement(name = "Item")
|
|
|
96 |
protected List<OrderAcknowledgement.Item> item;
|
|
|
97 |
|
|
|
98 |
/**
|
|
|
99 |
* Gets the value of the amazonOrderID property.
|
|
|
100 |
*
|
|
|
101 |
* @return
|
|
|
102 |
* possible object is
|
|
|
103 |
* {@link String }
|
|
|
104 |
*
|
|
|
105 |
*/
|
|
|
106 |
public String getAmazonOrderID() {
|
|
|
107 |
return amazonOrderID;
|
|
|
108 |
}
|
|
|
109 |
|
|
|
110 |
/**
|
|
|
111 |
* Sets the value of the amazonOrderID property.
|
|
|
112 |
*
|
|
|
113 |
* @param value
|
|
|
114 |
* allowed object is
|
|
|
115 |
* {@link String }
|
|
|
116 |
*
|
|
|
117 |
*/
|
|
|
118 |
public void setAmazonOrderID(String value) {
|
|
|
119 |
this.amazonOrderID = value;
|
|
|
120 |
}
|
|
|
121 |
|
|
|
122 |
/**
|
|
|
123 |
* Gets the value of the merchantOrderID property.
|
|
|
124 |
*
|
|
|
125 |
* @return
|
|
|
126 |
* possible object is
|
|
|
127 |
* {@link String }
|
|
|
128 |
*
|
|
|
129 |
*/
|
|
|
130 |
public String getMerchantOrderID() {
|
|
|
131 |
return merchantOrderID;
|
|
|
132 |
}
|
|
|
133 |
|
|
|
134 |
/**
|
|
|
135 |
* Sets the value of the merchantOrderID property.
|
|
|
136 |
*
|
|
|
137 |
* @param value
|
|
|
138 |
* allowed object is
|
|
|
139 |
* {@link String }
|
|
|
140 |
*
|
|
|
141 |
*/
|
|
|
142 |
public void setMerchantOrderID(String value) {
|
|
|
143 |
this.merchantOrderID = value;
|
|
|
144 |
}
|
|
|
145 |
|
|
|
146 |
/**
|
|
|
147 |
* Gets the value of the statusCode property.
|
|
|
148 |
*
|
|
|
149 |
* @return
|
|
|
150 |
* possible object is
|
|
|
151 |
* {@link String }
|
|
|
152 |
*
|
|
|
153 |
*/
|
|
|
154 |
public String getStatusCode() {
|
|
|
155 |
return statusCode;
|
|
|
156 |
}
|
|
|
157 |
|
|
|
158 |
/**
|
|
|
159 |
* Sets the value of the statusCode property.
|
|
|
160 |
*
|
|
|
161 |
* @param value
|
|
|
162 |
* allowed object is
|
|
|
163 |
* {@link String }
|
|
|
164 |
*
|
|
|
165 |
*/
|
|
|
166 |
public void setStatusCode(String value) {
|
|
|
167 |
this.statusCode = value;
|
|
|
168 |
}
|
|
|
169 |
|
|
|
170 |
/**
|
|
|
171 |
* Gets the value of the item property.
|
|
|
172 |
*
|
|
|
173 |
* <p>
|
|
|
174 |
* This accessor method returns a reference to the live list,
|
|
|
175 |
* not a snapshot. Therefore any modification you make to the
|
|
|
176 |
* returned list will be present inside the JAXB object.
|
|
|
177 |
* This is why there is not a <CODE>set</CODE> method for the item property.
|
|
|
178 |
*
|
|
|
179 |
* <p>
|
|
|
180 |
* For example, to add a new item, do as follows:
|
|
|
181 |
* <pre>
|
|
|
182 |
* getItem().add(newItem);
|
|
|
183 |
* </pre>
|
|
|
184 |
*
|
|
|
185 |
*
|
|
|
186 |
* <p>
|
|
|
187 |
* Objects of the following type(s) are allowed in the list
|
|
|
188 |
* {@link OrderAcknowledgement.Item }
|
|
|
189 |
*
|
|
|
190 |
*
|
|
|
191 |
*/
|
|
|
192 |
public List<OrderAcknowledgement.Item> getItem() {
|
|
|
193 |
if (item == null) {
|
|
|
194 |
item = new ArrayList<OrderAcknowledgement.Item>();
|
|
|
195 |
}
|
|
|
196 |
return this.item;
|
|
|
197 |
}
|
|
|
198 |
|
|
|
199 |
|
|
|
200 |
/**
|
|
|
201 |
* <p>Java class for anonymous complex type.
|
|
|
202 |
*
|
|
|
203 |
* <p>The following schema fragment specifies the expected content contained within this class.
|
|
|
204 |
*
|
|
|
205 |
* <pre>
|
|
|
206 |
* <complexType>
|
|
|
207 |
* <complexContent>
|
|
|
208 |
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
|
|
209 |
* <sequence>
|
|
|
210 |
* <element ref="{}AmazonOrderItemCode"/>
|
|
|
211 |
* <element ref="{}MerchantOrderItemID" minOccurs="0"/>
|
|
|
212 |
* <element name="CancelReason" minOccurs="0">
|
|
|
213 |
* <simpleType>
|
|
|
214 |
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
|
|
|
215 |
* <enumeration value="NoInventory"/>
|
|
|
216 |
* <enumeration value="ShippingAddressUndeliverable"/>
|
|
|
217 |
* <enumeration value="CustomerExchange"/>
|
|
|
218 |
* <enumeration value="BuyerCanceled"/>
|
|
|
219 |
* <enumeration value="GeneralAdjustment"/>
|
|
|
220 |
* <enumeration value="CarrierCreditDecision"/>
|
|
|
221 |
* <enumeration value="RiskAssessmentInformationNotValid"/>
|
|
|
222 |
* <enumeration value="CarrierCoverageFailure"/>
|
|
|
223 |
* <enumeration value="CustomerReturn"/>
|
|
|
224 |
* <enumeration value="MerchandiseNotReceived"/>
|
|
|
225 |
* </restriction>
|
|
|
226 |
* </simpleType>
|
|
|
227 |
* </element>
|
|
|
228 |
* </sequence>
|
|
|
229 |
* </restriction>
|
|
|
230 |
* </complexContent>
|
|
|
231 |
* </complexType>
|
|
|
232 |
* </pre>
|
|
|
233 |
*
|
|
|
234 |
*
|
|
|
235 |
*/
|
|
|
236 |
@XmlAccessorType(XmlAccessType.FIELD)
|
|
|
237 |
@XmlType(name = "", propOrder = {
|
|
|
238 |
"amazonOrderItemCode",
|
|
|
239 |
"merchantOrderItemID",
|
|
|
240 |
"cancelReason"
|
|
|
241 |
})
|
|
|
242 |
public static class Item {
|
|
|
243 |
|
|
|
244 |
@XmlElement(name = "AmazonOrderItemCode", required = true)
|
|
|
245 |
protected String amazonOrderItemCode;
|
|
|
246 |
@XmlElement(name = "MerchantOrderItemID")
|
|
|
247 |
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
|
|
|
248 |
protected String merchantOrderItemID;
|
|
|
249 |
@XmlElement(name = "CancelReason")
|
|
|
250 |
protected String cancelReason;
|
|
|
251 |
|
|
|
252 |
/**
|
|
|
253 |
* Gets the value of the amazonOrderItemCode property.
|
|
|
254 |
*
|
|
|
255 |
* @return
|
|
|
256 |
* possible object is
|
|
|
257 |
* {@link String }
|
|
|
258 |
*
|
|
|
259 |
*/
|
|
|
260 |
public String getAmazonOrderItemCode() {
|
|
|
261 |
return amazonOrderItemCode;
|
|
|
262 |
}
|
|
|
263 |
|
|
|
264 |
/**
|
|
|
265 |
* Sets the value of the amazonOrderItemCode property.
|
|
|
266 |
*
|
|
|
267 |
* @param value
|
|
|
268 |
* allowed object is
|
|
|
269 |
* {@link String }
|
|
|
270 |
*
|
|
|
271 |
*/
|
|
|
272 |
public void setAmazonOrderItemCode(String value) {
|
|
|
273 |
this.amazonOrderItemCode = value;
|
|
|
274 |
}
|
|
|
275 |
|
|
|
276 |
/**
|
|
|
277 |
* Gets the value of the merchantOrderItemID property.
|
|
|
278 |
*
|
|
|
279 |
* @return
|
|
|
280 |
* possible object is
|
|
|
281 |
* {@link String }
|
|
|
282 |
*
|
|
|
283 |
*/
|
|
|
284 |
public String getMerchantOrderItemID() {
|
|
|
285 |
return merchantOrderItemID;
|
|
|
286 |
}
|
|
|
287 |
|
|
|
288 |
/**
|
|
|
289 |
* Sets the value of the merchantOrderItemID property.
|
|
|
290 |
*
|
|
|
291 |
* @param value
|
|
|
292 |
* allowed object is
|
|
|
293 |
* {@link String }
|
|
|
294 |
*
|
|
|
295 |
*/
|
|
|
296 |
public void setMerchantOrderItemID(String value) {
|
|
|
297 |
this.merchantOrderItemID = value;
|
|
|
298 |
}
|
|
|
299 |
|
|
|
300 |
/**
|
|
|
301 |
* Gets the value of the cancelReason property.
|
|
|
302 |
*
|
|
|
303 |
* @return
|
|
|
304 |
* possible object is
|
|
|
305 |
* {@link String }
|
|
|
306 |
*
|
|
|
307 |
*/
|
|
|
308 |
public String getCancelReason() {
|
|
|
309 |
return cancelReason;
|
|
|
310 |
}
|
|
|
311 |
|
|
|
312 |
/**
|
|
|
313 |
* Sets the value of the cancelReason property.
|
|
|
314 |
*
|
|
|
315 |
* @param value
|
|
|
316 |
* allowed object is
|
|
|
317 |
* {@link String }
|
|
|
318 |
*
|
|
|
319 |
*/
|
|
|
320 |
public void setCancelReason(String value) {
|
|
|
321 |
this.cancelReason = value;
|
|
|
322 |
}
|
|
|
323 |
|
|
|
324 |
}
|
|
|
325 |
|
|
|
326 |
}
|