|
||||||||||
| 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.CartAddResponse
public class CartAddResponse
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 ref="{http://webservices.amazon.com/AWSECommerceService/2007-04-04}OperationRequest" minOccurs="0"/>
<element ref="{http://webservices.amazon.com/AWSECommerceService/2007-04-04}Cart" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected java.util.List<Cart> |
cart
|
protected OperationRequest |
operationRequest
|
| Constructor Summary | |
|---|---|
CartAddResponse()
|
|
| Method Summary | |
|---|---|
java.util.List<Cart> |
getCart()
Gets the value of the cart property. |
OperationRequest |
getOperationRequest()
Gets the value of the operationRequest property. |
void |
setOperationRequest(OperationRequest value)
Sets the value of the operationRequest property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected OperationRequest operationRequest
protected java.util.List<Cart> cart
| Constructor Detail |
|---|
public CartAddResponse()
| Method Detail |
|---|
public OperationRequest getOperationRequest()
OperationRequestpublic void setOperationRequest(OperationRequest value)
value - allowed object is
OperationRequestpublic java.util.List<Cart> getCart()
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 cart property.
For example, to add a new item, do as follows:
getCart().add(newItem);
Objects of the following type(s) are allowed in the list
Cart
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||