Blame | Last modification | View Log | RSS feed
//// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>// Any modifications to this file will be lost upon recompilation of the source schema.// Generated on: 2014.02.05 at 12:01:10 PM IST//package com.amazonaws.mws.model;import java.util.ArrayList;import java.util.List;import javax.xml.bind.annotation.XmlAccessType;import javax.xml.bind.annotation.XmlAccessorType;import javax.xml.bind.annotation.XmlElement;import javax.xml.bind.annotation.XmlRootElement;import javax.xml.bind.annotation.XmlType;/*** <p>Java class for anonymous complex type.** <p>The following schema fragment specifies the expected content contained within this class.** <pre>* <complexType>* <complexContent>* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">* <sequence>* <element name="Header">* <complexType>* <complexContent>* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">* <sequence>* <element name="DocumentVersion" type="{http://www.w3.org/2001/XMLSchema}float"/>* </sequence>* </restriction>* </complexContent>* </complexType>* </element>* <element name="MessageType" type="{http://www.w3.org/2001/XMLSchema}string"/>* <element name="Message" maxOccurs="unbounded" minOccurs="0">* <complexType>* <complexContent>* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">* <sequence>* <element name="Order">* <complexType>* <complexContent>* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">* <sequence>* <element name="AmazonOrderID" type="{http://www.w3.org/2001/XMLSchema}string"/>* <element name="MerchantOrderID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>* <element name="PurchaseDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>* <element name="LastUpdatedDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>* <element name="OrderStatus" type="{http://www.w3.org/2001/XMLSchema}string"/>* <element name="SalesChannel" type="{http://www.w3.org/2001/XMLSchema}string"/>* <element name="URL" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>* <element name="FulfillmentData">* <complexType>* <complexContent>* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">* <sequence>* <element name="FulfillmentChannel" type="{http://www.w3.org/2001/XMLSchema}string"/>* <element name="ShipServiceLevel" type="{http://www.w3.org/2001/XMLSchema}string"/>* <element name="Address">* <complexType>* <complexContent>* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">* <sequence>* <element name="City" type="{http://www.w3.org/2001/XMLSchema}string"/>* <element name="State" type="{http://www.w3.org/2001/XMLSchema}string"/>* <element name="PostalCode" type="{http://www.w3.org/2001/XMLSchema}int"/>* <element name="Country" type="{http://www.w3.org/2001/XMLSchema}string"/>* </sequence>* </restriction>* </complexContent>* </complexType>* </element>* </sequence>* </restriction>* </complexContent>* </complexType>* </element>* <element name="OrderItem" maxOccurs="unbounded" minOccurs="0">* <complexType>* <complexContent>* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">* <sequence>* <element name="ASIN" type="{http://www.w3.org/2001/XMLSchema}string"/>* <element name="SKU" type="{http://www.w3.org/2001/XMLSchema}string"/>* <element name="ItemStatus" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>* <element name="ProductName" type="{http://www.w3.org/2001/XMLSchema}string"/>* <element name="Quantity" type="{http://www.w3.org/2001/XMLSchema}byte"/>* <element name="ItemPrice" minOccurs="0">* <complexType>* <complexContent>* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">* <sequence>* <element name="Component" maxOccurs="unbounded" minOccurs="0">* <complexType>* <complexContent>* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">* <sequence>* <element name="Type" type="{http://www.w3.org/2001/XMLSchema}string"/>* <element name="Amount">* <complexType>* <simpleContent>* <extension base="<http://www.w3.org/2001/XMLSchema>float">* <attribute name="currency" type="{http://www.w3.org/2001/XMLSchema}string" />* </extension>* </simpleContent>* </complexType>* </element>* </sequence>* </restriction>* </complexContent>* </complexType>* </element>* </sequence>* </restriction>* </complexContent>* </complexType>* </element>* <element name="Promotion" minOccurs="0">* <complexType>* <complexContent>* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">* <sequence>* <element name="ShipPromotionDiscount" type="{http://www.w3.org/2001/XMLSchema}float"/>* <element name="ItemPromotionDiscount" type="{http://www.w3.org/2001/XMLSchema}float" minOccurs="0"/>* </sequence>* </restriction>* </complexContent>* </complexType>* </element>* </sequence>* </restriction>* </complexContent>* </complexType>* </element>* </sequence>* </restriction>* </complexContent>* </complexType>* </element>* </sequence>* </restriction>* </complexContent>* </complexType>* </element>* </sequence>* </restriction>* </complexContent>* </complexType>* </pre>***/@XmlAccessorType(XmlAccessType.FIELD)@XmlType(name = "", propOrder = {"header","messageType","message"})@XmlRootElement(name = "AmazonEnvelope")public class AmazonEnvelope {@XmlElement(name = "Header", required = true)protected Header header;@XmlElement(name = "MessageType", required = true)protected String messageType;@XmlElement(name = "Message")protected List<Message> message;/*** Gets the value of the header property.** @return* possible object is* {@link Header }**/public Header getHeader() {return header;}/*** Sets the value of the header property.** @param value* allowed object is* {@link Header }**/public void setHeader(Header value) {this.header = value;}/*** Gets the value of the messageType property.** @return* possible object is* {@link String }**/public String getMessageType() {return messageType;}/*** Sets the value of the messageType property.** @param value* allowed object is* {@link String }**/public void setMessageType(String value) {this.messageType = value;}/*** Gets the value of the message property.** <p>* This accessor method returns a reference to the live list,* not a snapshot. Therefore any modification you make to the* returned list will be present inside the JAXB object.* This is why there is not a <CODE>set</CODE> method for the message property.** <p>* For example, to add a new item, do as follows:* <pre>* getMessage().add(newItem);* </pre>*** <p>* Objects of the following type(s) are allowed in the list* {@link Message }***/public List<Message> getMessage() {if (message == null) {message = new ArrayList<Message>();}return this.message;}}