public final class Order extends Object implements org.ctoolkit.gwt.client.facade.RelevantNullChecker
| Modifier and Type | Class and Description |
|---|---|
static class |
Order.Status
Order statuses
|
| Constructor and Description |
|---|
Order() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allNull() |
Date |
getBeginOn()
The date of first invoice issue.
|
Date |
getCreatedDate()
A date when order has been created.
|
String |
getCurrency()
The currency alphabetic code based on the ISO 4217.
|
Customer |
getCustomer()
A customer to be invoiced.
|
Long |
getId()
The unique order identification.
|
List<Invoice> |
getInvoices()
List of already issued invoices based on this Order, where number of records is limited by value from the query parameter.
|
String |
getInvoiceType()
Get invoiceType
|
List<PricingItem> |
getItems()
The list of order items to be placed at invoice.
|
Date |
getLastBillingDate()
The last billing date.
|
Date |
getModificationDate()
The date of the last modification of order values.
|
Date |
getNextBillingDate()
The next (future) billing date.
|
Integer |
getNumberOfDays()
The number of days to calculate due date.
|
String |
getPeriodicity()
The current periodicity of the order.
|
String |
getStatus()
The current status of the order.
|
Double |
getTotalPrice()
The order total price as a sum of all checked in order items and its amount including target rounding mode.
|
Double |
getTotalPriceExclVat()
The order total price as a sum of all checked in order items and its amount including target rounding mode.
|
Double |
getTotalVatAmount()
The order total amount of VAT as a sum of all checked in order items including target rounding mode.
|
Double |
getTotalVatBase()
The order total VAT base as a sum of all checked in order items and its amount.
|
Order |
setBeginOn(Date beginOn) |
Order |
setCreatedDate(Date createdDate) |
Order |
setCurrency(String currency) |
Order |
setCustomer(Customer customer) |
void |
setCustomerIf(Customer customer) |
Order |
setId(Long id) |
Order |
setInvoices(List<Invoice> invoices) |
Order |
setInvoiceType(String invoiceType) |
Order |
setItems(List<PricingItem> items) |
Order |
setLastBillingDate(Date lastBillingDate) |
Order |
setModificationDate(Date modificationDate) |
Order |
setNextBillingDate(Date nextBillingDate) |
Order |
setNumberOfDays(Integer numberOfDays) |
Order |
setPeriodicity(String periodicity) |
Order |
setStatus(String status) |
Order |
setTotalPrice(Double totalPrice) |
Order |
setTotalPriceExclVat(Double totalPriceExclVat) |
Order |
setTotalVatAmount(Double totalVatAmount) |
Order |
setTotalVatBase(Double totalVatBase) |
public Date getBeginOn()
public Date getCreatedDate()
public String getCurrency()
public Customer getCustomer()
public void setCustomerIf(Customer customer)
public Long getId()
public List<Invoice> getInvoices()
public String getInvoiceType()
public List<PricingItem> getItems()
public Order setItems(List<PricingItem> items)
public Date getLastBillingDate()
public Date getModificationDate()
public Date getNextBillingDate()
public Integer getNumberOfDays()
public String getPeriodicity()
public String getStatus()
public Double getTotalPrice()
public Double getTotalPriceExclVat()
public Double getTotalVatAmount()
public Double getTotalVatBase()
public boolean allNull()
allNull in interface org.ctoolkit.gwt.client.facade.RelevantNullCheckerCopyright © 2023. All rights reserved.