package com.mindprod.aws.jax; 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 java.math.BigInteger; import java.util.ArrayList; import java.util.List; /** *
Java class for CartModifyRequest complex type. *
*The following schema fragment specifies the expected content contained within this class. *
** <complexType name="CartModifyRequest"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="CartId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="HMAC" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="MergeCart" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="Items" minOccurs="0"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="Item" maxOccurs="unbounded" minOccurs="0"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="Action" minOccurs="0"> * <simpleType> * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> * <enumeration value="MoveToCart"/> * <enumeration value="SaveForLater"/> * </restriction> * </simpleType> * </element> * <element name="CartItemId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="Quantity" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </element> * </sequence> * </restriction> * </complexContent> * </complexType> * </element> * <element name="ResponseGroup" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> * </complexType> **/ @XmlAccessorType( XmlAccessType.FIELD ) @XmlType( name = "CartModifyRequest", propOrder = { "cartId", "hmac", "mergeCart", "items", "responseGroup" } ) public class CartModifyRequest { @XmlElement( name = "CartId" ) protected String cartId; @XmlElement( name = "HMAC" ) protected String hmac; @XmlElement( name = "MergeCart" ) protected String mergeCart; @XmlElement( name = "Items" ) protected CartModifyRequest.Items items; @XmlElement( name = "ResponseGroup" ) protected List
set
method for the responseGroup property.
*
*
* For example, to add a new item, do as follows:
* * getResponseGroup().add(newItem); ** * * * Objects of the following type(s) are allowed in the list * {@link String } */ public List
Java class for anonymous complex type. *
*The following schema fragment specifies the expected content contained within this class. *
** <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="Item" maxOccurs="unbounded" minOccurs="0"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="Action" minOccurs="0"> * <simpleType> * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> * <enumeration value="MoveToCart"/> * <enumeration value="SaveForLater"/> * </restriction> * </simpleType> * </element> * <element name="CartItemId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="Quantity" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </element> * </sequence> * </restriction> * </complexContent> * </complexType> **/ @XmlAccessorType( XmlAccessType.FIELD ) @XmlType( name = "", propOrder = { "item" } ) public static class Items { @XmlElement( name = "Item" ) protected List
set
method for the item property.
*
*
* For example, to add a new item, do as follows:
* * getItem().add(newItem); ** * * * Objects of the following type(s) are allowed in the list * {@link CartModifyRequest.Items.Item } */ public List
Java class for anonymous complex type. *
*The following schema fragment specifies the expected content contained within this class. *
** <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="Action" minOccurs="0"> * <simpleType> * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> * <enumeration value="MoveToCart"/> * <enumeration value="SaveForLater"/> * </restriction> * </simpleType> * </element> * <element name="CartItemId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="Quantity" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> * </complexType> **/ @XmlAccessorType( XmlAccessType.FIELD ) @XmlType( name = "", propOrder = { "action", "cartItemId", "quantity" } ) public static class Item { @XmlElement( name = "Action" ) protected String action; @XmlElement( name = "CartItemId" ) protected String cartItemId; @XmlElement( name = "Quantity" ) @XmlSchemaType( name = "nonNegativeInteger" ) protected BigInteger quantity; /** * Gets the value of the action property. * * @return possible object is * {@link String } */ public String getAction() { return action; } /** * Sets the value of the action property. * * @param value allowed object is * {@link String } */ public void setAction( String value ) { this.action = value; } /** * Gets the value of the cartItemId property. * * @return possible object is * {@link String } */ public String getCartItemId() { return cartItemId; } /** * Sets the value of the cartItemId property. * * @param value allowed object is * {@link String } */ public void setCartItemId( String value ) { this.cartItemId = 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; } } } }