public class OrderItem extends AbstractMwsObject
<complexType name="OrderItem">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="ASIN" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="SellerSKU" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="OrderItemId" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="Title" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="QuantityOrdered" type="{http://www.w3.org/2001/XMLSchema}int"/>
<element name="QuantityShipped" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="ItemPrice" type="{https://mws.amazonservices.com/Orders/2013-09-01}Money" minOccurs="0"/>
<element name="ShippingPrice" type="{https://mws.amazonservices.com/Orders/2013-09-01}Money" minOccurs="0"/>
<element name="GiftWrapPrice" type="{https://mws.amazonservices.com/Orders/2013-09-01}Money" minOccurs="0"/>
<element name="ItemTax" type="{https://mws.amazonservices.com/Orders/2013-09-01}Money" minOccurs="0"/>
<element name="ShippingTax" type="{https://mws.amazonservices.com/Orders/2013-09-01}Money" minOccurs="0"/>
<element name="GiftWrapTax" type="{https://mws.amazonservices.com/Orders/2013-09-01}Money" minOccurs="0"/>
<element name="ShippingDiscount" type="{https://mws.amazonservices.com/Orders/2013-09-01}Money" minOccurs="0"/>
<element name="PromotionDiscount" type="{https://mws.amazonservices.com/Orders/2013-09-01}Money" minOccurs="0"/>
<element name="PromotionIds" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
<element name="CODFee" type="{https://mws.amazonservices.com/Orders/2013-09-01}Money" minOccurs="0"/>
<element name="CODFeeDiscount" type="{https://mws.amazonservices.com/Orders/2013-09-01}Money" minOccurs="0"/>
<element name="GiftMessageText" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="GiftWrapLevel" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="InvoiceData" type="{https://mws.amazonservices.com/Orders/2013-09-01}InvoiceData" minOccurs="0"/>
<element name="ConditionNote" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="ConditionId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="ConditionSubtypeId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="ScheduledDeliveryStartDate" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="ScheduledDeliveryEndDate" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Constructor and Description |
|---|
OrderItem()
Default constructor.
|
OrderItem(String asin,
String sellerSKU,
String orderItemId,
String title,
int quantityOrdered,
Integer quantityShipped,
Money itemPrice,
Money shippingPrice,
Money giftWrapPrice,
Money itemTax,
Money shippingTax,
Money giftWrapTax,
Money shippingDiscount,
Money promotionDiscount,
List<String> promotionIds,
Money codFee,
Money codFeeDiscount,
String giftMessageText,
String giftWrapLevel,
InvoiceData invoiceData,
String conditionNote,
String conditionId,
String conditionSubtypeId,
String scheduledDeliveryStartDate,
String scheduledDeliveryEndDate)
Value constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getASIN()
Get the value of ASIN.
|
Money |
getCODFee()
Get the value of CODFee.
|
Money |
getCODFeeDiscount()
Get the value of CODFeeDiscount.
|
String |
getConditionId()
Get the value of ConditionId.
|
String |
getConditionNote()
Get the value of ConditionNote.
|
String |
getConditionSubtypeId()
Get the value of ConditionSubtypeId.
|
String |
getGiftMessageText()
Get the value of GiftMessageText.
|
String |
getGiftWrapLevel()
Get the value of GiftWrapLevel.
|
Money |
getGiftWrapPrice()
Get the value of GiftWrapPrice.
|
Money |
getGiftWrapTax()
Get the value of GiftWrapTax.
|
InvoiceData |
getInvoiceData()
Get the value of InvoiceData.
|
Money |
getItemPrice()
Get the value of ItemPrice.
|
Money |
getItemTax()
Get the value of ItemTax.
|
String |
getOrderItemId()
Get the value of OrderItemId.
|
Money |
getPromotionDiscount()
Get the value of PromotionDiscount.
|
List<String> |
getPromotionIds()
Get the value of PromotionIds.
|
int |
getQuantityOrdered()
Get the value of QuantityOrdered.
|
Integer |
getQuantityShipped()
Get the value of QuantityShipped.
|
String |
getScheduledDeliveryEndDate()
Get the value of ScheduledDeliveryEndDate.
|
String |
getScheduledDeliveryStartDate()
Get the value of ScheduledDeliveryStartDate.
|
String |
getSellerSKU()
Get the value of SellerSKU.
|
Money |
getShippingDiscount()
Get the value of ShippingDiscount.
|
Money |
getShippingPrice()
Get the value of ShippingPrice.
|
Money |
getShippingTax()
Get the value of ShippingTax.
|
String |
getTitle()
Get the value of Title.
|
boolean |
isSetASIN()
Check to see if ASIN is set.
|
boolean |
isSetCODFee()
Check to see if CODFee is set.
|
boolean |
isSetCODFeeDiscount()
Check to see if CODFeeDiscount is set.
|
boolean |
isSetConditionId()
Check to see if ConditionId is set.
|
boolean |
isSetConditionNote()
Check to see if ConditionNote is set.
|
boolean |
isSetConditionSubtypeId()
Check to see if ConditionSubtypeId is set.
|
boolean |
isSetGiftMessageText()
Check to see if GiftMessageText is set.
|
boolean |
isSetGiftWrapLevel()
Check to see if GiftWrapLevel is set.
|
boolean |
isSetGiftWrapPrice()
Check to see if GiftWrapPrice is set.
|
boolean |
isSetGiftWrapTax()
Check to see if GiftWrapTax is set.
|
boolean |
isSetInvoiceData()
Check to see if InvoiceData is set.
|
boolean |
isSetItemPrice()
Check to see if ItemPrice is set.
|
boolean |
isSetItemTax()
Check to see if ItemTax is set.
|
boolean |
isSetOrderItemId()
Check to see if OrderItemId is set.
|
boolean |
isSetPromotionDiscount()
Check to see if PromotionDiscount is set.
|
boolean |
isSetPromotionIds()
Check to see if PromotionIds is set.
|
boolean |
isSetQuantityShipped()
Check to see if QuantityShipped is set.
|
boolean |
isSetScheduledDeliveryEndDate()
Check to see if ScheduledDeliveryEndDate is set.
|
boolean |
isSetScheduledDeliveryStartDate()
Check to see if ScheduledDeliveryStartDate is set.
|
boolean |
isSetSellerSKU()
Check to see if SellerSKU is set.
|
boolean |
isSetShippingDiscount()
Check to see if ShippingDiscount is set.
|
boolean |
isSetShippingPrice()
Check to see if ShippingPrice is set.
|
boolean |
isSetShippingTax()
Check to see if ShippingTax is set.
|
boolean |
isSetTitle()
Check to see if Title is set.
|
void |
readFragmentFrom(MwsReader r)
Read members from a MwsReader.
|
void |
setASIN(String asin)
Set the value of ASIN.
|
void |
setCODFee(Money codFee)
Set the value of CODFee.
|
void |
setCODFeeDiscount(Money codFeeDiscount)
Set the value of CODFeeDiscount.
|
void |
setConditionId(String conditionId)
Set the value of ConditionId.
|
void |
setConditionNote(String conditionNote)
Set the value of ConditionNote.
|
void |
setConditionSubtypeId(String conditionSubtypeId)
Set the value of ConditionSubtypeId.
|
void |
setGiftMessageText(String giftMessageText)
Set the value of GiftMessageText.
|
void |
setGiftWrapLevel(String giftWrapLevel)
Set the value of GiftWrapLevel.
|
void |
setGiftWrapPrice(Money giftWrapPrice)
Set the value of GiftWrapPrice.
|
void |
setGiftWrapTax(Money giftWrapTax)
Set the value of GiftWrapTax.
|
void |
setInvoiceData(InvoiceData invoiceData)
Set the value of InvoiceData.
|
void |
setItemPrice(Money itemPrice)
Set the value of ItemPrice.
|
void |
setItemTax(Money itemTax)
Set the value of ItemTax.
|
void |
setOrderItemId(String orderItemId)
Set the value of OrderItemId.
|
void |
setPromotionDiscount(Money promotionDiscount)
Set the value of PromotionDiscount.
|
void |
setPromotionIds(List<String> promotionIds)
Set the value of PromotionIds.
|
void |
setQuantityOrdered(int quantityOrdered)
Set the value of QuantityOrdered.
|
void |
setQuantityShipped(Integer quantityShipped)
Set the value of QuantityShipped.
|
void |
setScheduledDeliveryEndDate(String scheduledDeliveryEndDate)
Set the value of ScheduledDeliveryEndDate.
|
void |
setScheduledDeliveryStartDate(String scheduledDeliveryStartDate)
Set the value of ScheduledDeliveryStartDate.
|
void |
setSellerSKU(String sellerSKU)
Set the value of SellerSKU.
|
void |
setShippingDiscount(Money shippingDiscount)
Set the value of ShippingDiscount.
|
void |
setShippingPrice(Money shippingPrice)
Set the value of ShippingPrice.
|
void |
setShippingTax(Money shippingTax)
Set the value of ShippingTax.
|
void |
setTitle(String title)
Set the value of Title.
|
void |
unsetPromotionIds()
Clear PromotionIds.
|
OrderItem |
withASIN(String asin)
Set the value of ASIN, return this.
|
OrderItem |
withCODFee(Money codFee)
Set the value of CODFee, return this.
|
OrderItem |
withCODFeeDiscount(Money codFeeDiscount)
Set the value of CODFeeDiscount, return this.
|
OrderItem |
withConditionId(String conditionId)
Set the value of ConditionId, return this.
|
OrderItem |
withConditionNote(String conditionNote)
Set the value of ConditionNote, return this.
|
OrderItem |
withConditionSubtypeId(String conditionSubtypeId)
Set the value of ConditionSubtypeId, return this.
|
OrderItem |
withGiftMessageText(String giftMessageText)
Set the value of GiftMessageText, return this.
|
OrderItem |
withGiftWrapLevel(String giftWrapLevel)
Set the value of GiftWrapLevel, return this.
|
OrderItem |
withGiftWrapPrice(Money giftWrapPrice)
Set the value of GiftWrapPrice, return this.
|
OrderItem |
withGiftWrapTax(Money giftWrapTax)
Set the value of GiftWrapTax, return this.
|
OrderItem |
withInvoiceData(InvoiceData invoiceData)
Set the value of InvoiceData, return this.
|
OrderItem |
withItemPrice(Money itemPrice)
Set the value of ItemPrice, return this.
|
OrderItem |
withItemTax(Money itemTax)
Set the value of ItemTax, return this.
|
OrderItem |
withOrderItemId(String orderItemId)
Set the value of OrderItemId, return this.
|
OrderItem |
withPromotionDiscount(Money promotionDiscount)
Set the value of PromotionDiscount, return this.
|
OrderItem |
withPromotionIds(String... values)
Add values for PromotionIds, return this.
|
OrderItem |
withQuantityOrdered(int quantityOrdered)
Set the value of QuantityOrdered, return this.
|
OrderItem |
withQuantityShipped(Integer quantityShipped)
Set the value of QuantityShipped, return this.
|
OrderItem |
withScheduledDeliveryEndDate(String scheduledDeliveryEndDate)
Set the value of ScheduledDeliveryEndDate, return this.
|
OrderItem |
withScheduledDeliveryStartDate(String scheduledDeliveryStartDate)
Set the value of ScheduledDeliveryStartDate, return this.
|
OrderItem |
withSellerSKU(String sellerSKU)
Set the value of SellerSKU, return this.
|
OrderItem |
withShippingDiscount(Money shippingDiscount)
Set the value of ShippingDiscount, return this.
|
OrderItem |
withShippingPrice(Money shippingPrice)
Set the value of ShippingPrice, return this.
|
OrderItem |
withShippingTax(Money shippingTax)
Set the value of ShippingTax, return this.
|
OrderItem |
withTitle(String title)
Set the value of Title, 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 OrderItem(String asin, String sellerSKU, String orderItemId, String title, int quantityOrdered, Integer quantityShipped, Money itemPrice, Money shippingPrice, Money giftWrapPrice, Money itemTax, Money shippingTax, Money giftWrapTax, Money shippingDiscount, Money promotionDiscount, List<String> promotionIds, Money codFee, Money codFeeDiscount, String giftMessageText, String giftWrapLevel, InvoiceData invoiceData, String conditionNote, String conditionId, String conditionSubtypeId, String scheduledDeliveryStartDate, String scheduledDeliveryEndDate)
public OrderItem()
public String getASIN()
public void setASIN(String asin)
asin - The new value to set.public boolean isSetASIN()
public OrderItem withASIN(String asin)
asin - The new value to set.public String getSellerSKU()
public void setSellerSKU(String sellerSKU)
sellerSKU - The new value to set.public boolean isSetSellerSKU()
public OrderItem withSellerSKU(String sellerSKU)
sellerSKU - The new value to set.public String getOrderItemId()
public void setOrderItemId(String orderItemId)
orderItemId - The new value to set.public boolean isSetOrderItemId()
public OrderItem withOrderItemId(String orderItemId)
orderItemId - The new value to set.public String getTitle()
public void setTitle(String title)
title - The new value to set.public boolean isSetTitle()
public OrderItem withTitle(String title)
title - The new value to set.public int getQuantityOrdered()
public void setQuantityOrdered(int quantityOrdered)
quantityOrdered - The new value to set.public OrderItem withQuantityOrdered(int quantityOrdered)
quantityOrdered - The new value to set.public Integer getQuantityShipped()
public void setQuantityShipped(Integer quantityShipped)
quantityShipped - The new value to set.public boolean isSetQuantityShipped()
public OrderItem withQuantityShipped(Integer quantityShipped)
quantityShipped - The new value to set.public Money getItemPrice()
public void setItemPrice(Money itemPrice)
itemPrice - The new value to set.public boolean isSetItemPrice()
public OrderItem withItemPrice(Money itemPrice)
itemPrice - The new value to set.public Money getShippingPrice()
public void setShippingPrice(Money shippingPrice)
shippingPrice - The new value to set.public boolean isSetShippingPrice()
public OrderItem withShippingPrice(Money shippingPrice)
shippingPrice - The new value to set.public Money getGiftWrapPrice()
public void setGiftWrapPrice(Money giftWrapPrice)
giftWrapPrice - The new value to set.public boolean isSetGiftWrapPrice()
public OrderItem withGiftWrapPrice(Money giftWrapPrice)
giftWrapPrice - The new value to set.public Money getItemTax()
public void setItemTax(Money itemTax)
itemTax - The new value to set.public boolean isSetItemTax()
public OrderItem withItemTax(Money itemTax)
itemTax - The new value to set.public Money getShippingTax()
public void setShippingTax(Money shippingTax)
shippingTax - The new value to set.public boolean isSetShippingTax()
public OrderItem withShippingTax(Money shippingTax)
shippingTax - The new value to set.public Money getGiftWrapTax()
public void setGiftWrapTax(Money giftWrapTax)
giftWrapTax - The new value to set.public boolean isSetGiftWrapTax()
public OrderItem withGiftWrapTax(Money giftWrapTax)
giftWrapTax - The new value to set.public Money getShippingDiscount()
public void setShippingDiscount(Money shippingDiscount)
shippingDiscount - The new value to set.public boolean isSetShippingDiscount()
public OrderItem withShippingDiscount(Money shippingDiscount)
shippingDiscount - The new value to set.public Money getPromotionDiscount()
public void setPromotionDiscount(Money promotionDiscount)
promotionDiscount - The new value to set.public boolean isSetPromotionDiscount()
public OrderItem withPromotionDiscount(Money promotionDiscount)
promotionDiscount - The new value to set.public List<String> getPromotionIds()
public void setPromotionIds(List<String> promotionIds)
promotionIds - The new value to set.public void unsetPromotionIds()
public boolean isSetPromotionIds()
public OrderItem withPromotionIds(String... values)
promotionIds - New values to add.public Money getCODFee()
public void setCODFee(Money codFee)
codFee - The new value to set.public boolean isSetCODFee()
public OrderItem withCODFee(Money codFee)
codFee - The new value to set.public Money getCODFeeDiscount()
public void setCODFeeDiscount(Money codFeeDiscount)
codFeeDiscount - The new value to set.public boolean isSetCODFeeDiscount()
public OrderItem withCODFeeDiscount(Money codFeeDiscount)
codFeeDiscount - The new value to set.public String getGiftMessageText()
public void setGiftMessageText(String giftMessageText)
giftMessageText - The new value to set.public boolean isSetGiftMessageText()
public OrderItem withGiftMessageText(String giftMessageText)
giftMessageText - The new value to set.public String getGiftWrapLevel()
public void setGiftWrapLevel(String giftWrapLevel)
giftWrapLevel - The new value to set.public boolean isSetGiftWrapLevel()
public OrderItem withGiftWrapLevel(String giftWrapLevel)
giftWrapLevel - The new value to set.public InvoiceData getInvoiceData()
public void setInvoiceData(InvoiceData invoiceData)
invoiceData - The new value to set.public boolean isSetInvoiceData()
public OrderItem withInvoiceData(InvoiceData invoiceData)
invoiceData - The new value to set.public String getConditionNote()
public void setConditionNote(String conditionNote)
conditionNote - The new value to set.public boolean isSetConditionNote()
public OrderItem withConditionNote(String conditionNote)
conditionNote - The new value to set.public String getConditionId()
public void setConditionId(String conditionId)
conditionId - The new value to set.public boolean isSetConditionId()
public OrderItem withConditionId(String conditionId)
conditionId - The new value to set.public String getConditionSubtypeId()
public void setConditionSubtypeId(String conditionSubtypeId)
conditionSubtypeId - The new value to set.public boolean isSetConditionSubtypeId()
public OrderItem withConditionSubtypeId(String conditionSubtypeId)
conditionSubtypeId - The new value to set.public String getScheduledDeliveryStartDate()
public void setScheduledDeliveryStartDate(String scheduledDeliveryStartDate)
scheduledDeliveryStartDate - The new value to set.public boolean isSetScheduledDeliveryStartDate()
public OrderItem withScheduledDeliveryStartDate(String scheduledDeliveryStartDate)
scheduledDeliveryStartDate - The new value to set.public String getScheduledDeliveryEndDate()
public void setScheduledDeliveryEndDate(String scheduledDeliveryEndDate)
scheduledDeliveryEndDate - The new value to set.public boolean isSetScheduledDeliveryEndDate()
public OrderItem withScheduledDeliveryEndDate(String scheduledDeliveryEndDate)
scheduledDeliveryEndDate - 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.