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 in JDK 6// 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: 2013.03.04 at 03:49:29 PM IST//package in.shop2020.feeds.products;import java.math.BigInteger;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.XmlSchemaType;import javax.xml.bind.annotation.XmlType;import javax.xml.bind.annotation.adapters.NormalizedStringAdapter;import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;/*** <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>* <choice>* <element ref="{}AmazonOrderID"/>* <element ref="{}MerchantOrderID"/>* </choice>* <element name="ActionType" minOccurs="0">* <simpleType>* <restriction base="{http://www.w3.org/2001/XMLSchema}string">* <enumeration value="Refund"/>* <enumeration value="Cancel"/>* </restriction>* </simpleType>* </element>* <element name="CODCollectionMethod" minOccurs="0">* <simpleType>* <restriction base="{http://www.w3.org/2001/XMLSchema}string">* <enumeration value="DirectPayment"/>* </restriction>* </simpleType>* </element>* <element name="AdjustedItem" maxOccurs="unbounded">* <complexType>* <complexContent>* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">* <sequence>* <choice>* <element ref="{}AmazonOrderItemCode"/>* <element ref="{}MerchantOrderItemID"/>* </choice>* <element name="MerchantAdjustmentItemID" type="{}StringNotNull" minOccurs="0"/>* <element name="AdjustmentReason">* <simpleType>* <restriction base="{http://www.w3.org/2001/XMLSchema}string">* <enumeration value="NoInventory"/>* <enumeration value="CustomerReturn"/>* <enumeration value="GeneralAdjustment"/>* <enumeration value="CouldNotShip"/>* <enumeration value="DifferentItem"/>* <enumeration value="Abandoned"/>* <enumeration value="CustomerCancel"/>* <enumeration value="PriceError"/>* <enumeration value="ProductOutofStock"/>* <enumeration value="CustomerAddressIncorrect"/>* <enumeration value="Exchange"/>* <enumeration value="Other"/>* <enumeration value="CarrierCreditDecision"/>* <enumeration value="RiskAssessmentInformationNotValid"/>* <enumeration value="CarrierCoverageFailure"/>* <enumeration value="TransactionRecord"/>* <enumeration value="Undeliverable"/>* <enumeration value="RefusedDelivery"/>* </restriction>* </simpleType>* </element>* <element name="ItemPriceAdjustments" type="{}AdjustmentBuyerPrice" minOccurs="0"/>* <element name="PromotionAdjustments" maxOccurs="unbounded" minOccurs="0">* <complexType>* <complexContent>* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">* <sequence>* <element ref="{}PromotionClaimCode" minOccurs="0"/>* <element ref="{}MerchantPromotionID" minOccurs="0"/>* <element name="Component" maxOccurs="unbounded">* <complexType>* <complexContent>* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">* <sequence>* <element name="Type" type="{}PromotionApplicationType"/>* <element name="Amount" type="{}AdjustmentCurrencyAmount"/>* </sequence>* </restriction>* </complexContent>* </complexType>* </element>* </sequence>* </restriction>* </complexContent>* </complexType>* </element>* <element name="DirectPaymentAdjustments" type="{}AdjustmentDirectPaymentType" minOccurs="0"/>* <element name="QuantityCancelled" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>* <element name="Quantity" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>* </sequence>* </restriction>* </complexContent>* </complexType>* </element>* </sequence>* </restriction>* </complexContent>* </complexType>* </pre>***/@XmlAccessorType(XmlAccessType.FIELD)@XmlType(name = "", propOrder = {"amazonOrderID","merchantOrderID","actionType","codCollectionMethod","adjustedItem"})@XmlRootElement(name = "OrderAdjustment")public class OrderAdjustment {@XmlElement(name = "AmazonOrderID")protected String amazonOrderID;@XmlElement(name = "MerchantOrderID")@XmlJavaTypeAdapter(NormalizedStringAdapter.class)protected String merchantOrderID;@XmlElement(name = "ActionType")protected String actionType;@XmlElement(name = "CODCollectionMethod")protected String codCollectionMethod;@XmlElement(name = "AdjustedItem", required = true)protected List<OrderAdjustment.AdjustedItem> adjustedItem;/*** 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 actionType property.** @return* possible object is* {@link String }**/public String getActionType() {return actionType;}/*** Sets the value of the actionType property.** @param value* allowed object is* {@link String }**/public void setActionType(String value) {this.actionType = value;}/*** Gets the value of the codCollectionMethod property.** @return* possible object is* {@link String }**/public String getCODCollectionMethod() {return codCollectionMethod;}/*** Sets the value of the codCollectionMethod property.** @param value* allowed object is* {@link String }**/public void setCODCollectionMethod(String value) {this.codCollectionMethod = value;}/*** Gets the value of the adjustedItem 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 adjustedItem property.** <p>* For example, to add a new item, do as follows:* <pre>* getAdjustedItem().add(newItem);* </pre>*** <p>* Objects of the following type(s) are allowed in the list* {@link OrderAdjustment.AdjustedItem }***/public List<OrderAdjustment.AdjustedItem> getAdjustedItem() {if (adjustedItem == null) {adjustedItem = new ArrayList<OrderAdjustment.AdjustedItem>();}return this.adjustedItem;}/*** <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>* <choice>* <element ref="{}AmazonOrderItemCode"/>* <element ref="{}MerchantOrderItemID"/>* </choice>* <element name="MerchantAdjustmentItemID" type="{}StringNotNull" minOccurs="0"/>* <element name="AdjustmentReason">* <simpleType>* <restriction base="{http://www.w3.org/2001/XMLSchema}string">* <enumeration value="NoInventory"/>* <enumeration value="CustomerReturn"/>* <enumeration value="GeneralAdjustment"/>* <enumeration value="CouldNotShip"/>* <enumeration value="DifferentItem"/>* <enumeration value="Abandoned"/>* <enumeration value="CustomerCancel"/>* <enumeration value="PriceError"/>* <enumeration value="ProductOutofStock"/>* <enumeration value="CustomerAddressIncorrect"/>* <enumeration value="Exchange"/>* <enumeration value="Other"/>* <enumeration value="CarrierCreditDecision"/>* <enumeration value="RiskAssessmentInformationNotValid"/>* <enumeration value="CarrierCoverageFailure"/>* <enumeration value="TransactionRecord"/>* <enumeration value="Undeliverable"/>* <enumeration value="RefusedDelivery"/>* </restriction>* </simpleType>* </element>* <element name="ItemPriceAdjustments" type="{}AdjustmentBuyerPrice" minOccurs="0"/>* <element name="PromotionAdjustments" maxOccurs="unbounded" minOccurs="0">* <complexType>* <complexContent>* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">* <sequence>* <element ref="{}PromotionClaimCode" minOccurs="0"/>* <element ref="{}MerchantPromotionID" minOccurs="0"/>* <element name="Component" maxOccurs="unbounded">* <complexType>* <complexContent>* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">* <sequence>* <element name="Type" type="{}PromotionApplicationType"/>* <element name="Amount" type="{}AdjustmentCurrencyAmount"/>* </sequence>* </restriction>* </complexContent>* </complexType>* </element>* </sequence>* </restriction>* </complexContent>* </complexType>* </element>* <element name="DirectPaymentAdjustments" type="{}AdjustmentDirectPaymentType" minOccurs="0"/>* <element name="QuantityCancelled" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>* <element name="Quantity" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>* </sequence>* </restriction>* </complexContent>* </complexType>* </pre>***/@XmlAccessorType(XmlAccessType.FIELD)@XmlType(name = "", propOrder = {"amazonOrderItemCode","merchantOrderItemID","merchantAdjustmentItemID","adjustmentReason","itemPriceAdjustments","promotionAdjustments","directPaymentAdjustments","quantityCancelled","quantity"})public static class AdjustedItem {@XmlElement(name = "AmazonOrderItemCode")protected String amazonOrderItemCode;@XmlElement(name = "MerchantOrderItemID")@XmlJavaTypeAdapter(NormalizedStringAdapter.class)protected String merchantOrderItemID;@XmlElement(name = "MerchantAdjustmentItemID")@XmlJavaTypeAdapter(NormalizedStringAdapter.class)protected String merchantAdjustmentItemID;@XmlElement(name = "AdjustmentReason", required = true)protected String adjustmentReason;@XmlElement(name = "ItemPriceAdjustments")protected AdjustmentBuyerPrice itemPriceAdjustments;@XmlElement(name = "PromotionAdjustments")protected List<OrderAdjustment.AdjustedItem.PromotionAdjustments> promotionAdjustments;@XmlElement(name = "DirectPaymentAdjustments")protected AdjustmentDirectPaymentType directPaymentAdjustments;@XmlElement(name = "QuantityCancelled")@XmlSchemaType(name = "positiveInteger")protected BigInteger quantityCancelled;@XmlElement(name = "Quantity")@XmlSchemaType(name = "positiveInteger")protected BigInteger quantity;/*** Gets the value of the amazonOrderItemCode property.** @return* possible object is* {@link String }**/public String getAmazonOrderItemCode() {return amazonOrderItemCode;}/*** Sets the value of the amazonOrderItemCode property.** @param value* allowed object is* {@link String }**/public void setAmazonOrderItemCode(String value) {this.amazonOrderItemCode = value;}/*** Gets the value of the merchantOrderItemID property.** @return* possible object is* {@link String }**/public String getMerchantOrderItemID() {return merchantOrderItemID;}/*** Sets the value of the merchantOrderItemID property.** @param value* allowed object is* {@link String }**/public void setMerchantOrderItemID(String value) {this.merchantOrderItemID = value;}/*** Gets the value of the merchantAdjustmentItemID property.** @return* possible object is* {@link String }**/public String getMerchantAdjustmentItemID() {return merchantAdjustmentItemID;}/*** Sets the value of the merchantAdjustmentItemID property.** @param value* allowed object is* {@link String }**/public void setMerchantAdjustmentItemID(String value) {this.merchantAdjustmentItemID = value;}/*** Gets the value of the adjustmentReason property.** @return* possible object is* {@link String }**/public String getAdjustmentReason() {return adjustmentReason;}/*** Sets the value of the adjustmentReason property.** @param value* allowed object is* {@link String }**/public void setAdjustmentReason(String value) {this.adjustmentReason = value;}/*** Gets the value of the itemPriceAdjustments property.** @return* possible object is* {@link AdjustmentBuyerPrice }**/public AdjustmentBuyerPrice getItemPriceAdjustments() {return itemPriceAdjustments;}/*** Sets the value of the itemPriceAdjustments property.** @param value* allowed object is* {@link AdjustmentBuyerPrice }**/public void setItemPriceAdjustments(AdjustmentBuyerPrice value) {this.itemPriceAdjustments = value;}/*** Gets the value of the promotionAdjustments 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 promotionAdjustments property.** <p>* For example, to add a new item, do as follows:* <pre>* getPromotionAdjustments().add(newItem);* </pre>*** <p>* Objects of the following type(s) are allowed in the list* {@link OrderAdjustment.AdjustedItem.PromotionAdjustments }***/public List<OrderAdjustment.AdjustedItem.PromotionAdjustments> getPromotionAdjustments() {if (promotionAdjustments == null) {promotionAdjustments = new ArrayList<OrderAdjustment.AdjustedItem.PromotionAdjustments>();}return this.promotionAdjustments;}/*** Gets the value of the directPaymentAdjustments property.** @return* possible object is* {@link AdjustmentDirectPaymentType }**/public AdjustmentDirectPaymentType getDirectPaymentAdjustments() {return directPaymentAdjustments;}/*** Sets the value of the directPaymentAdjustments property.** @param value* allowed object is* {@link AdjustmentDirectPaymentType }**/public void setDirectPaymentAdjustments(AdjustmentDirectPaymentType value) {this.directPaymentAdjustments = value;}/*** Gets the value of the quantityCancelled property.** @return* possible object is* {@link BigInteger }**/public BigInteger getQuantityCancelled() {return quantityCancelled;}/*** Sets the value of the quantityCancelled property.** @param value* allowed object is* {@link BigInteger }**/public void setQuantityCancelled(BigInteger value) {this.quantityCancelled = value;}/*** Gets the value of the quantity property.** @return* possible object is* {@link BigInteger }**/public BigInteger getQuantity() {return quantity;}/*** Sets the value of the quantity property.** @param value* allowed object is* {@link BigInteger }**/public void setQuantity(BigInteger value) {this.quantity = value;}/*** <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 ref="{}PromotionClaimCode" minOccurs="0"/>* <element ref="{}MerchantPromotionID" minOccurs="0"/>* <element name="Component" maxOccurs="unbounded">* <complexType>* <complexContent>* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">* <sequence>* <element name="Type" type="{}PromotionApplicationType"/>* <element name="Amount" type="{}AdjustmentCurrencyAmount"/>* </sequence>* </restriction>* </complexContent>* </complexType>* </element>* </sequence>* </restriction>* </complexContent>* </complexType>* </pre>***/@XmlAccessorType(XmlAccessType.FIELD)@XmlType(name = "", propOrder = {"promotionClaimCode","merchantPromotionID","component"})public static class PromotionAdjustments {@XmlElement(name = "PromotionClaimCode")protected String promotionClaimCode;@XmlElement(name = "MerchantPromotionID")@XmlJavaTypeAdapter(NormalizedStringAdapter.class)protected String merchantPromotionID;@XmlElement(name = "Component", required = true)protected List<OrderAdjustment.AdjustedItem.PromotionAdjustments.Component> component;/*** Gets the value of the promotionClaimCode property.** @return* possible object is* {@link String }**/public String getPromotionClaimCode() {return promotionClaimCode;}/*** Sets the value of the promotionClaimCode property.** @param value* allowed object is* {@link String }**/public void setPromotionClaimCode(String value) {this.promotionClaimCode = value;}/*** Gets the value of the merchantPromotionID property.** @return* possible object is* {@link String }**/public String getMerchantPromotionID() {return merchantPromotionID;}/*** Sets the value of the merchantPromotionID property.** @param value* allowed object is* {@link String }**/public void setMerchantPromotionID(String value) {this.merchantPromotionID = value;}/*** Gets the value of the component 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 component property.** <p>* For example, to add a new item, do as follows:* <pre>* getComponent().add(newItem);* </pre>*** <p>* Objects of the following type(s) are allowed in the list* {@link OrderAdjustment.AdjustedItem.PromotionAdjustments.Component }***/public List<OrderAdjustment.AdjustedItem.PromotionAdjustments.Component> getComponent() {if (component == null) {component = new ArrayList<OrderAdjustment.AdjustedItem.PromotionAdjustments.Component>();}return this.component;}/*** <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="Type" type="{}PromotionApplicationType"/>* <element name="Amount" type="{}AdjustmentCurrencyAmount"/>* </sequence>* </restriction>* </complexContent>* </complexType>* </pre>***/@XmlAccessorType(XmlAccessType.FIELD)@XmlType(name = "", propOrder = {"type","amount"})public static class Component {@XmlElement(name = "Type", required = true)protected PromotionApplicationType type;@XmlElement(name = "Amount", required = true)protected AdjustmentCurrencyAmount amount;/*** Gets the value of the type property.** @return* possible object is* {@link PromotionApplicationType }**/public PromotionApplicationType getType() {return type;}/*** Sets the value of the type property.** @param value* allowed object is* {@link PromotionApplicationType }**/public void setType(PromotionApplicationType value) {this.type = value;}/*** Gets the value of the amount property.** @return* possible object is* {@link AdjustmentCurrencyAmount }**/public AdjustmentCurrencyAmount getAmount() {return amount;}/*** Sets the value of the amount property.** @param value* allowed object is* {@link AdjustmentCurrencyAmount }**/public void setAmount(AdjustmentCurrencyAmount value) {this.amount = value;}}}}}