|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.amazonaws.a2s.model.CartAddItem
public class CartAddItem
Java class for CartAddItem complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CartAddItem">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="ASIN" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="OfferListingId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="Quantity" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>
<element name="AssociateTag" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="ListItemId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="MetaData" type="{http://webservices.amazon.com/AWSECommerceService/2007-10-29}MetaData" maxOccurs="unbounded"/>
</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 |
associateTag
|
protected java.lang.String |
listItemId
|
protected java.util.List<MetaData> |
metaData
|
protected java.lang.String |
offerListingId
|
protected java.math.BigInteger |
quantity
|
| Constructor Summary | |
|---|---|
CartAddItem()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getASIN()
Gets the value of the asin property. |
java.lang.String |
getAssociateTag()
Gets the value of the associateTag property. |
java.lang.String |
getListItemId()
Gets the value of the listItemId property. |
java.util.List<MetaData> |
getMetaData()
Gets the value of the metaData property. |
java.lang.String |
getOfferListingId()
Gets the value of the offerListingId property. |
java.math.BigInteger |
getQuantity()
Gets the value of the quantity property. |
boolean |
isSetASIN()
|
boolean |
isSetAssociateTag()
|
boolean |
isSetListItemId()
|
boolean |
isSetMetaData()
|
boolean |
isSetOfferListingId()
|
boolean |
isSetQuantity()
|
void |
setASIN(java.lang.String value)
Sets the value of the asin property. |
void |
setAssociateTag(java.lang.String value)
Sets the value of the associateTag property. |
void |
setListItemId(java.lang.String value)
Sets the value of the listItemId property. |
void |
setMetaData(java.util.List<MetaData> metaData)
Sets the value of the metaData property. |
void |
setOfferListingId(java.lang.String value)
Sets the value of the offerListingId 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 |
void |
unsetMetaData()
|
CartAddItem |
withASIN(java.lang.String value)
Sets the value of the ASIN property. |
CartAddItem |
withAssociateTag(java.lang.String value)
Sets the value of the AssociateTag property. |
CartAddItem |
withListItemId(java.lang.String value)
Sets the value of the ListItemId property. |
CartAddItem |
withMetaData(MetaData... values)
Sets the value of the MetaData property. |
CartAddItem |
withOfferListingId(java.lang.String value)
Sets the value of the OfferListingId property. |
CartAddItem |
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 |
|---|
protected java.lang.String asin
protected java.lang.String offerListingId
protected java.math.BigInteger quantity
protected java.lang.String associateTag
protected java.lang.String listItemId
protected java.util.List<MetaData> metaData
| Constructor Detail |
|---|
public CartAddItem()
| Method Detail |
|---|
public java.lang.String getASIN()
Stringpublic void setASIN(java.lang.String value)
value - allowed object is
Stringpublic boolean isSetASIN()
public java.lang.String getOfferListingId()
Stringpublic void setOfferListingId(java.lang.String value)
value - allowed object is
Stringpublic boolean isSetOfferListingId()
public java.math.BigInteger getQuantity()
BigIntegerpublic void setQuantity(java.math.BigInteger value)
value - allowed object is
BigIntegerpublic boolean isSetQuantity()
public java.lang.String getAssociateTag()
Stringpublic void setAssociateTag(java.lang.String value)
value - allowed object is
Stringpublic boolean isSetAssociateTag()
public java.lang.String getListItemId()
Stringpublic void setListItemId(java.lang.String value)
value - allowed object is
Stringpublic boolean isSetListItemId()
public java.util.List<MetaData> getMetaData()
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 metaData property.
For example, to add a new item, do as follows:
getMetaData().add(newItem);
Objects of the following type(s) are allowed in the list
MetaData
public boolean isSetMetaData()
public void unsetMetaData()
public CartAddItem withASIN(java.lang.String value)
value -
public CartAddItem withOfferListingId(java.lang.String value)
value -
public CartAddItem withQuantity(java.math.BigInteger value)
value -
public CartAddItem withAssociateTag(java.lang.String value)
value -
public CartAddItem withListItemId(java.lang.String value)
value -
public CartAddItem withMetaData(MetaData... values)
values -
public void setMetaData(java.util.List<MetaData> metaData)
metaData - allowed object is
MetaDataprotected java.lang.String toXMLFragment()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||