|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.amazon.webservices.awsecommerceservice._2007_04_04.CartCreateRequest
public class CartCreateRequest
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"/>
</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>
| Nested Class Summary | |
|---|---|
static class |
CartCreateRequest.Items
Java class for anonymous complex type. |
| Field Summary | |
|---|---|
protected CartCreateRequest.Items |
items
|
protected java.lang.String |
mergeCart
|
protected java.util.List<java.lang.String> |
responseGroup
|
| Constructor Summary | |
|---|---|
CartCreateRequest()
|
|
| Method Summary | |
|---|---|
CartCreateRequest.Items |
getItems()
Gets the value of the items property. |
java.lang.String |
getMergeCart()
Gets the value of the mergeCart property. |
java.util.List<java.lang.String> |
getResponseGroup()
Gets the value of the responseGroup property. |
void |
setItems(CartCreateRequest.Items value)
Sets the value of the items property. |
void |
setMergeCart(java.lang.String value)
Sets the value of the mergeCart property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String mergeCart
protected CartCreateRequest.Items items
protected java.util.List<java.lang.String> responseGroup
| Constructor Detail |
|---|
public CartCreateRequest()
| Method Detail |
|---|
public java.lang.String getMergeCart()
Stringpublic void setMergeCart(java.lang.String value)
value - allowed object is
Stringpublic CartCreateRequest.Items getItems()
CartCreateRequest.Itemspublic void setItems(CartCreateRequest.Items value)
value - allowed object is
CartCreateRequest.Itemspublic java.util.List<java.lang.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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||