public static class CartCreateRequest.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="ASIN" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="OfferListingId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="Quantity" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>
<element name="AssociateTag" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="ListItemId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="MetaData" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="Key" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="Value" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
CartCreateRequest.Items.Item
Java class for anonymous complex type.
|
| Modifier and Type | Field and Description |
|---|---|
protected List<CartCreateRequest.Items.Item> |
item |
| Constructor and Description |
|---|
CartCreateRequest.Items() |
protected List<CartCreateRequest.Items.Item> item
public List<CartCreateRequest.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
CartCreateRequest.Items.Item
Copyright © 2013. All Rights Reserved.