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.XmlSchemaType;import javax.xml.bind.annotation.XmlType;import javax.xml.datatype.XMLGregorianCalendar;/*** <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="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>* </pre>***/@XmlAccessorType(XmlAccessType.FIELD)@XmlType(name = "", propOrder = {"amazonOrderID","merchantOrderID","purchaseDate","lastUpdatedDate","orderStatus","salesChannel","url","fulfillmentData","orderItem"})public class Order {@XmlElement(name = "AmazonOrderID", required = true)protected String amazonOrderID;@XmlElement(name = "MerchantOrderID")protected String merchantOrderID;@XmlElement(name = "PurchaseDate", required = true)@XmlSchemaType(name = "dateTime")protected XMLGregorianCalendar purchaseDate;@XmlElement(name = "LastUpdatedDate", required = true)@XmlSchemaType(name = "dateTime")protected XMLGregorianCalendar lastUpdatedDate;@XmlElement(name = "OrderStatus", required = true)protected String orderStatus;@XmlElement(name = "SalesChannel", required = true)protected String salesChannel;@XmlElement(name = "URL")@XmlSchemaType(name = "anyURI")protected String url;@XmlElement(name = "FulfillmentData", required = true)protected FulfillmentData fulfillmentData;@XmlElement(name = "OrderItem")protected List<OrderItem> orderItem;/*** Gets the value of the amazonOrderID property.** @return* possible object is* {@link String }**/public String getAmazonOrderID() {return amazonOrderID;}/*** Sets the value of the amazonOrderID property.** @param value* allowed object is* {@link String }**/public void setAmazonOrderID(String value) {this.amazonOrderID = value;}/*** Gets the value of the merchantOrderID property.** @return* possible object is* {@link String }**/public String getMerchantOrderID() {return merchantOrderID;}/*** Sets the value of the merchantOrderID property.** @param value* allowed object is* {@link String }**/public void setMerchantOrderID(String value) {this.merchantOrderID = value;}/*** Gets the value of the purchaseDate property.** @return* possible object is* {@link XMLGregorianCalendar }**/public XMLGregorianCalendar getPurchaseDate() {return purchaseDate;}/*** Sets the value of the purchaseDate property.** @param value* allowed object is* {@link XMLGregorianCalendar }**/public void setPurchaseDate(XMLGregorianCalendar value) {this.purchaseDate = value;}/*** Gets the value of the lastUpdatedDate property.** @return* possible object is* {@link XMLGregorianCalendar }**/public XMLGregorianCalendar getLastUpdatedDate() {return lastUpdatedDate;}/*** Sets the value of the lastUpdatedDate property.** @param value* allowed object is* {@link XMLGregorianCalendar }**/public void setLastUpdatedDate(XMLGregorianCalendar value) {this.lastUpdatedDate = value;}/*** Gets the value of the orderStatus property.** @return* possible object is* {@link String }**/public String getOrderStatus() {return orderStatus;}/*** Sets the value of the orderStatus property.** @param value* allowed object is* {@link String }**/public void setOrderStatus(String value) {this.orderStatus = value;}/*** Gets the value of the salesChannel property.** @return* possible object is* {@link String }**/public String getSalesChannel() {return salesChannel;}/*** Sets the value of the salesChannel property.** @param value* allowed object is* {@link String }**/public void setSalesChannel(String value) {this.salesChannel = value;}/*** Gets the value of the url property.** @return* possible object is* {@link String }**/public String getURL() {return url;}/*** Sets the value of the url property.** @param value* allowed object is* {@link String }**/public void setURL(String value) {this.url = value;}/*** Gets the value of the fulfillmentData property.** @return* possible object is* {@link FulfillmentData }**/public FulfillmentData getFulfillmentData() {return fulfillmentData;}/*** Sets the value of the fulfillmentData property.** @param value* allowed object is* {@link FulfillmentData }**/public void setFulfillmentData(FulfillmentData value) {this.fulfillmentData = value;}/*** Gets the value of the orderItem 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 orderItem property.** <p>* For example, to add a new item, do as follows:* <pre>* getOrderItem().add(newItem);* </pre>*** <p>* Objects of the following type(s) are allowed in the list* {@link OrderItem }***/public List<OrderItem> getOrderItem() {if (orderItem == null) {orderItem = new ArrayList<OrderItem>();}return this.orderItem;}}