public final class PurchaseOrder extends Object
| Constructor and Description |
|---|
PurchaseOrder() |
| Modifier and Type | Method and Description |
|---|---|
String |
formattedName()
Returns the formatted name of the purchase order, a message for end user.
|
Date |
getBeginOn()
The date of first invoice issue.
|
Date |
getCreatedDate()
A date when purchase order has been created.
|
Creditor |
getCreditor()
The account that represents a business at TurnOnline.biz Ecosystem to whom money will be credited.
|
String |
getCurrency()
The currency alphabetic code based on the ISO 4217.
|
Customer |
getCustomer()
Invoiced customer.
|
Long |
getId()
The unique purchase order identification.
|
List<IncomingInvoice> |
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 purchase 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 purchase order.
|
String |
getStatus()
The current status of the purchase order.
|
Double |
getTotalPrice()
The purchase order total price as a sum of all checked in order items and its amount including target rounding mode.
|
Double |
getTotalPriceExclVat()
The purchase order total price as a sum of all checked in order items and its amount including target rounding mode.
|
Double |
getTotalVatAmount()
The purchase order total amount of VAT as a sum of all checked in order items including target rounding mode.
|
Double |
getTotalVatBase()
The purchase order total VAT base as a sum of all checked in order items and its amount.
|
PurchaseOrder |
setBeginOn(Date beginOn) |
PurchaseOrder |
setCreatedDate(Date createdDate) |
PurchaseOrder |
setCreditor(Creditor creditor) |
PurchaseOrder |
setCurrency(String currency) |
PurchaseOrder |
setCustomer(Customer customer) |
PurchaseOrder |
setId(Long id) |
PurchaseOrder |
setInvoices(List<IncomingInvoice> invoices) |
PurchaseOrder |
setInvoiceType(String invoiceType) |
PurchaseOrder |
setItems(List<PricingItem> items) |
PurchaseOrder |
setLastBillingDate(Date lastBillingDate) |
PurchaseOrder |
setModificationDate(Date modificationDate) |
PurchaseOrder |
setNextBillingDate(Date nextBillingDate) |
PurchaseOrder |
setNumberOfDays(Integer numberOfDays) |
PurchaseOrder |
setPeriodicity(String periodicity) |
PurchaseOrder |
setStatus(String status) |
PurchaseOrder |
setTotalPrice(Double totalPrice) |
PurchaseOrder |
setTotalPriceExclVat(Double totalPriceExclVat) |
PurchaseOrder |
setTotalVatAmount(Double totalVatAmount) |
PurchaseOrder |
setTotalVatBase(Double totalVatBase) |
public Date getBeginOn()
public PurchaseOrder setBeginOn(Date beginOn)
public Date getCreatedDate()
public PurchaseOrder setCreatedDate(Date createdDate)
public Creditor getCreditor()
public PurchaseOrder setCreditor(Creditor creditor)
public String getCurrency()
public PurchaseOrder setCurrency(String currency)
public Customer getCustomer()
public PurchaseOrder setCustomer(Customer customer)
public Long getId()
public PurchaseOrder setId(Long id)
public List<IncomingInvoice> getInvoices()
public PurchaseOrder setInvoices(List<IncomingInvoice> invoices)
public String getInvoiceType()
public PurchaseOrder setInvoiceType(String invoiceType)
public List<PricingItem> getItems()
public PurchaseOrder setItems(List<PricingItem> items)
public Date getLastBillingDate()
public PurchaseOrder setLastBillingDate(Date lastBillingDate)
public Date getModificationDate()
public PurchaseOrder setModificationDate(Date modificationDate)
public Date getNextBillingDate()
public PurchaseOrder setNextBillingDate(Date nextBillingDate)
public Integer getNumberOfDays()
public PurchaseOrder setNumberOfDays(Integer numberOfDays)
public String getPeriodicity()
public PurchaseOrder setPeriodicity(String periodicity)
public String getStatus()
public PurchaseOrder setStatus(String status)
public Double getTotalPrice()
public PurchaseOrder setTotalPrice(Double totalPrice)
public Double getTotalPriceExclVat()
public PurchaseOrder setTotalPriceExclVat(Double totalPriceExclVat)
public Double getTotalVatAmount()
public PurchaseOrder setTotalVatAmount(Double totalVatAmount)
public Double getTotalVatBase()
public PurchaseOrder setTotalVatBase(Double totalVatBase)
public String formattedName()
Copyright © 2023. All rights reserved.