|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.amazonaws.a2s.model.CartGetRequest
public class CartGetRequest
Java class for CartGetRequest complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CartGetRequest">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="CartId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="HMAC" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="MergeCart" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="ResponseGroup" maxOccurs="unbounded" minOccurs="0">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="Request"/>
<enumeration value="Cart"/>
<enumeration value="CartSimilarities"/>
<enumeration value="CartTopSellers"/>
<enumeration value="CartNewReleases"/>
</restriction>
</simpleType>
</element>
</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 java.lang.String |
hmac
|
protected java.lang.String |
mergeCart
|
protected java.util.List<java.lang.String> |
responseGroup
|
| Constructor Summary | |
|---|---|
CartGetRequest()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getCartId()
Gets the value of the cartId property. |
java.lang.String |
getHMAC()
Gets the value of the hmac property. |
java.lang.String |
getMergeCart()
Gets the value of the mergeCart property. |
java.util.List<java.lang.String> |
getResponseGroup()
Gets the value of the responseGroup property. |
boolean |
isSetCartId()
|
boolean |
isSetHMAC()
|
boolean |
isSetMergeCart()
|
boolean |
isSetResponseGroup()
|
void |
setCartId(java.lang.String value)
Sets the value of the cartId property. |
void |
setHMAC(java.lang.String value)
Sets the value of the hmac property. |
void |
setMergeCart(java.lang.String value)
Sets the value of the mergeCart property. |
void |
setResponseGroup(java.util.List<java.lang.String> responseGroup)
Sets the value of the responseGroup property. |
protected java.lang.String |
toXMLFragment()
XML fragment representation of this object |
void |
unsetResponseGroup()
|
CartGetRequest |
withCartId(java.lang.String value)
Sets the value of the CartId property. |
CartGetRequest |
withHMAC(java.lang.String value)
Sets the value of the HMAC property. |
CartGetRequest |
withMergeCart(java.lang.String value)
Sets the value of the MergeCart property. |
CartGetRequest |
withResponseGroup(java.lang.String... values)
Sets the value of the ResponseGroup 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 cartId
protected java.lang.String hmac
protected java.lang.String mergeCart
protected java.util.List<java.lang.String> responseGroup
| Constructor Detail |
|---|
public CartGetRequest()
| Method Detail |
|---|
public java.lang.String getCartId()
Stringpublic void setCartId(java.lang.String value)
value - allowed object is
Stringpublic boolean isSetCartId()
public java.lang.String getHMAC()
Stringpublic void setHMAC(java.lang.String value)
value - allowed object is
Stringpublic boolean isSetHMAC()
public java.lang.String getMergeCart()
Stringpublic void setMergeCart(java.lang.String value)
value - allowed object is
Stringpublic boolean isSetMergeCart()
public java.util.List<java.lang.String> getResponseGroup()
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 responseGroup property.
For example, to add a new item, do as follows:
getResponseGroup().add(newItem);
Objects of the following type(s) are allowed in the list
String
public boolean isSetResponseGroup()
public void unsetResponseGroup()
public CartGetRequest withCartId(java.lang.String value)
value -
public CartGetRequest withHMAC(java.lang.String value)
value -
public CartGetRequest withMergeCart(java.lang.String value)
value -
public CartGetRequest withResponseGroup(java.lang.String... values)
values -
public void setResponseGroup(java.util.List<java.lang.String> responseGroup)
responseGroup - allowed object is
Stringprotected java.lang.String toXMLFragment()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||