public class ListOrderItemsResult extends AbstractMwsObject
<complexType name="ListOrderItemsResult">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="NextToken" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="AmazonOrderId" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="OrderItems" type="{https://mws.amazonservices.com/Orders/2013-09-01}OrderItem" maxOccurs="unbounded"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Constructor and Description |
|---|
ListOrderItemsResult()
Default constructor.
|
ListOrderItemsResult(String nextToken,
String amazonOrderId,
List<OrderItem> orderItems)
Value constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAmazonOrderId()
Get the value of AmazonOrderId.
|
String |
getNextToken()
Get the value of NextToken.
|
List<OrderItem> |
getOrderItems()
Get the value of OrderItems.
|
boolean |
isSetAmazonOrderId()
Check to see if AmazonOrderId is set.
|
boolean |
isSetNextToken()
Check to see if NextToken is set.
|
boolean |
isSetOrderItems()
Check to see if OrderItems is set.
|
void |
readFragmentFrom(MwsReader r)
Read members from a MwsReader.
|
void |
setAmazonOrderId(String amazonOrderId)
Set the value of AmazonOrderId.
|
void |
setNextToken(String nextToken)
Set the value of NextToken.
|
void |
setOrderItems(List<OrderItem> orderItems)
Set the value of OrderItems.
|
void |
unsetOrderItems()
Clear OrderItems.
|
ListOrderItemsResult |
withAmazonOrderId(String amazonOrderId)
Set the value of AmazonOrderId, return this.
|
ListOrderItemsResult |
withNextToken(String nextToken)
Set the value of NextToken, return this.
|
ListOrderItemsResult |
withOrderItems(OrderItem... values)
Add values for OrderItems, return this.
|
void |
writeFragmentTo(MwsWriter w)
Write members to a MwsWriter.
|
void |
writeTo(MwsWriter w)
Write tag, xmlns and members to a MwsWriter.
|
toJSON, toJSONFragment, toXML, toXMLFragmentpublic ListOrderItemsResult(String nextToken, String amazonOrderId, List<OrderItem> orderItems)
public ListOrderItemsResult()
public String getNextToken()
public void setNextToken(String nextToken)
nextToken - The new value to set.public boolean isSetNextToken()
public ListOrderItemsResult withNextToken(String nextToken)
nextToken - The new value to set.public String getAmazonOrderId()
public void setAmazonOrderId(String amazonOrderId)
amazonOrderId - The new value to set.public boolean isSetAmazonOrderId()
public ListOrderItemsResult withAmazonOrderId(String amazonOrderId)
amazonOrderId - The new value to set.public List<OrderItem> getOrderItems()
public void setOrderItems(List<OrderItem> orderItems)
orderItems - The new value to set.public void unsetOrderItems()
public boolean isSetOrderItems()
public ListOrderItemsResult withOrderItems(OrderItem... values)
orderItems - New values to add.public void readFragmentFrom(MwsReader r)
r - The reader to read from.public void writeFragmentTo(MwsWriter w)
w - The writer to write to.public void writeTo(MwsWriter w)
w - The Writer to write to.Copyright © 2014. All Rights Reserved.