com.amazonaws.a2s.model
Class CartItem

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

public class CartItem
extends java.lang.Object

Java class for CartItem complex type.

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

 <complexType name="CartItem">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="CartItemId" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="ASIN" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="ExchangeId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="MerchantId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="SellerId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="SellerNickname" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Quantity" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="Title" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="ProductGroup" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="ListOwner" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="ListType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="MetaData" type="{http://webservices.amazon.com/AWSECommerceService/2007-10-29}CartItemMetaData" minOccurs="0"/>
         <element name="Price" type="{http://webservices.amazon.com/AWSECommerceService/2007-10-29}Price" minOccurs="0"/>
         <element name="ItemTotal" type="{http://webservices.amazon.com/AWSECommerceService/2007-10-29}Price" 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 asin
           
protected  java.lang.String cartItemId
           
protected  java.lang.String exchangeId
           
protected  Price itemTotal
           
protected  java.lang.String listOwner
           
protected  java.lang.String listType
           
protected  java.lang.String merchantId
           
protected  CartItemMetaData metaData
           
protected  Price price
           
protected  java.lang.String productGroup
           
protected  java.lang.String quantity
           
protected  java.lang.String sellerId
           
protected  java.lang.String sellerNickname
           
protected  java.lang.String title
           
 
Constructor Summary
CartItem()
           
 
Method Summary
 java.lang.String getASIN()
          Gets the value of the asin property.
 java.lang.String getCartItemId()
          Gets the value of the cartItemId property.
 java.lang.String getExchangeId()
          Gets the value of the exchangeId property.
 Price getItemTotal()
          Gets the value of the itemTotal property.
 java.lang.String getListOwner()
          Gets the value of the listOwner property.
 java.lang.String getListType()
          Gets the value of the listType property.
 java.lang.String getMerchantId()
          Gets the value of the merchantId property.
 CartItemMetaData getMetaData()
          Gets the value of the metaData property.
 Price getPrice()
          Gets the value of the price property.
 java.lang.String getProductGroup()
          Gets the value of the productGroup property.
 java.lang.String getQuantity()
          Gets the value of the quantity property.
 java.lang.String getSellerId()
          Gets the value of the sellerId property.
 java.lang.String getSellerNickname()
          Gets the value of the sellerNickname property.
 java.lang.String getTitle()
          Gets the value of the title property.
 boolean isSetASIN()
           
 boolean isSetCartItemId()
           
 boolean isSetExchangeId()
           
 boolean isSetItemTotal()
           
 boolean isSetListOwner()
           
 boolean isSetListType()
           
 boolean isSetMerchantId()
           
 boolean isSetMetaData()
           
 boolean isSetPrice()
           
 boolean isSetProductGroup()
           
 boolean isSetQuantity()
           
 boolean isSetSellerId()
           
 boolean isSetSellerNickname()
           
 boolean isSetTitle()
           
 void setASIN(java.lang.String value)
          Sets the value of the asin property.
 void setCartItemId(java.lang.String value)
          Sets the value of the cartItemId property.
 void setExchangeId(java.lang.String value)
          Sets the value of the exchangeId property.
 void setItemTotal(Price value)
          Sets the value of the itemTotal property.
 void setListOwner(java.lang.String value)
          Sets the value of the listOwner property.
 void setListType(java.lang.String value)
          Sets the value of the listType property.
 void setMerchantId(java.lang.String value)
          Sets the value of the merchantId property.
 void setMetaData(CartItemMetaData value)
          Sets the value of the metaData property.
 void setPrice(Price value)
          Sets the value of the price property.
 void setProductGroup(java.lang.String value)
          Sets the value of the productGroup property.
 void setQuantity(java.lang.String value)
          Sets the value of the quantity property.
 void setSellerId(java.lang.String value)
          Sets the value of the sellerId property.
 void setSellerNickname(java.lang.String value)
          Sets the value of the sellerNickname property.
 void setTitle(java.lang.String value)
          Sets the value of the title property.
protected  java.lang.String toXMLFragment()
          XML fragment representation of this object
 CartItem withASIN(java.lang.String value)
          Sets the value of the ASIN property.
 CartItem withCartItemId(java.lang.String value)
          Sets the value of the CartItemId property.
 CartItem withExchangeId(java.lang.String value)
          Sets the value of the ExchangeId property.
 CartItem withItemTotal(Price value)
          Sets the value of the ItemTotal property.
 CartItem withListOwner(java.lang.String value)
          Sets the value of the ListOwner property.
 CartItem withListType(java.lang.String value)
          Sets the value of the ListType property.
 CartItem withMerchantId(java.lang.String value)
          Sets the value of the MerchantId property.
 CartItem withMetaData(CartItemMetaData value)
          Sets the value of the MetaData property.
 CartItem withPrice(Price value)
          Sets the value of the Price property.
 CartItem withProductGroup(java.lang.String value)
          Sets the value of the ProductGroup property.
 CartItem withQuantity(java.lang.String value)
          Sets the value of the Quantity property.
 CartItem withSellerId(java.lang.String value)
          Sets the value of the SellerId property.
 CartItem withSellerNickname(java.lang.String value)
          Sets the value of the SellerNickname property.
 CartItem withTitle(java.lang.String value)
          Sets the value of the Title property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cartItemId

protected java.lang.String cartItemId

asin

protected java.lang.String asin

exchangeId

protected java.lang.String exchangeId

merchantId

protected java.lang.String merchantId

sellerId

protected java.lang.String sellerId

sellerNickname

protected java.lang.String sellerNickname

quantity

protected java.lang.String quantity

title

protected java.lang.String title

productGroup

protected java.lang.String productGroup

listOwner

protected java.lang.String listOwner

listType

protected java.lang.String listType

metaData

protected CartItemMetaData metaData

price

protected Price price

itemTotal

protected Price itemTotal
Constructor Detail

CartItem

public CartItem()
Method Detail

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

getASIN

public java.lang.String getASIN()
Gets the value of the asin property.

Returns:
possible object is String

setASIN

public void setASIN(java.lang.String value)
Sets the value of the asin property.

Parameters:
value - allowed object is String

isSetASIN

public boolean isSetASIN()

getExchangeId

public java.lang.String getExchangeId()
Gets the value of the exchangeId property.

Returns:
possible object is String

setExchangeId

public void setExchangeId(java.lang.String value)
Sets the value of the exchangeId property.

Parameters:
value - allowed object is String

isSetExchangeId

public boolean isSetExchangeId()

getMerchantId

public java.lang.String getMerchantId()
Gets the value of the merchantId property.

Returns:
possible object is String

setMerchantId

public void setMerchantId(java.lang.String value)
Sets the value of the merchantId property.

Parameters:
value - allowed object is String

isSetMerchantId

public boolean isSetMerchantId()

getSellerId

public java.lang.String getSellerId()
Gets the value of the sellerId property.

Returns:
possible object is String

setSellerId

public void setSellerId(java.lang.String value)
Sets the value of the sellerId property.

Parameters:
value - allowed object is String

isSetSellerId

public boolean isSetSellerId()

getSellerNickname

public java.lang.String getSellerNickname()
Gets the value of the sellerNickname property.

Returns:
possible object is String

setSellerNickname

public void setSellerNickname(java.lang.String value)
Sets the value of the sellerNickname property.

Parameters:
value - allowed object is String

isSetSellerNickname

public boolean isSetSellerNickname()

getQuantity

public java.lang.String getQuantity()
Gets the value of the quantity property.

Returns:
possible object is String

setQuantity

public void setQuantity(java.lang.String value)
Sets the value of the quantity property.

Parameters:
value - allowed object is String

isSetQuantity

public boolean isSetQuantity()

getTitle

public java.lang.String getTitle()
Gets the value of the title property.

Returns:
possible object is String

setTitle

public void setTitle(java.lang.String value)
Sets the value of the title property.

Parameters:
value - allowed object is String

isSetTitle

public boolean isSetTitle()

getProductGroup

public java.lang.String getProductGroup()
Gets the value of the productGroup property.

Returns:
possible object is String

setProductGroup

public void setProductGroup(java.lang.String value)
Sets the value of the productGroup property.

Parameters:
value - allowed object is String

isSetProductGroup

public boolean isSetProductGroup()

getListOwner

public java.lang.String getListOwner()
Gets the value of the listOwner property.

Returns:
possible object is String

setListOwner

public void setListOwner(java.lang.String value)
Sets the value of the listOwner property.

Parameters:
value - allowed object is String

isSetListOwner

public boolean isSetListOwner()

getListType

public java.lang.String getListType()
Gets the value of the listType property.

Returns:
possible object is String

setListType

public void setListType(java.lang.String value)
Sets the value of the listType property.

Parameters:
value - allowed object is String

isSetListType

public boolean isSetListType()

getMetaData

public CartItemMetaData getMetaData()
Gets the value of the metaData property.

Returns:
possible object is CartItemMetaData

setMetaData

public void setMetaData(CartItemMetaData value)
Sets the value of the metaData property.

Parameters:
value - allowed object is CartItemMetaData

isSetMetaData

public boolean isSetMetaData()

getPrice

public Price getPrice()
Gets the value of the price property.

Returns:
possible object is Price

setPrice

public void setPrice(Price value)
Sets the value of the price property.

Parameters:
value - allowed object is Price

isSetPrice

public boolean isSetPrice()

getItemTotal

public Price getItemTotal()
Gets the value of the itemTotal property.

Returns:
possible object is Price

setItemTotal

public void setItemTotal(Price value)
Sets the value of the itemTotal property.

Parameters:
value - allowed object is Price

isSetItemTotal

public boolean isSetItemTotal()

withCartItemId

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

Parameters:
value -
Returns:
this instance

withASIN

public CartItem withASIN(java.lang.String value)
Sets the value of the ASIN property.

Parameters:
value -
Returns:
this instance

withExchangeId

public CartItem withExchangeId(java.lang.String value)
Sets the value of the ExchangeId property.

Parameters:
value -
Returns:
this instance

withMerchantId

public CartItem withMerchantId(java.lang.String value)
Sets the value of the MerchantId property.

Parameters:
value -
Returns:
this instance

withSellerId

public CartItem withSellerId(java.lang.String value)
Sets the value of the SellerId property.

Parameters:
value -
Returns:
this instance

withSellerNickname

public CartItem withSellerNickname(java.lang.String value)
Sets the value of the SellerNickname property.

Parameters:
value -
Returns:
this instance

withQuantity

public CartItem withQuantity(java.lang.String value)
Sets the value of the Quantity property.

Parameters:
value -
Returns:
this instance

withTitle

public CartItem withTitle(java.lang.String value)
Sets the value of the Title property.

Parameters:
value -
Returns:
this instance

withProductGroup

public CartItem withProductGroup(java.lang.String value)
Sets the value of the ProductGroup property.

Parameters:
value -
Returns:
this instance

withListOwner

public CartItem withListOwner(java.lang.String value)
Sets the value of the ListOwner property.

Parameters:
value -
Returns:
this instance

withListType

public CartItem withListType(java.lang.String value)
Sets the value of the ListType property.

Parameters:
value -
Returns:
this instance

withMetaData

public CartItem withMetaData(CartItemMetaData value)
Sets the value of the MetaData property.

Parameters:
value -
Returns:
this instance

withPrice

public CartItem withPrice(Price value)
Sets the value of the Price property.

Parameters:
value -
Returns:
this instance

withItemTotal

public CartItem withItemTotal(Price value)
Sets the value of the ItemTotal 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