com.amazon.webservices.awsecommerceservice._2007_04_04
Class CartItems

java.lang.Object
  extended by com.amazon.webservices.awsecommerceservice._2007_04_04.CartItems

public class CartItems
extends java.lang.Object

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-04-04}Price" minOccurs="0"/>
         <element name="CartItem" type="{http://webservices.amazon.com/AWSECommerceService/2007-04-04}CartItem" maxOccurs="unbounded"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


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.
 void setSubTotal(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

subTotal

protected Price subTotal

cartItem

protected java.util.List<CartItem> cartItem
Constructor Detail

CartItems

public CartItems()
Method Detail

getSubTotal

public Price getSubTotal()
Gets the value of the subTotal property.

Returns:
possible object is Price

setSubTotal

public void setSubTotal(Price value)
Sets the value of the subTotal property.

Parameters:
value - allowed object is Price

getCartItem

public java.util.List<CartItem> getCartItem()
Gets the value of the cartItem property.

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



Copyright © 2007 orange-cafe.de. All Rights Reserved.