public static class CartModifyRequest.Items extends Object implements Serializable
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>
| Modifier and Type | Class and Description |
|---|---|
static class |
CartModifyRequest.Items.Item
Java class for anonymous complex type.
|
| Modifier and Type | Field and Description |
|---|---|
protected List<CartModifyRequest.Items.Item> |
item |
| Constructor and Description |
|---|
CartModifyRequest.Items() |
protected List<CartModifyRequest.Items.Item> item
public List<CartModifyRequest.Items.Item> getItem()
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 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
CartModifyRequest.Items.Item
Copyright © 2013. All Rights Reserved.