|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.amazonaws.a2s.model.CartModifyItem
public class CartModifyItem
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 |
|---|
protected java.lang.String action
protected java.lang.String cartItemId
protected java.math.BigInteger quantity
| Constructor Detail |
|---|
public CartModifyItem()
| Method Detail |
|---|
public java.lang.String getAction()
Stringpublic void setAction(java.lang.String value)
value - allowed object is
Stringpublic boolean isSetAction()
public java.lang.String getCartItemId()
Stringpublic void setCartItemId(java.lang.String value)
value - allowed object is
Stringpublic boolean isSetCartItemId()
public java.math.BigInteger getQuantity()
BigIntegerpublic void setQuantity(java.math.BigInteger value)
value - allowed object is
BigIntegerpublic boolean isSetQuantity()
public CartModifyItem withAction(java.lang.String value)
value -
public CartModifyItem withCartItemId(java.lang.String value)
value -
public CartModifyItem withQuantity(java.math.BigInteger value)
value -
protected java.lang.String toXMLFragment()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||