public class CartCreateRequest extends Object implements Serializable
Java class for CartCreateRequest complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CartCreateRequest">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<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="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>
</element>
<element name="ResponseGroup" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
CartCreateRequest.Items
Java class for anonymous complex type.
|
| Modifier and Type | Field and Description |
|---|---|
protected CartCreateRequest.Items |
items |
protected String |
mergeCart |
protected List<String> |
responseGroup |
| Constructor and Description |
|---|
CartCreateRequest() |
| Modifier and Type | Method and Description |
|---|---|
CartCreateRequest.Items |
getItems()
Gets the value of the items property.
|
String |
getMergeCart()
Gets the value of the mergeCart property.
|
List<String> |
getResponseGroup()
Gets the value of the responseGroup property.
|
void |
setItems(CartCreateRequest.Items value)
Sets the value of the items property.
|
void |
setMergeCart(String value)
Sets the value of the mergeCart property.
|
protected String mergeCart
protected CartCreateRequest.Items items
public String getMergeCart()
Stringpublic void setMergeCart(String value)
value - allowed object is
Stringpublic CartCreateRequest.Items getItems()
CartCreateRequest.Itemspublic void setItems(CartCreateRequest.Items value)
value - allowed object is
CartCreateRequest.Itemspublic List<String> getResponseGroup()
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 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
String
Copyright © 2013. All Rights Reserved.