com.amazon.webservices.awsecommerceservice._2007_04_04
Class CartModifyRequest

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

public class CartModifyRequest
extends java.lang.Object

Java class for CartModifyRequest complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="CartModifyRequest">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="CartId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="HMAC" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <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="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>
         </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 CartModifyRequest.Items
          Java class for anonymous complex type.
 
Field Summary
protected  java.lang.String cartId
           
protected  java.lang.String hmac
           
protected  CartModifyRequest.Items items
           
protected  java.lang.String mergeCart
           
protected  java.util.List<java.lang.String> responseGroup
           
 
Constructor Summary
CartModifyRequest()
           
 
Method Summary
 java.lang.String getCartId()
          Gets the value of the cartId property.
 java.lang.String getHMAC()
          Gets the value of the hmac property.
 CartModifyRequest.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 setCartId(java.lang.String value)
          Sets the value of the cartId property.
 void setHMAC(java.lang.String value)
          Sets the value of the hmac property.
 void setItems(CartModifyRequest.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

cartId

protected java.lang.String cartId

hmac

protected java.lang.String hmac

mergeCart

protected java.lang.String mergeCart

items

protected CartModifyRequest.Items items

responseGroup

protected java.util.List<java.lang.String> responseGroup
Constructor Detail

CartModifyRequest

public CartModifyRequest()
Method Detail

getCartId

public java.lang.String getCartId()
Gets the value of the cartId property.

Returns:
possible object is String

setCartId

public void setCartId(java.lang.String value)
Sets the value of the cartId property.

Parameters:
value - allowed object is String

getHMAC

public java.lang.String getHMAC()
Gets the value of the hmac property.

Returns:
possible object is String

setHMAC

public void setHMAC(java.lang.String value)
Sets the value of the hmac property.

Parameters:
value - allowed object is String

getMergeCart

public java.lang.String getMergeCart()
Gets the value of the mergeCart property.

Returns:
possible object is String

setMergeCart

public void setMergeCart(java.lang.String value)
Sets the value of the mergeCart property.

Parameters:
value - allowed object is String

getItems

public CartModifyRequest.Items getItems()
Gets the value of the items property.

Returns:
possible object is CartModifyRequest.Items

setItems

public void setItems(CartModifyRequest.Items value)
Sets the value of the items property.

Parameters:
value - allowed object is CartModifyRequest.Items

getResponseGroup

public java.util.List<java.lang.String> getResponseGroup()
Gets the value of the responseGroup 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 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



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