public class Order extends AbstractMwsObject
<complexType name="Order">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="AmazonOrderId" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="SellerOrderId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="PurchaseDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
<element name="LastUpdateDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
<element name="OrderStatus" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="FulfillmentChannel" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="SalesChannel" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="OrderChannel" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="ShipServiceLevel" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="ShippingAddress" type="{https://mws.amazonservices.com/Orders/2013-09-01}Address" minOccurs="0"/>
<element name="OrderTotal" type="{https://mws.amazonservices.com/Orders/2013-09-01}Money" minOccurs="0"/>
<element name="NumberOfItemsShipped" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="NumberOfItemsUnshipped" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="PaymentExecutionDetail" type="{https://mws.amazonservices.com/Orders/2013-09-01}PaymentExecutionDetailItem" maxOccurs="unbounded"/>
<element name="PaymentMethod" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="MarketplaceId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="BuyerEmail" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="BuyerName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="ShipmentServiceLevelCategory" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="ShippedByAmazonTFM" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="TFMShipmentStatus" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="CbaDisplayableShippingLabel" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="OrderType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="EarliestShipDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
<element name="LatestShipDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
<element name="EarliestDeliveryDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
<element name="LatestDeliveryDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Constructor and Description |
|---|
Order()
Default constructor.
|
Order(String amazonOrderId,
String sellerOrderId,
XMLGregorianCalendar purchaseDate,
XMLGregorianCalendar lastUpdateDate,
String orderStatus,
String fulfillmentChannel,
String salesChannel,
String orderChannel,
String shipServiceLevel,
Address shippingAddress,
Money orderTotal,
Integer numberOfItemsShipped,
Integer numberOfItemsUnshipped,
List<PaymentExecutionDetailItem> paymentExecutionDetail,
String paymentMethod,
String marketplaceId,
String buyerEmail,
String buyerName,
String shipmentServiceLevelCategory,
Boolean shippedByAmazonTFM,
String tfmShipmentStatus,
String cbaDisplayableShippingLabel,
String orderType,
XMLGregorianCalendar earliestShipDate,
XMLGregorianCalendar latestShipDate,
XMLGregorianCalendar earliestDeliveryDate,
XMLGregorianCalendar latestDeliveryDate)
Value constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAmazonOrderId()
Get the value of AmazonOrderId.
|
String |
getBuyerEmail()
Get the value of BuyerEmail.
|
String |
getBuyerName()
Get the value of BuyerName.
|
String |
getCbaDisplayableShippingLabel()
Get the value of CbaDisplayableShippingLabel.
|
XMLGregorianCalendar |
getEarliestDeliveryDate()
Get the value of EarliestDeliveryDate.
|
XMLGregorianCalendar |
getEarliestShipDate()
Get the value of EarliestShipDate.
|
String |
getFulfillmentChannel()
Get the value of FulfillmentChannel.
|
XMLGregorianCalendar |
getLastUpdateDate()
Get the value of LastUpdateDate.
|
XMLGregorianCalendar |
getLatestDeliveryDate()
Get the value of LatestDeliveryDate.
|
XMLGregorianCalendar |
getLatestShipDate()
Get the value of LatestShipDate.
|
String |
getMarketplaceId()
Get the value of MarketplaceId.
|
Integer |
getNumberOfItemsShipped()
Get the value of NumberOfItemsShipped.
|
Integer |
getNumberOfItemsUnshipped()
Get the value of NumberOfItemsUnshipped.
|
String |
getOrderChannel()
Get the value of OrderChannel.
|
String |
getOrderStatus()
Get the value of OrderStatus.
|
Money |
getOrderTotal()
Get the value of OrderTotal.
|
String |
getOrderType()
Get the value of OrderType.
|
List<PaymentExecutionDetailItem> |
getPaymentExecutionDetail()
Get the value of PaymentExecutionDetail.
|
String |
getPaymentMethod()
Get the value of PaymentMethod.
|
XMLGregorianCalendar |
getPurchaseDate()
Get the value of PurchaseDate.
|
String |
getSalesChannel()
Get the value of SalesChannel.
|
String |
getSellerOrderId()
Get the value of SellerOrderId.
|
String |
getShipmentServiceLevelCategory()
Get the value of ShipmentServiceLevelCategory.
|
Boolean |
getShippedByAmazonTFM()
Get the value of ShippedByAmazonTFM.
|
Address |
getShippingAddress()
Get the value of ShippingAddress.
|
String |
getShipServiceLevel()
Get the value of ShipServiceLevel.
|
String |
getTFMShipmentStatus()
Get the value of TFMShipmentStatus.
|
boolean |
isSetAmazonOrderId()
Check to see if AmazonOrderId is set.
|
boolean |
isSetBuyerEmail()
Check to see if BuyerEmail is set.
|
boolean |
isSetBuyerName()
Check to see if BuyerName is set.
|
boolean |
isSetCbaDisplayableShippingLabel()
Check to see if CbaDisplayableShippingLabel is set.
|
boolean |
isSetEarliestDeliveryDate()
Check to see if EarliestDeliveryDate is set.
|
boolean |
isSetEarliestShipDate()
Check to see if EarliestShipDate is set.
|
boolean |
isSetFulfillmentChannel()
Check to see if FulfillmentChannel is set.
|
boolean |
isSetLastUpdateDate()
Check to see if LastUpdateDate is set.
|
boolean |
isSetLatestDeliveryDate()
Check to see if LatestDeliveryDate is set.
|
boolean |
isSetLatestShipDate()
Check to see if LatestShipDate is set.
|
boolean |
isSetMarketplaceId()
Check to see if MarketplaceId is set.
|
boolean |
isSetNumberOfItemsShipped()
Check to see if NumberOfItemsShipped is set.
|
boolean |
isSetNumberOfItemsUnshipped()
Check to see if NumberOfItemsUnshipped is set.
|
boolean |
isSetOrderChannel()
Check to see if OrderChannel is set.
|
boolean |
isSetOrderStatus()
Check to see if OrderStatus is set.
|
boolean |
isSetOrderTotal()
Check to see if OrderTotal is set.
|
boolean |
isSetOrderType()
Check to see if OrderType is set.
|
boolean |
isSetPaymentExecutionDetail()
Check to see if PaymentExecutionDetail is set.
|
boolean |
isSetPaymentMethod()
Check to see if PaymentMethod is set.
|
boolean |
isSetPurchaseDate()
Check to see if PurchaseDate is set.
|
boolean |
isSetSalesChannel()
Check to see if SalesChannel is set.
|
boolean |
isSetSellerOrderId()
Check to see if SellerOrderId is set.
|
boolean |
isSetShipmentServiceLevelCategory()
Check to see if ShipmentServiceLevelCategory is set.
|
boolean |
isSetShippedByAmazonTFM()
Check to see if ShippedByAmazonTFM is set.
|
boolean |
isSetShippingAddress()
Check to see if ShippingAddress is set.
|
boolean |
isSetShipServiceLevel()
Check to see if ShipServiceLevel is set.
|
boolean |
isSetTFMShipmentStatus()
Check to see if TFMShipmentStatus is set.
|
boolean |
isShippedByAmazonTFM()
Check the value of ShippedByAmazonTFM.
|
void |
readFragmentFrom(MwsReader r)
Read members from a MwsReader.
|
void |
setAmazonOrderId(String amazonOrderId)
Set the value of AmazonOrderId.
|
void |
setBuyerEmail(String buyerEmail)
Set the value of BuyerEmail.
|
void |
setBuyerName(String buyerName)
Set the value of BuyerName.
|
void |
setCbaDisplayableShippingLabel(String cbaDisplayableShippingLabel)
Set the value of CbaDisplayableShippingLabel.
|
void |
setEarliestDeliveryDate(XMLGregorianCalendar earliestDeliveryDate)
Set the value of EarliestDeliveryDate.
|
void |
setEarliestShipDate(XMLGregorianCalendar earliestShipDate)
Set the value of EarliestShipDate.
|
void |
setFulfillmentChannel(String fulfillmentChannel)
Set the value of FulfillmentChannel.
|
void |
setLastUpdateDate(XMLGregorianCalendar lastUpdateDate)
Set the value of LastUpdateDate.
|
void |
setLatestDeliveryDate(XMLGregorianCalendar latestDeliveryDate)
Set the value of LatestDeliveryDate.
|
void |
setLatestShipDate(XMLGregorianCalendar latestShipDate)
Set the value of LatestShipDate.
|
void |
setMarketplaceId(String marketplaceId)
Set the value of MarketplaceId.
|
void |
setNumberOfItemsShipped(Integer numberOfItemsShipped)
Set the value of NumberOfItemsShipped.
|
void |
setNumberOfItemsUnshipped(Integer numberOfItemsUnshipped)
Set the value of NumberOfItemsUnshipped.
|
void |
setOrderChannel(String orderChannel)
Set the value of OrderChannel.
|
void |
setOrderStatus(String orderStatus)
Set the value of OrderStatus.
|
void |
setOrderTotal(Money orderTotal)
Set the value of OrderTotal.
|
void |
setOrderType(String orderType)
Set the value of OrderType.
|
void |
setPaymentExecutionDetail(List<PaymentExecutionDetailItem> paymentExecutionDetail)
Set the value of PaymentExecutionDetail.
|
void |
setPaymentMethod(String paymentMethod)
Set the value of PaymentMethod.
|
void |
setPurchaseDate(XMLGregorianCalendar purchaseDate)
Set the value of PurchaseDate.
|
void |
setSalesChannel(String salesChannel)
Set the value of SalesChannel.
|
void |
setSellerOrderId(String sellerOrderId)
Set the value of SellerOrderId.
|
void |
setShipmentServiceLevelCategory(String shipmentServiceLevelCategory)
Set the value of ShipmentServiceLevelCategory.
|
void |
setShippedByAmazonTFM(Boolean shippedByAmazonTFM)
Set the value of ShippedByAmazonTFM.
|
void |
setShippingAddress(Address shippingAddress)
Set the value of ShippingAddress.
|
void |
setShipServiceLevel(String shipServiceLevel)
Set the value of ShipServiceLevel.
|
void |
setTFMShipmentStatus(String tfmShipmentStatus)
Set the value of TFMShipmentStatus.
|
void |
unsetPaymentExecutionDetail()
Clear PaymentExecutionDetail.
|
Order |
withAmazonOrderId(String amazonOrderId)
Set the value of AmazonOrderId, return this.
|
Order |
withBuyerEmail(String buyerEmail)
Set the value of BuyerEmail, return this.
|
Order |
withBuyerName(String buyerName)
Set the value of BuyerName, return this.
|
Order |
withCbaDisplayableShippingLabel(String cbaDisplayableShippingLabel)
Set the value of CbaDisplayableShippingLabel, return this.
|
Order |
withEarliestDeliveryDate(XMLGregorianCalendar earliestDeliveryDate)
Set the value of EarliestDeliveryDate, return this.
|
Order |
withEarliestShipDate(XMLGregorianCalendar earliestShipDate)
Set the value of EarliestShipDate, return this.
|
Order |
withFulfillmentChannel(String fulfillmentChannel)
Set the value of FulfillmentChannel, return this.
|
Order |
withLastUpdateDate(XMLGregorianCalendar lastUpdateDate)
Set the value of LastUpdateDate, return this.
|
Order |
withLatestDeliveryDate(XMLGregorianCalendar latestDeliveryDate)
Set the value of LatestDeliveryDate, return this.
|
Order |
withLatestShipDate(XMLGregorianCalendar latestShipDate)
Set the value of LatestShipDate, return this.
|
Order |
withMarketplaceId(String marketplaceId)
Set the value of MarketplaceId, return this.
|
Order |
withNumberOfItemsShipped(Integer numberOfItemsShipped)
Set the value of NumberOfItemsShipped, return this.
|
Order |
withNumberOfItemsUnshipped(Integer numberOfItemsUnshipped)
Set the value of NumberOfItemsUnshipped, return this.
|
Order |
withOrderChannel(String orderChannel)
Set the value of OrderChannel, return this.
|
Order |
withOrderStatus(String orderStatus)
Set the value of OrderStatus, return this.
|
Order |
withOrderTotal(Money orderTotal)
Set the value of OrderTotal, return this.
|
Order |
withOrderType(String orderType)
Set the value of OrderType, return this.
|
Order |
withPaymentExecutionDetail(PaymentExecutionDetailItem... values)
Add values for PaymentExecutionDetail, return this.
|
Order |
withPaymentMethod(String paymentMethod)
Set the value of PaymentMethod, return this.
|
Order |
withPurchaseDate(XMLGregorianCalendar purchaseDate)
Set the value of PurchaseDate, return this.
|
Order |
withSalesChannel(String salesChannel)
Set the value of SalesChannel, return this.
|
Order |
withSellerOrderId(String sellerOrderId)
Set the value of SellerOrderId, return this.
|
Order |
withShipmentServiceLevelCategory(String shipmentServiceLevelCategory)
Set the value of ShipmentServiceLevelCategory, return this.
|
Order |
withShippedByAmazonTFM(Boolean shippedByAmazonTFM)
Set the value of ShippedByAmazonTFM, return this.
|
Order |
withShippingAddress(Address shippingAddress)
Set the value of ShippingAddress, return this.
|
Order |
withShipServiceLevel(String shipServiceLevel)
Set the value of ShipServiceLevel, return this.
|
Order |
withTFMShipmentStatus(String tfmShipmentStatus)
Set the value of 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 Order(String amazonOrderId, String sellerOrderId, XMLGregorianCalendar purchaseDate, XMLGregorianCalendar lastUpdateDate, String orderStatus, String fulfillmentChannel, String salesChannel, String orderChannel, String shipServiceLevel, Address shippingAddress, Money orderTotal, Integer numberOfItemsShipped, Integer numberOfItemsUnshipped, List<PaymentExecutionDetailItem> paymentExecutionDetail, String paymentMethod, String marketplaceId, String buyerEmail, String buyerName, String shipmentServiceLevelCategory, Boolean shippedByAmazonTFM, String tfmShipmentStatus, String cbaDisplayableShippingLabel, String orderType, XMLGregorianCalendar earliestShipDate, XMLGregorianCalendar latestShipDate, XMLGregorianCalendar earliestDeliveryDate, XMLGregorianCalendar latestDeliveryDate)
public Order()
public String getAmazonOrderId()
public void setAmazonOrderId(String amazonOrderId)
amazonOrderId - The new value to set.public boolean isSetAmazonOrderId()
public Order withAmazonOrderId(String amazonOrderId)
amazonOrderId - The new value to set.public String getSellerOrderId()
public void setSellerOrderId(String sellerOrderId)
sellerOrderId - The new value to set.public boolean isSetSellerOrderId()
public Order withSellerOrderId(String sellerOrderId)
sellerOrderId - The new value to set.public XMLGregorianCalendar getPurchaseDate()
public void setPurchaseDate(XMLGregorianCalendar purchaseDate)
purchaseDate - The new value to set.public boolean isSetPurchaseDate()
public Order withPurchaseDate(XMLGregorianCalendar purchaseDate)
purchaseDate - The new value to set.public XMLGregorianCalendar getLastUpdateDate()
public void setLastUpdateDate(XMLGregorianCalendar lastUpdateDate)
lastUpdateDate - The new value to set.public boolean isSetLastUpdateDate()
public Order withLastUpdateDate(XMLGregorianCalendar lastUpdateDate)
lastUpdateDate - The new value to set.public String getOrderStatus()
public void setOrderStatus(String orderStatus)
orderStatus - The new value to set.public boolean isSetOrderStatus()
public Order withOrderStatus(String orderStatus)
orderStatus - The new value to set.public String getFulfillmentChannel()
public void setFulfillmentChannel(String fulfillmentChannel)
fulfillmentChannel - The new value to set.public boolean isSetFulfillmentChannel()
public Order withFulfillmentChannel(String fulfillmentChannel)
fulfillmentChannel - The new value to set.public String getSalesChannel()
public void setSalesChannel(String salesChannel)
salesChannel - The new value to set.public boolean isSetSalesChannel()
public Order withSalesChannel(String salesChannel)
salesChannel - The new value to set.public String getOrderChannel()
public void setOrderChannel(String orderChannel)
orderChannel - The new value to set.public boolean isSetOrderChannel()
public Order withOrderChannel(String orderChannel)
orderChannel - The new value to set.public String getShipServiceLevel()
public void setShipServiceLevel(String shipServiceLevel)
shipServiceLevel - The new value to set.public boolean isSetShipServiceLevel()
public Order withShipServiceLevel(String shipServiceLevel)
shipServiceLevel - The new value to set.public Address getShippingAddress()
public void setShippingAddress(Address shippingAddress)
shippingAddress - The new value to set.public boolean isSetShippingAddress()
public Order withShippingAddress(Address shippingAddress)
shippingAddress - The new value to set.public Money getOrderTotal()
public void setOrderTotal(Money orderTotal)
orderTotal - The new value to set.public boolean isSetOrderTotal()
public Order withOrderTotal(Money orderTotal)
orderTotal - The new value to set.public Integer getNumberOfItemsShipped()
public void setNumberOfItemsShipped(Integer numberOfItemsShipped)
numberOfItemsShipped - The new value to set.public boolean isSetNumberOfItemsShipped()
public Order withNumberOfItemsShipped(Integer numberOfItemsShipped)
numberOfItemsShipped - The new value to set.public Integer getNumberOfItemsUnshipped()
public void setNumberOfItemsUnshipped(Integer numberOfItemsUnshipped)
numberOfItemsUnshipped - The new value to set.public boolean isSetNumberOfItemsUnshipped()
public Order withNumberOfItemsUnshipped(Integer numberOfItemsUnshipped)
numberOfItemsUnshipped - The new value to set.public List<PaymentExecutionDetailItem> getPaymentExecutionDetail()
public void setPaymentExecutionDetail(List<PaymentExecutionDetailItem> paymentExecutionDetail)
paymentExecutionDetail - The new value to set.public void unsetPaymentExecutionDetail()
public boolean isSetPaymentExecutionDetail()
public Order withPaymentExecutionDetail(PaymentExecutionDetailItem... values)
paymentExecutionDetail - New values to add.public String getPaymentMethod()
public void setPaymentMethod(String paymentMethod)
paymentMethod - The new value to set.public boolean isSetPaymentMethod()
public Order withPaymentMethod(String paymentMethod)
paymentMethod - The new value to set.public String getMarketplaceId()
public void setMarketplaceId(String marketplaceId)
marketplaceId - The new value to set.public boolean isSetMarketplaceId()
public Order withMarketplaceId(String marketplaceId)
marketplaceId - The new value to set.public String getBuyerEmail()
public void setBuyerEmail(String buyerEmail)
buyerEmail - The new value to set.public boolean isSetBuyerEmail()
public Order withBuyerEmail(String buyerEmail)
buyerEmail - The new value to set.public String getBuyerName()
public void setBuyerName(String buyerName)
buyerName - The new value to set.public boolean isSetBuyerName()
public Order withBuyerName(String buyerName)
buyerName - The new value to set.public String getShipmentServiceLevelCategory()
public void setShipmentServiceLevelCategory(String shipmentServiceLevelCategory)
shipmentServiceLevelCategory - The new value to set.public boolean isSetShipmentServiceLevelCategory()
public Order withShipmentServiceLevelCategory(String shipmentServiceLevelCategory)
shipmentServiceLevelCategory - The new value to set.public boolean isShippedByAmazonTFM()
public Boolean getShippedByAmazonTFM()
public void setShippedByAmazonTFM(Boolean shippedByAmazonTFM)
shippedByAmazonTFM - The new value to set.public boolean isSetShippedByAmazonTFM()
public Order withShippedByAmazonTFM(Boolean shippedByAmazonTFM)
shippedByAmazonTFM - The new value to set.public String getTFMShipmentStatus()
public void setTFMShipmentStatus(String tfmShipmentStatus)
tfmShipmentStatus - The new value to set.public boolean isSetTFMShipmentStatus()
public Order withTFMShipmentStatus(String tfmShipmentStatus)
tfmShipmentStatus - The new value to set.public String getCbaDisplayableShippingLabel()
public void setCbaDisplayableShippingLabel(String cbaDisplayableShippingLabel)
cbaDisplayableShippingLabel - The new value to set.public boolean isSetCbaDisplayableShippingLabel()
public Order withCbaDisplayableShippingLabel(String cbaDisplayableShippingLabel)
cbaDisplayableShippingLabel - The new value to set.public String getOrderType()
public void setOrderType(String orderType)
orderType - The new value to set.public boolean isSetOrderType()
public Order withOrderType(String orderType)
orderType - The new value to set.public XMLGregorianCalendar getEarliestShipDate()
public void setEarliestShipDate(XMLGregorianCalendar earliestShipDate)
earliestShipDate - The new value to set.public boolean isSetEarliestShipDate()
public Order withEarliestShipDate(XMLGregorianCalendar earliestShipDate)
earliestShipDate - The new value to set.public XMLGregorianCalendar getLatestShipDate()
public void setLatestShipDate(XMLGregorianCalendar latestShipDate)
latestShipDate - The new value to set.public boolean isSetLatestShipDate()
public Order withLatestShipDate(XMLGregorianCalendar latestShipDate)
latestShipDate - The new value to set.public XMLGregorianCalendar getEarliestDeliveryDate()
public void setEarliestDeliveryDate(XMLGregorianCalendar earliestDeliveryDate)
earliestDeliveryDate - The new value to set.public boolean isSetEarliestDeliveryDate()
public Order withEarliestDeliveryDate(XMLGregorianCalendar earliestDeliveryDate)
earliestDeliveryDate - The new value to set.public XMLGregorianCalendar getLatestDeliveryDate()
public void setLatestDeliveryDate(XMLGregorianCalendar latestDeliveryDate)
latestDeliveryDate - The new value to set.public boolean isSetLatestDeliveryDate()
public Order withLatestDeliveryDate(XMLGregorianCalendar latestDeliveryDate)
latestDeliveryDate - The new value to set.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.