Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
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
 * &lt;complexType>
29
 *   &lt;complexContent>
30
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
31
 *       &lt;sequence>
32
 *         &lt;element ref="{}AmazonOrderID"/>
33
 *         &lt;element ref="{}MerchantOrderID" minOccurs="0"/>
34
 *         &lt;element name="StatusCode">
35
 *           &lt;simpleType>
36
 *             &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
37
 *               &lt;enumeration value="Success"/>
38
 *               &lt;enumeration value="Failure"/>
39
 *             &lt;/restriction>
40
 *           &lt;/simpleType>
41
 *         &lt;/element>
42
 *         &lt;element name="Item" maxOccurs="unbounded" minOccurs="0">
43
 *           &lt;complexType>
44
 *             &lt;complexContent>
45
 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
46
 *                 &lt;sequence>
47
 *                   &lt;element ref="{}AmazonOrderItemCode"/>
48
 *                   &lt;element ref="{}MerchantOrderItemID" minOccurs="0"/>
49
 *                   &lt;element name="CancelReason" minOccurs="0">
50
 *                     &lt;simpleType>
51
 *                       &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
52
 *                         &lt;enumeration value="NoInventory"/>
53
 *                         &lt;enumeration value="ShippingAddressUndeliverable"/>
54
 *                         &lt;enumeration value="CustomerExchange"/>
55
 *                         &lt;enumeration value="BuyerCanceled"/>
56
 *                         &lt;enumeration value="GeneralAdjustment"/>
57
 *                         &lt;enumeration value="CarrierCreditDecision"/>
58
 *                         &lt;enumeration value="RiskAssessmentInformationNotValid"/>
59
 *                         &lt;enumeration value="CarrierCoverageFailure"/>
60
 *                         &lt;enumeration value="CustomerReturn"/>
61
 *                         &lt;enumeration value="MerchandiseNotReceived"/>
62
 *                       &lt;/restriction>
63
 *                     &lt;/simpleType>
64
 *                   &lt;/element>
65
 *                 &lt;/sequence>
66
 *               &lt;/restriction>
67
 *             &lt;/complexContent>
68
 *           &lt;/complexType>
69
 *         &lt;/element>
70
 *       &lt;/sequence>
71
 *     &lt;/restriction>
72
 *   &lt;/complexContent>
73
 * &lt;/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
     * &lt;complexType>
207
     *   &lt;complexContent>
208
     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
209
     *       &lt;sequence>
210
     *         &lt;element ref="{}AmazonOrderItemCode"/>
211
     *         &lt;element ref="{}MerchantOrderItemID" minOccurs="0"/>
212
     *         &lt;element name="CancelReason" minOccurs="0">
213
     *           &lt;simpleType>
214
     *             &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
215
     *               &lt;enumeration value="NoInventory"/>
216
     *               &lt;enumeration value="ShippingAddressUndeliverable"/>
217
     *               &lt;enumeration value="CustomerExchange"/>
218
     *               &lt;enumeration value="BuyerCanceled"/>
219
     *               &lt;enumeration value="GeneralAdjustment"/>
220
     *               &lt;enumeration value="CarrierCreditDecision"/>
221
     *               &lt;enumeration value="RiskAssessmentInformationNotValid"/>
222
     *               &lt;enumeration value="CarrierCoverageFailure"/>
223
     *               &lt;enumeration value="CustomerReturn"/>
224
     *               &lt;enumeration value="MerchandiseNotReceived"/>
225
     *             &lt;/restriction>
226
     *           &lt;/simpleType>
227
     *         &lt;/element>
228
     *       &lt;/sequence>
229
     *     &lt;/restriction>
230
     *   &lt;/complexContent>
231
     * &lt;/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
}