com.amazonaws.a2s.model
Class Cart

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

public class Cart
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="CartId" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="HMAC" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="URLEncodedHMAC" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="PurchaseURL" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="SubTotal" type="{http://webservices.amazon.com/AWSECommerceService/2007-10-29}Price" minOccurs="0"/>
         <element ref="{http://webservices.amazon.com/AWSECommerceService/2007-10-29}CartItems" minOccurs="0"/>
         <element ref="{http://webservices.amazon.com/AWSECommerceService/2007-10-29}SavedForLaterItems" minOccurs="0"/>
         <element ref="{http://webservices.amazon.com/AWSECommerceService/2007-10-29}SimilarProducts" minOccurs="0"/>
         <element ref="{http://webservices.amazon.com/AWSECommerceService/2007-10-29}TopSellers" minOccurs="0"/>
         <element ref="{http://webservices.amazon.com/AWSECommerceService/2007-10-29}NewReleases" minOccurs="0"/>
         <element ref="{http://webservices.amazon.com/AWSECommerceService/2007-10-29}SimilarViewedProducts" minOccurs="0"/>
         <element ref="{http://webservices.amazon.com/AWSECommerceService/2007-10-29}OtherCategoriesSimilarProducts" 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 cartId
           
protected  CartItems cartItems
           
protected  java.lang.String hmac
           
protected  NewReleases newReleases
           
protected  OtherCategoriesSimilarProducts otherCategoriesSimilarProducts
           
protected  java.lang.String purchaseURL
           
protected  SavedForLaterItems savedForLaterItems
           
protected  SimilarProducts similarProducts
           
protected  SimilarViewedProducts similarViewedProducts
           
protected  Price subTotal
           
protected  TopSellers topSellers
           
protected  java.lang.String urlEncodedHMAC
           
 
Constructor Summary
Cart()
           
 
Method Summary
 java.lang.String getCartId()
          Gets the value of the cartId property.
 CartItems getCartItems()
          Gets the value of the cartItems property.
 java.lang.String getHMAC()
          Gets the value of the hmac property.
 NewReleases getNewReleases()
          Gets the value of the newReleases property.
 OtherCategoriesSimilarProducts getOtherCategoriesSimilarProducts()
          Gets the value of the otherCategoriesSimilarProducts property.
 java.lang.String getPurchaseURL()
          Gets the value of the purchaseURL property.
 SavedForLaterItems getSavedForLaterItems()
          Gets the value of the savedForLaterItems property.
 SimilarProducts getSimilarProducts()
          Gets the value of the similarProducts property.
 SimilarViewedProducts getSimilarViewedProducts()
          Gets the value of the similarViewedProducts property.
 Price getSubTotal()
          Gets the value of the subTotal property.
 TopSellers getTopSellers()
          Gets the value of the topSellers property.
 java.lang.String getURLEncodedHMAC()
          Gets the value of the urlEncodedHMAC property.
 boolean isSetCartId()
           
 boolean isSetCartItems()
           
 boolean isSetHMAC()
           
 boolean isSetNewReleases()
           
 boolean isSetOtherCategoriesSimilarProducts()
           
 boolean isSetPurchaseURL()
           
 boolean isSetSavedForLaterItems()
           
 boolean isSetSimilarProducts()
           
 boolean isSetSimilarViewedProducts()
           
 boolean isSetSubTotal()
           
 boolean isSetTopSellers()
           
 boolean isSetURLEncodedHMAC()
           
 void setCartId(java.lang.String value)
          Sets the value of the cartId property.
 void setCartItems(CartItems value)
          Sets the value of the cartItems property.
 void setHMAC(java.lang.String value)
          Sets the value of the hmac property.
 void setNewReleases(NewReleases value)
          Sets the value of the newReleases property.
 void setOtherCategoriesSimilarProducts(OtherCategoriesSimilarProducts value)
          Sets the value of the otherCategoriesSimilarProducts property.
 void setPurchaseURL(java.lang.String value)
          Sets the value of the purchaseURL property.
 void setSavedForLaterItems(SavedForLaterItems value)
          Sets the value of the savedForLaterItems property.
 void setSimilarProducts(SimilarProducts value)
          Sets the value of the similarProducts property.
 void setSimilarViewedProducts(SimilarViewedProducts value)
          Sets the value of the similarViewedProducts property.
 void setSubTotal(Price value)
          Sets the value of the subTotal property.
 void setTopSellers(TopSellers value)
          Sets the value of the topSellers property.
 void setURLEncodedHMAC(java.lang.String value)
          Sets the value of the urlEncodedHMAC property.
protected  java.lang.String toXMLFragment()
          XML fragment representation of this object
 Cart withCartId(java.lang.String value)
          Sets the value of the CartId property.
 Cart withCartItems(CartItems value)
          Sets the value of the CartItems property.
 Cart withHMAC(java.lang.String value)
          Sets the value of the HMAC property.
 Cart withNewReleases(NewReleases value)
          Sets the value of the NewReleases property.
 Cart withOtherCategoriesSimilarProducts(OtherCategoriesSimilarProducts value)
          Sets the value of the OtherCategoriesSimilarProducts property.
 Cart withPurchaseURL(java.lang.String value)
          Sets the value of the PurchaseURL property.
 Cart withSavedForLaterItems(SavedForLaterItems value)
          Sets the value of the SavedForLaterItems property.
 Cart withSimilarProducts(SimilarProducts value)
          Sets the value of the SimilarProducts property.
 Cart withSimilarViewedProducts(SimilarViewedProducts value)
          Sets the value of the SimilarViewedProducts property.
 Cart withSubTotal(Price value)
          Sets the value of the SubTotal property.
 Cart withTopSellers(TopSellers value)
          Sets the value of the TopSellers property.
 Cart withURLEncodedHMAC(java.lang.String value)
          Sets the value of the URLEncodedHMAC 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

urlEncodedHMAC

protected java.lang.String urlEncodedHMAC

purchaseURL

protected java.lang.String purchaseURL

subTotal

protected Price subTotal

cartItems

protected CartItems cartItems

savedForLaterItems

protected SavedForLaterItems savedForLaterItems

similarProducts

protected SimilarProducts similarProducts

topSellers

protected TopSellers topSellers

newReleases

protected NewReleases newReleases

similarViewedProducts

protected SimilarViewedProducts similarViewedProducts

otherCategoriesSimilarProducts

protected OtherCategoriesSimilarProducts otherCategoriesSimilarProducts
Constructor Detail

Cart

public Cart()
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

isSetCartId

public boolean isSetCartId()

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

isSetHMAC

public boolean isSetHMAC()

getURLEncodedHMAC

public java.lang.String getURLEncodedHMAC()
Gets the value of the urlEncodedHMAC property.

Returns:
possible object is String

setURLEncodedHMAC

public void setURLEncodedHMAC(java.lang.String value)
Sets the value of the urlEncodedHMAC property.

Parameters:
value - allowed object is String

isSetURLEncodedHMAC

public boolean isSetURLEncodedHMAC()

getPurchaseURL

public java.lang.String getPurchaseURL()
Gets the value of the purchaseURL property.

Returns:
possible object is String

setPurchaseURL

public void setPurchaseURL(java.lang.String value)
Sets the value of the purchaseURL property.

Parameters:
value - allowed object is String

isSetPurchaseURL

public boolean isSetPurchaseURL()

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

isSetSubTotal

public boolean isSetSubTotal()

getCartItems

public CartItems getCartItems()
Gets the value of the cartItems property.

Returns:
possible object is CartItems

setCartItems

public void setCartItems(CartItems value)
Sets the value of the cartItems property.

Parameters:
value - allowed object is CartItems

isSetCartItems

public boolean isSetCartItems()

getSavedForLaterItems

public SavedForLaterItems getSavedForLaterItems()
Gets the value of the savedForLaterItems property.

Returns:
possible object is SavedForLaterItems

setSavedForLaterItems

public void setSavedForLaterItems(SavedForLaterItems value)
Sets the value of the savedForLaterItems property.

Parameters:
value - allowed object is SavedForLaterItems

isSetSavedForLaterItems

public boolean isSetSavedForLaterItems()

getSimilarProducts

public SimilarProducts getSimilarProducts()
Gets the value of the similarProducts property.

Returns:
possible object is SimilarProducts

setSimilarProducts

public void setSimilarProducts(SimilarProducts value)
Sets the value of the similarProducts property.

Parameters:
value - allowed object is SimilarProducts

isSetSimilarProducts

public boolean isSetSimilarProducts()

getTopSellers

public TopSellers getTopSellers()
Gets the value of the topSellers property.

Returns:
possible object is TopSellers

setTopSellers

public void setTopSellers(TopSellers value)
Sets the value of the topSellers property.

Parameters:
value - allowed object is TopSellers

isSetTopSellers

public boolean isSetTopSellers()

getNewReleases

public NewReleases getNewReleases()
Gets the value of the newReleases property.

Returns:
possible object is NewReleases

setNewReleases

public void setNewReleases(NewReleases value)
Sets the value of the newReleases property.

Parameters:
value - allowed object is NewReleases

isSetNewReleases

public boolean isSetNewReleases()

getSimilarViewedProducts

public SimilarViewedProducts getSimilarViewedProducts()
Gets the value of the similarViewedProducts property.

Returns:
possible object is SimilarViewedProducts

setSimilarViewedProducts

public void setSimilarViewedProducts(SimilarViewedProducts value)
Sets the value of the similarViewedProducts property.

Parameters:
value - allowed object is SimilarViewedProducts

isSetSimilarViewedProducts

public boolean isSetSimilarViewedProducts()

getOtherCategoriesSimilarProducts

public OtherCategoriesSimilarProducts getOtherCategoriesSimilarProducts()
Gets the value of the otherCategoriesSimilarProducts property.

Returns:
possible object is OtherCategoriesSimilarProducts

setOtherCategoriesSimilarProducts

public void setOtherCategoriesSimilarProducts(OtherCategoriesSimilarProducts value)
Sets the value of the otherCategoriesSimilarProducts property.

Parameters:
value - allowed object is OtherCategoriesSimilarProducts

isSetOtherCategoriesSimilarProducts

public boolean isSetOtherCategoriesSimilarProducts()

withCartId

public Cart withCartId(java.lang.String value)
Sets the value of the CartId property.

Parameters:
value -
Returns:
this instance

withHMAC

public Cart withHMAC(java.lang.String value)
Sets the value of the HMAC property.

Parameters:
value -
Returns:
this instance

withURLEncodedHMAC

public Cart withURLEncodedHMAC(java.lang.String value)
Sets the value of the URLEncodedHMAC property.

Parameters:
value -
Returns:
this instance

withPurchaseURL

public Cart withPurchaseURL(java.lang.String value)
Sets the value of the PurchaseURL property.

Parameters:
value -
Returns:
this instance

withSubTotal

public Cart withSubTotal(Price value)
Sets the value of the SubTotal property.

Parameters:
value -
Returns:
this instance

withCartItems

public Cart withCartItems(CartItems value)
Sets the value of the CartItems property.

Parameters:
value -
Returns:
this instance

withSavedForLaterItems

public Cart withSavedForLaterItems(SavedForLaterItems value)
Sets the value of the SavedForLaterItems property.

Parameters:
value -
Returns:
this instance

withSimilarProducts

public Cart withSimilarProducts(SimilarProducts value)
Sets the value of the SimilarProducts property.

Parameters:
value -
Returns:
this instance

withTopSellers

public Cart withTopSellers(TopSellers value)
Sets the value of the TopSellers property.

Parameters:
value -
Returns:
this instance

withNewReleases

public Cart withNewReleases(NewReleases value)
Sets the value of the NewReleases property.

Parameters:
value -
Returns:
this instance

withSimilarViewedProducts

public Cart withSimilarViewedProducts(SimilarViewedProducts value)
Sets the value of the SimilarViewedProducts property.

Parameters:
value -
Returns:
this instance

withOtherCategoriesSimilarProducts

public Cart withOtherCategoriesSimilarProducts(OtherCategoriesSimilarProducts value)
Sets the value of the OtherCategoriesSimilarProducts 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