public class Order extends ResourceSupport
Modifier and Type | Field and Description |
---|---|
private org.joda.time.DateTime |
archivedOn |
private Address |
billingAddress |
private org.joda.time.DateTime |
cancelledOn |
private org.joda.time.DateTime |
closedOn |
private java.lang.String |
comment |
private org.joda.time.DateTime |
creationDate |
private java.lang.String |
currencyId |
private GUID |
customerId |
private org.joda.time.DateTime |
dispatchedOn |
private java.lang.String |
grandTotal |
private org.joda.time.DateTime |
invoicedOn |
private LineItemContainer |
lineItemContainer |
private java.util.Locale |
locale |
private GUID |
orderId
Uses GUID as identifier, naming is consistent with product resource
|
private java.lang.String |
orderNumber
Merchant & Customer needs the order number.
|
private org.joda.time.DateTime |
paidOn |
private org.joda.time.DateTime |
pendingOn |
private org.joda.time.DateTime |
returnedOn |
private org.joda.time.DateTime |
shippedOn |
private Address |
shippingAddress |
private java.lang.String |
taxModel |
private java.lang.String |
totalBeforeTax |
private java.lang.String |
totalTax |
private org.joda.time.DateTime |
viewedOn |
Constructor and Description |
---|
Order() |
Modifier and Type | Method and Description |
---|---|
org.joda.time.DateTime |
getArchivedOn() |
Address |
getBillingAddress() |
org.joda.time.DateTime |
getCancelledOn() |
org.joda.time.DateTime |
getClosedOn() |
java.lang.String |
getComment() |
org.joda.time.DateTime |
getCreationDate() |
java.lang.String |
getCurrencyId() |
GUID |
getCustomerId() |
org.joda.time.DateTime |
getDispatchedOn() |
java.lang.String |
getGrandTotal() |
org.joda.time.DateTime |
getInvoicedOn() |
LineItemContainer |
getLineItemContainer() |
java.util.Locale |
getLocale() |
GUID |
getOrderId() |
java.lang.String |
getOrderNumber() |
org.joda.time.DateTime |
getPaidOn() |
org.joda.time.DateTime |
getPendingOn() |
org.joda.time.DateTime |
getReturnedOn() |
org.joda.time.DateTime |
getShippedOn() |
Address |
getShippingAddress() |
java.lang.String |
getTaxModel() |
java.lang.String |
getTotalBeforeTax() |
java.lang.String |
getTotalTax() |
org.joda.time.DateTime |
getViewedOn() |
void |
setArchivedOn(org.joda.time.DateTime archivedOn) |
void |
setBillingAddress(Address billingAddress) |
void |
setCancelledOn(org.joda.time.DateTime cancelledOn) |
void |
setClosedOn(org.joda.time.DateTime closedOn) |
void |
setComment(java.lang.String comment) |
void |
setCreationDate(org.joda.time.DateTime creationOn) |
void |
setCurrencyId(java.lang.String currencyId) |
void |
setCustomerId(GUID customerId) |
void |
setDispatchedOn(org.joda.time.DateTime dispatchedOn) |
void |
setGrandTotal(java.lang.String grandTotal) |
void |
setInvoicedOn(org.joda.time.DateTime invoicedOn) |
void |
setLineItemContainer(LineItemContainer lineItemContainer) |
void |
setLocale(java.util.Locale locale) |
void |
setOrderId(GUID orderId) |
void |
setOrderNumber(java.lang.String orderNumber) |
void |
setPaidOn(org.joda.time.DateTime paidOn) |
void |
setPendingOn(org.joda.time.DateTime pendingOn) |
void |
setReturnedOn(org.joda.time.DateTime returnedOn) |
void |
setShippedOn(org.joda.time.DateTime shippedOn) |
void |
setShippingAddress(Address shippingAddress) |
void |
setTaxModel(java.lang.String taxModel) |
void |
setTotalBeforeTax(java.lang.String totalBeforeTax) |
void |
setTotalTax(java.lang.String totalTax) |
void |
setViewedOn(org.joda.time.DateTime viewedOn) |
private GUID orderId
private java.lang.String orderNumber
private GUID customerId
private java.util.Locale locale
private java.lang.String currencyId
private java.lang.String taxModel
private java.lang.String grandTotal
private java.lang.String totalBeforeTax
private java.lang.String totalTax
private java.lang.String comment
private org.joda.time.DateTime creationDate
private org.joda.time.DateTime dispatchedOn
private org.joda.time.DateTime archivedOn
private org.joda.time.DateTime invoicedOn
private org.joda.time.DateTime cancelledOn
private org.joda.time.DateTime closedOn
private org.joda.time.DateTime paidOn
private org.joda.time.DateTime returnedOn
private org.joda.time.DateTime viewedOn
private org.joda.time.DateTime pendingOn
private org.joda.time.DateTime shippedOn
private Address billingAddress
private Address shippingAddress
private LineItemContainer lineItemContainer
public GUID getOrderId()
public void setOrderId(GUID orderId)
public java.lang.String getOrderNumber()
public void setOrderNumber(java.lang.String orderNumber)
public java.lang.String getComment()
public void setComment(java.lang.String comment)
public GUID getCustomerId()
public void setCustomerId(GUID customerId)
public java.util.Locale getLocale()
public void setLocale(java.util.Locale locale)
public java.lang.String getCurrencyId()
public void setCurrencyId(java.lang.String currencyId)
public java.lang.String getTaxModel()
public void setTaxModel(java.lang.String taxModel)
public java.lang.String getGrandTotal()
public void setGrandTotal(java.lang.String grandTotal)
public java.lang.String getTotalBeforeTax()
public void setTotalBeforeTax(java.lang.String totalBeforeTax)
public java.lang.String getTotalTax()
public void setTotalTax(java.lang.String totalTax)
public org.joda.time.DateTime getCreationDate()
public void setCreationDate(org.joda.time.DateTime creationOn)
public Address getBillingAddress()
public void setBillingAddress(Address billingAddress)
public Address getShippingAddress()
public void setShippingAddress(Address shippingAddress)
public org.joda.time.DateTime getDispatchedOn()
public void setDispatchedOn(org.joda.time.DateTime dispatchedOn)
public org.joda.time.DateTime getArchivedOn()
public void setArchivedOn(org.joda.time.DateTime archivedOn)
public org.joda.time.DateTime getInvoicedOn()
public void setInvoicedOn(org.joda.time.DateTime invoicedOn)
public org.joda.time.DateTime getCancelledOn()
public void setCancelledOn(org.joda.time.DateTime cancelledOn)
public org.joda.time.DateTime getClosedOn()
public void setClosedOn(org.joda.time.DateTime closedOn)
public org.joda.time.DateTime getPaidOn()
public void setPaidOn(org.joda.time.DateTime paidOn)
public org.joda.time.DateTime getReturnedOn()
public void setReturnedOn(org.joda.time.DateTime returnedOn)
public org.joda.time.DateTime getViewedOn()
public void setViewedOn(org.joda.time.DateTime viewedOn)
public org.joda.time.DateTime getPendingOn()
public void setPendingOn(org.joda.time.DateTime pendingOn)
public org.joda.time.DateTime getShippedOn()
public void setShippedOn(org.joda.time.DateTime shippedOn)
public LineItemContainer getLineItemContainer()
public void setLineItemContainer(LineItemContainer lineItemContainer)