com.amazon.webservices.awsecommerceservice._2007_04_04
Class CartModifyRequest.Items

java.lang.Object
  extended by com.amazon.webservices.awsecommerceservice._2007_04_04.CartModifyRequest.Items
Enclosing class:
CartModifyRequest

public static class CartModifyRequest.Items
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="Item" maxOccurs="unbounded" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="Action" minOccurs="0">
                     <simpleType>
                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                         <enumeration value="MoveToCart"/>
                         <enumeration value="SaveForLater"/>
                       </restriction>
                     </simpleType>
                   </element>
                   <element name="CartItemId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
                   <element name="Quantity" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class CartModifyRequest.Items.Item
          Java class for anonymous complex type.
 
Field Summary
protected  java.util.List<CartModifyRequest.Items.Item> item
           
 
Constructor Summary
CartModifyRequest.Items()
           
 
Method Summary
 java.util.List<CartModifyRequest.Items.Item> getItem()
          Gets the value of the item property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

item

protected java.util.List<CartModifyRequest.Items.Item> item
Constructor Detail

CartModifyRequest.Items

public CartModifyRequest.Items()
Method Detail

getItem

public java.util.List<CartModifyRequest.Items.Item> getItem()
Gets the value of the item 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 item property.

For example, to add a new item, do as follows:

    getItem().add(newItem);
 

Objects of the following type(s) are allowed in the list CartModifyRequest.Items.Item



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