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 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
 * &lt;complexType>
27
 *   &lt;complexContent>
28
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
29
 *       &lt;sequence>
30
 *         &lt;element name="Header">
31
 *           &lt;complexType>
32
 *             &lt;complexContent>
33
 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
34
 *                 &lt;sequence>
35
 *                   &lt;element name="DocumentVersion" type="{http://www.w3.org/2001/XMLSchema}float"/>
36
 *                 &lt;/sequence>
37
 *               &lt;/restriction>
38
 *             &lt;/complexContent>
39
 *           &lt;/complexType>
40
 *         &lt;/element>
41
 *         &lt;element name="MessageType" type="{http://www.w3.org/2001/XMLSchema}string"/>
42
 *         &lt;element name="Message" 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 name="Order">
48
 *                     &lt;complexType>
49
 *                       &lt;complexContent>
50
 *                         &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
51
 *                           &lt;sequence>
52
 *                             &lt;element name="AmazonOrderID" type="{http://www.w3.org/2001/XMLSchema}string"/>
53
 *                             &lt;element name="MerchantOrderID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
54
 *                             &lt;element name="PurchaseDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
55
 *                             &lt;element name="LastUpdatedDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
56
 *                             &lt;element name="OrderStatus" type="{http://www.w3.org/2001/XMLSchema}string"/>
57
 *                             &lt;element name="SalesChannel" type="{http://www.w3.org/2001/XMLSchema}string"/>
58
 *                             &lt;element name="URL" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
59
 *                             &lt;element name="FulfillmentData">
60
 *                               &lt;complexType>
61
 *                                 &lt;complexContent>
62
 *                                   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
63
 *                                     &lt;sequence>
64
 *                                       &lt;element name="FulfillmentChannel" type="{http://www.w3.org/2001/XMLSchema}string"/>
65
 *                                       &lt;element name="ShipServiceLevel" type="{http://www.w3.org/2001/XMLSchema}string"/>
66
 *                                       &lt;element name="Address">
67
 *                                         &lt;complexType>
68
 *                                           &lt;complexContent>
69
 *                                             &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
70
 *                                               &lt;sequence>
71
 *                                                 &lt;element name="City" type="{http://www.w3.org/2001/XMLSchema}string"/>
72
 *                                                 &lt;element name="State" type="{http://www.w3.org/2001/XMLSchema}string"/>
73
 *                                                 &lt;element name="PostalCode" type="{http://www.w3.org/2001/XMLSchema}int"/>
74
 *                                                 &lt;element name="Country" type="{http://www.w3.org/2001/XMLSchema}string"/>
75
 *                                               &lt;/sequence>
76
 *                                             &lt;/restriction>
77
 *                                           &lt;/complexContent>
78
 *                                         &lt;/complexType>
79
 *                                       &lt;/element>
80
 *                                     &lt;/sequence>
81
 *                                   &lt;/restriction>
82
 *                                 &lt;/complexContent>
83
 *                               &lt;/complexType>
84
 *                             &lt;/element>
85
 *                             &lt;element name="OrderItem" maxOccurs="unbounded" minOccurs="0">
86
 *                               &lt;complexType>
87
 *                                 &lt;complexContent>
88
 *                                   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
89
 *                                     &lt;sequence>
90
 *                                       &lt;element name="ASIN" type="{http://www.w3.org/2001/XMLSchema}string"/>
91
 *                                       &lt;element name="SKU" type="{http://www.w3.org/2001/XMLSchema}string"/>
92
 *                                       &lt;element name="ItemStatus" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
93
 *                                       &lt;element name="ProductName" type="{http://www.w3.org/2001/XMLSchema}string"/>
94
 *                                       &lt;element name="Quantity" type="{http://www.w3.org/2001/XMLSchema}byte"/>
95
 *                                       &lt;element name="ItemPrice" minOccurs="0">
96
 *                                         &lt;complexType>
97
 *                                           &lt;complexContent>
98
 *                                             &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
99
 *                                               &lt;sequence>
100
 *                                                 &lt;element name="Component" maxOccurs="unbounded" minOccurs="0">
101
 *                                                   &lt;complexType>
102
 *                                                     &lt;complexContent>
103
 *                                                       &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
104
 *                                                         &lt;sequence>
105
 *                                                           &lt;element name="Type" type="{http://www.w3.org/2001/XMLSchema}string"/>
106
 *                                                           &lt;element name="Amount">
107
 *                                                             &lt;complexType>
108
 *                                                               &lt;simpleContent>
109
 *                                                                 &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>float">
110
 *                                                                   &lt;attribute name="currency" type="{http://www.w3.org/2001/XMLSchema}string" />
111
 *                                                                 &lt;/extension>
112
 *                                                               &lt;/simpleContent>
113
 *                                                             &lt;/complexType>
114
 *                                                           &lt;/element>
115
 *                                                         &lt;/sequence>
116
 *                                                       &lt;/restriction>
117
 *                                                     &lt;/complexContent>
118
 *                                                   &lt;/complexType>
119
 *                                                 &lt;/element>
120
 *                                               &lt;/sequence>
121
 *                                             &lt;/restriction>
122
 *                                           &lt;/complexContent>
123
 *                                         &lt;/complexType>
124
 *                                       &lt;/element>
125
 *                                       &lt;element name="Promotion" minOccurs="0">
126
 *                                         &lt;complexType>
127
 *                                           &lt;complexContent>
128
 *                                             &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
129
 *                                               &lt;sequence>
130
 *                                                 &lt;element name="ShipPromotionDiscount" type="{http://www.w3.org/2001/XMLSchema}float"/>
131
 *                                                 &lt;element name="ItemPromotionDiscount" type="{http://www.w3.org/2001/XMLSchema}float" minOccurs="0"/>
132
 *                                               &lt;/sequence>
133
 *                                             &lt;/restriction>
134
 *                                           &lt;/complexContent>
135
 *                                         &lt;/complexType>
136
 *                                       &lt;/element>
137
 *                                     &lt;/sequence>
138
 *                                   &lt;/restriction>
139
 *                                 &lt;/complexContent>
140
 *                               &lt;/complexType>
141
 *                             &lt;/element>
142
 *                           &lt;/sequence>
143
 *                         &lt;/restriction>
144
 *                       &lt;/complexContent>
145
 *                     &lt;/complexType>
146
 *                   &lt;/element>
147
 *                 &lt;/sequence>
148
 *               &lt;/restriction>
149
 *             &lt;/complexContent>
150
 *           &lt;/complexType>
151
 *         &lt;/element>
152
 *       &lt;/sequence>
153
 *     &lt;/restriction>
154
 *   &lt;/complexContent>
155
 * &lt;/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
}