|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.amazonaws.a2s.model.CartItems
public class CartItems
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="SubTotal" type="{http://webservices.amazon.com/AWSECommerceService/2007-10-29}Price" minOccurs="0"/>
<element name="CartItem" type="{http://webservices.amazon.com/AWSECommerceService/2007-10-29}CartItem" maxOccurs="unbounded"/>
</sequence>
</restriction>
</complexContent>
</complexType>
Generated by AWS Code Generator
Thu Jan 10 05:27:59 PST 2008
| Field Summary | |
|---|---|
protected java.util.List<CartItem> |
cartItem
|
protected Price |
subTotal
|
| Constructor Summary | |
|---|---|
CartItems()
|
|
| Method Summary | |
|---|---|
java.util.List<CartItem> |
getCartItem()
Gets the value of the cartItem property. |
Price |
getSubTotal()
Gets the value of the subTotal property. |
boolean |
isSetCartItem()
|
boolean |
isSetSubTotal()
|
void |
setCartItem(java.util.List<CartItem> cartItem)
Sets the value of the cartItem property. |
void |
setSubTotal(Price value)
Sets the value of the subTotal property. |
protected java.lang.String |
toXMLFragment()
XML fragment representation of this object |
void |
unsetCartItem()
|
CartItems |
withCartItem(CartItem... values)
Sets the value of the CartItem property. |
CartItems |
withSubTotal(Price value)
Sets the value of the SubTotal property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Price subTotal
protected java.util.List<CartItem> cartItem
| Constructor Detail |
|---|
public CartItems()
| Method Detail |
|---|
public Price getSubTotal()
Pricepublic void setSubTotal(Price value)
value - allowed object is
Pricepublic boolean isSetSubTotal()
public java.util.List<CartItem> getCartItem()
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 cartItem property.
For example, to add a new item, do as follows:
getCartItem().add(newItem);
Objects of the following type(s) are allowed in the list
CartItem
public boolean isSetCartItem()
public void unsetCartItem()
public CartItems withSubTotal(Price value)
value -
public CartItems withCartItem(CartItem... values)
values -
public void setCartItem(java.util.List<CartItem> cartItem)
cartItem - allowed object is
CartItemprotected java.lang.String toXMLFragment()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||