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 org.joda.time.DateTime |
creationDate |
private java.lang.String |
currencyId |
private java.lang.String |
customerComment |
private GUID |
customerId |
private org.joda.time.DateTime |
dispatchedOn |
private java.lang.String |
grandTotal |
private java.lang.String |
internalNote |
private org.joda.time.DateTime |
invoicedOn |
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 PaymentData |
paymentData |
private org.joda.time.DateTime |
pendingOn |
private org.joda.time.DateTime |
returnedOn |
private org.joda.time.DateTime |
shippedOn |
private Address |
shippingAddress |
private ShippingData |
shippingData |
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() |
org.joda.time.DateTime |
getCreationDate() |
java.lang.String |
getCurrencyId() |
java.lang.String |
getCustomerComment() |
GUID |
getCustomerId() |
org.joda.time.DateTime |
getDispatchedOn() |
java.lang.String |
getGrandTotal() |
java.lang.String |
getInternalNote() |
org.joda.time.DateTime |
getInvoicedOn() |
java.util.Locale |
getLocale() |
GUID |
getOrderId() |
java.lang.String |
getOrderNumber() |
org.joda.time.DateTime |
getPaidOn() |
PaymentData |
getPaymentData() |
org.joda.time.DateTime |
getPendingOn() |
org.joda.time.DateTime |
getReturnedOn() |
org.joda.time.DateTime |
getShippedOn() |
Address |
getShippingAddress() |
ShippingData |
getShippingData() |
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 |
setCreationDate(org.joda.time.DateTime creationOn) |
void |
setCurrencyId(java.lang.String currencyId) |
void |
setCustomerComment(java.lang.String customerComment) |
void |
setCustomerId(GUID customerId) |
void |
setDispatchedOn(org.joda.time.DateTime dispatchedOn) |
void |
setGrandTotal(java.lang.String grandTotal) |
void |
setInternalNote(java.lang.String internalNote) |
void |
setInvoicedOn(org.joda.time.DateTime invoicedOn) |
void |
setLocale(java.util.Locale locale) |
void |
setOrderId(GUID orderId) |
void |
setOrderNumber(java.lang.String orderNumber) |
void |
setPaidOn(org.joda.time.DateTime paidOn) |
void |
setPaymentData(PaymentData paymentData) |
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 |
setShippingData(ShippingData shippingData) |
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 customerComment
private java.lang.String internalNote
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 ShippingData shippingData
private PaymentData paymentData
public GUID getOrderId()
public void setOrderId(GUID orderId)
public java.lang.String getOrderNumber()
public void setOrderNumber(java.lang.String orderNumber)
public java.lang.String getCustomerComment()
public void setCustomerComment(java.lang.String customerComment)
public java.lang.String getInternalNote()
public void setInternalNote(java.lang.String internalNote)
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 ShippingData getShippingData()
public void setShippingData(ShippingData shippingData)
public PaymentData getPaymentData()
public void setPaymentData(PaymentData paymentData)