public class ListOrdersRequest extends AbstractMwsObject
<complexType name="ListOrdersRequest">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="SellerId" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="CreatedAfter" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
<element name="CreatedBefore" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
<element name="LastUpdatedAfter" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
<element name="LastUpdatedBefore" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
<element name="OrderStatus" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
<element name="MarketplaceId" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
<element name="FulfillmentChannel" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
<element name="PaymentMethod" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
<element name="BuyerEmail" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="SellerOrderId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="MaxResultsPerPage" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="TFMShipmentStatus" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Constructor and Description |
|---|
ListOrdersRequest()
Default constructor.
|
ListOrdersRequest(String sellerId,
XMLGregorianCalendar createdAfter,
XMLGregorianCalendar createdBefore,
XMLGregorianCalendar lastUpdatedAfter,
XMLGregorianCalendar lastUpdatedBefore,
List<String> orderStatus,
List<String> marketplaceId,
List<String> fulfillmentChannel,
List<String> paymentMethod,
String buyerEmail,
String sellerOrderId,
Integer maxResultsPerPage,
List<String> tfmShipmentStatus)
Value constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getBuyerEmail()
Get the value of BuyerEmail.
|
XMLGregorianCalendar |
getCreatedAfter()
Get the value of CreatedAfter.
|
XMLGregorianCalendar |
getCreatedBefore()
Get the value of CreatedBefore.
|
List<String> |
getFulfillmentChannel()
Get the value of FulfillmentChannel.
|
XMLGregorianCalendar |
getLastUpdatedAfter()
Get the value of LastUpdatedAfter.
|
XMLGregorianCalendar |
getLastUpdatedBefore()
Get the value of LastUpdatedBefore.
|
List<String> |
getMarketplaceId()
Get the value of MarketplaceId.
|
Integer |
getMaxResultsPerPage()
Get the value of MaxResultsPerPage.
|
List<String> |
getOrderStatus()
Get the value of OrderStatus.
|
List<String> |
getPaymentMethod()
Get the value of PaymentMethod.
|
String |
getSellerId()
Get the value of SellerId.
|
String |
getSellerOrderId()
Get the value of SellerOrderId.
|
List<String> |
getTFMShipmentStatus()
Get the value of TFMShipmentStatus.
|
boolean |
isSetBuyerEmail()
Check to see if BuyerEmail is set.
|
boolean |
isSetCreatedAfter()
Check to see if CreatedAfter is set.
|
boolean |
isSetCreatedBefore()
Check to see if CreatedBefore is set.
|
boolean |
isSetFulfillmentChannel()
Check to see if FulfillmentChannel is set.
|
boolean |
isSetLastUpdatedAfter()
Check to see if LastUpdatedAfter is set.
|
boolean |
isSetLastUpdatedBefore()
Check to see if LastUpdatedBefore is set.
|
boolean |
isSetMarketplaceId()
Check to see if MarketplaceId is set.
|
boolean |
isSetMaxResultsPerPage()
Check to see if MaxResultsPerPage is set.
|
boolean |
isSetOrderStatus()
Check to see if OrderStatus is set.
|
boolean |
isSetPaymentMethod()
Check to see if PaymentMethod is set.
|
boolean |
isSetSellerId()
Check to see if SellerId is set.
|
boolean |
isSetSellerOrderId()
Check to see if SellerOrderId is set.
|
boolean |
isSetTFMShipmentStatus()
Check to see if TFMShipmentStatus is set.
|
void |
readFragmentFrom(MwsReader r)
Read members from a MwsReader.
|
void |
setBuyerEmail(String buyerEmail)
Set the value of BuyerEmail.
|
void |
setCreatedAfter(XMLGregorianCalendar createdAfter)
Set the value of CreatedAfter.
|
void |
setCreatedBefore(XMLGregorianCalendar createdBefore)
Set the value of CreatedBefore.
|
void |
setFulfillmentChannel(List<String> fulfillmentChannel)
Set the value of FulfillmentChannel.
|
void |
setLastUpdatedAfter(XMLGregorianCalendar lastUpdatedAfter)
Set the value of LastUpdatedAfter.
|
void |
setLastUpdatedBefore(XMLGregorianCalendar lastUpdatedBefore)
Set the value of LastUpdatedBefore.
|
void |
setMarketplaceId(List<String> marketplaceId)
Set the value of MarketplaceId.
|
void |
setMaxResultsPerPage(Integer maxResultsPerPage)
Set the value of MaxResultsPerPage.
|
void |
setOrderStatus(List<String> orderStatus)
Set the value of OrderStatus.
|
void |
setPaymentMethod(List<String> paymentMethod)
Set the value of PaymentMethod.
|
void |
setSellerId(String sellerId)
Set the value of SellerId.
|
void |
setSellerOrderId(String sellerOrderId)
Set the value of SellerOrderId.
|
void |
setTFMShipmentStatus(List<String> tfmShipmentStatus)
Set the value of TFMShipmentStatus.
|
void |
unsetFulfillmentChannel()
Clear FulfillmentChannel.
|
void |
unsetMarketplaceId()
Clear MarketplaceId.
|
void |
unsetOrderStatus()
Clear OrderStatus.
|
void |
unsetPaymentMethod()
Clear PaymentMethod.
|
void |
unsetTFMShipmentStatus()
Clear TFMShipmentStatus.
|
ListOrdersRequest |
withBuyerEmail(String buyerEmail)
Set the value of BuyerEmail, return this.
|
ListOrdersRequest |
withCreatedAfter(XMLGregorianCalendar createdAfter)
Set the value of CreatedAfter, return this.
|
ListOrdersRequest |
withCreatedBefore(XMLGregorianCalendar createdBefore)
Set the value of CreatedBefore, return this.
|
ListOrdersRequest |
withFulfillmentChannel(String... values)
Add values for FulfillmentChannel, return this.
|
ListOrdersRequest |
withLastUpdatedAfter(XMLGregorianCalendar lastUpdatedAfter)
Set the value of LastUpdatedAfter, return this.
|
ListOrdersRequest |
withLastUpdatedBefore(XMLGregorianCalendar lastUpdatedBefore)
Set the value of LastUpdatedBefore, return this.
|
ListOrdersRequest |
withMarketplaceId(String... values)
Add values for MarketplaceId, return this.
|
ListOrdersRequest |
withMaxResultsPerPage(Integer maxResultsPerPage)
Set the value of MaxResultsPerPage, return this.
|
ListOrdersRequest |
withOrderStatus(String... values)
Add values for OrderStatus, return this.
|
ListOrdersRequest |
withPaymentMethod(String... values)
Add values for PaymentMethod, return this.
|
ListOrdersRequest |
withSellerId(String sellerId)
Set the value of SellerId, return this.
|
ListOrdersRequest |
withSellerOrderId(String sellerOrderId)
Set the value of SellerOrderId, return this.
|
ListOrdersRequest |
withTFMShipmentStatus(String... values)
Add values for TFMShipmentStatus, 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 ListOrdersRequest(String sellerId, XMLGregorianCalendar createdAfter, XMLGregorianCalendar createdBefore, XMLGregorianCalendar lastUpdatedAfter, XMLGregorianCalendar lastUpdatedBefore, List<String> orderStatus, List<String> marketplaceId, List<String> fulfillmentChannel, List<String> paymentMethod, String buyerEmail, String sellerOrderId, Integer maxResultsPerPage, List<String> tfmShipmentStatus)
public ListOrdersRequest()
public String getSellerId()
public void setSellerId(String sellerId)
sellerId - The new value to set.public boolean isSetSellerId()
public ListOrdersRequest withSellerId(String sellerId)
sellerId - The new value to set.public XMLGregorianCalendar getCreatedAfter()
public void setCreatedAfter(XMLGregorianCalendar createdAfter)
createdAfter - The new value to set.public boolean isSetCreatedAfter()
public ListOrdersRequest withCreatedAfter(XMLGregorianCalendar createdAfter)
createdAfter - The new value to set.public XMLGregorianCalendar getCreatedBefore()
public void setCreatedBefore(XMLGregorianCalendar createdBefore)
createdBefore - The new value to set.public boolean isSetCreatedBefore()
public ListOrdersRequest withCreatedBefore(XMLGregorianCalendar createdBefore)
createdBefore - The new value to set.public XMLGregorianCalendar getLastUpdatedAfter()
public void setLastUpdatedAfter(XMLGregorianCalendar lastUpdatedAfter)
lastUpdatedAfter - The new value to set.public boolean isSetLastUpdatedAfter()
public ListOrdersRequest withLastUpdatedAfter(XMLGregorianCalendar lastUpdatedAfter)
lastUpdatedAfter - The new value to set.public XMLGregorianCalendar getLastUpdatedBefore()
public void setLastUpdatedBefore(XMLGregorianCalendar lastUpdatedBefore)
lastUpdatedBefore - The new value to set.public boolean isSetLastUpdatedBefore()
public ListOrdersRequest withLastUpdatedBefore(XMLGregorianCalendar lastUpdatedBefore)
lastUpdatedBefore - The new value to set.public List<String> getOrderStatus()
public void setOrderStatus(List<String> orderStatus)
orderStatus - The new value to set.public void unsetOrderStatus()
public boolean isSetOrderStatus()
public ListOrdersRequest withOrderStatus(String... values)
orderStatus - New values to add.public List<String> getMarketplaceId()
public void setMarketplaceId(List<String> marketplaceId)
marketplaceId - The new value to set.public void unsetMarketplaceId()
public boolean isSetMarketplaceId()
public ListOrdersRequest withMarketplaceId(String... values)
marketplaceId - New values to add.public List<String> getFulfillmentChannel()
public void setFulfillmentChannel(List<String> fulfillmentChannel)
fulfillmentChannel - The new value to set.public void unsetFulfillmentChannel()
public boolean isSetFulfillmentChannel()
public ListOrdersRequest withFulfillmentChannel(String... values)
fulfillmentChannel - New values to add.public List<String> getPaymentMethod()
public void setPaymentMethod(List<String> paymentMethod)
paymentMethod - The new value to set.public void unsetPaymentMethod()
public boolean isSetPaymentMethod()
public ListOrdersRequest withPaymentMethod(String... values)
paymentMethod - New values to add.public String getBuyerEmail()
public void setBuyerEmail(String buyerEmail)
buyerEmail - The new value to set.public boolean isSetBuyerEmail()
public ListOrdersRequest withBuyerEmail(String buyerEmail)
buyerEmail - The new value to set.public String getSellerOrderId()
public void setSellerOrderId(String sellerOrderId)
sellerOrderId - The new value to set.public boolean isSetSellerOrderId()
public ListOrdersRequest withSellerOrderId(String sellerOrderId)
sellerOrderId - The new value to set.public Integer getMaxResultsPerPage()
public void setMaxResultsPerPage(Integer maxResultsPerPage)
maxResultsPerPage - The new value to set.public boolean isSetMaxResultsPerPage()
public ListOrdersRequest withMaxResultsPerPage(Integer maxResultsPerPage)
maxResultsPerPage - The new value to set.public List<String> getTFMShipmentStatus()
public void setTFMShipmentStatus(List<String> tfmShipmentStatus)
tfmShipmentStatus - The new value to set.public void unsetTFMShipmentStatus()
public boolean isSetTFMShipmentStatus()
public ListOrdersRequest withTFMShipmentStatus(String... values)
tfmShipmentStatus - 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.