com.amazonaws.a2s.model
Class CartModifyItem

java.lang.Object
  extended by com.amazonaws.a2s.model.CartModifyItem

public class CartModifyItem
extends java.lang.Object

Java class for CartModifyItem complex type.

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

 <complexType name="CartModifyItem">
   <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>
 
Generated by AWS Code Generator

Thu Jan 10 05:27:59 PST 2008


Field Summary
protected  java.lang.String action
           
protected  java.lang.String cartItemId
           
protected  java.math.BigInteger quantity
           
 
Constructor Summary
CartModifyItem()
           
 
Method Summary
 java.lang.String getAction()
          Gets the value of the action property.
 java.lang.String getCartItemId()
          Gets the value of the cartItemId property.
 java.math.BigInteger getQuantity()
          Gets the value of the quantity property.
 boolean isSetAction()
           
 boolean isSetCartItemId()
           
 boolean isSetQuantity()
           
 void setAction(java.lang.String value)
          Sets the value of the action property.
 void setCartItemId(java.lang.String value)
          Sets the value of the cartItemId property.
 void setQuantity(java.math.BigInteger value)
          Sets the value of the quantity property.
protected  java.lang.String toXMLFragment()
          XML fragment representation of this object
 CartModifyItem withAction(java.lang.String value)
          Sets the value of the Action property.
 CartModifyItem withCartItemId(java.lang.String value)
          Sets the value of the CartItemId property.
 CartModifyItem withQuantity(java.math.BigInteger value)
          Sets the value of the Quantity property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

action

protected java.lang.String action

cartItemId

protected java.lang.String cartItemId

quantity

protected java.math.BigInteger quantity
Constructor Detail

CartModifyItem

public CartModifyItem()
Method Detail

getAction

public java.lang.String getAction()
Gets the value of the action property.

Returns:
possible object is String

setAction

public void setAction(java.lang.String value)
Sets the value of the action property.

Parameters:
value - allowed object is String

isSetAction

public boolean isSetAction()

getCartItemId

public java.lang.String getCartItemId()
Gets the value of the cartItemId property.

Returns:
possible object is String

setCartItemId

public void setCartItemId(java.lang.String value)
Sets the value of the cartItemId property.

Parameters:
value - allowed object is String

isSetCartItemId

public boolean isSetCartItemId()

getQuantity

public java.math.BigInteger getQuantity()
Gets the value of the quantity property.

Returns:
possible object is BigInteger

setQuantity

public void setQuantity(java.math.BigInteger value)
Sets the value of the quantity property.

Parameters:
value - allowed object is BigInteger

isSetQuantity

public boolean isSetQuantity()

withAction

public CartModifyItem withAction(java.lang.String value)
Sets the value of the Action property.

Parameters:
value -
Returns:
this instance

withCartItemId

public CartModifyItem withCartItemId(java.lang.String value)
Sets the value of the CartItemId property.

Parameters:
value -
Returns:
this instance

withQuantity

public CartModifyItem withQuantity(java.math.BigInteger value)
Sets the value of the Quantity property.

Parameters:
value -
Returns:
this instance

toXMLFragment

protected java.lang.String toXMLFragment()
XML fragment representation of this object

Returns:
XML fragment for this object. Name for outer tag expected to be set by calling method. This fragment returns inner properties representation only