public class Bill extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Bill.TypeEnum
Type of document
|
| Constructor and Description |
|---|
Bill() |
| Modifier and Type | Method and Description |
|---|---|
Bill |
addItemsItem(BillItem itemsItem) |
Bill |
billNumber(String billNumber) |
Bill |
createdDate(Date createdDate) |
Bill |
dateOfIssue(Date dateOfIssue) |
String |
getBillNumber()
Bill order number, or in case of incoming invoice an invoice number
|
Date |
getCreatedDate()
A date when bill record has been created.
|
String |
getCurrency()
The bill currency
|
Date |
getDateOfIssue()
The date when the cash register document has been issued.
|
Long |
getId()
The unique bill identification.
|
String |
getItemName()
Bill name
|
List<BillItem> |
getItems()
Get items
|
Date |
getModificationDate()
The date of the last modification of the bill resource values.
|
String |
getServingUrl()
Serving url of bill scan
|
String |
getStorageName()
Storage name of bill scan
|
Supplier |
getSupplier()
Get supplier
|
Double |
getTotalPrice()
The order total price as a sum of all checked in order items and its amount including target rounding mode.
|
Bill.TypeEnum |
getType()
Type of document
|
Bill |
id(Long id) |
Bill |
itemName(String itemName) |
Bill |
items(List<BillItem> items) |
Bill |
modificationDate(Date modificationDate) |
void |
setBillNumber(String billNumber) |
void |
setCreatedDate(Date createdDate) |
void |
setCurrency(String currency) |
void |
setDateOfIssue(Date dateOfIssue) |
void |
setId(Long id) |
void |
setItemName(String itemName) |
void |
setItems(List<BillItem> items) |
void |
setModificationDate(Date modificationDate) |
void |
setServingUrl(String servingUrl) |
void |
setStorageName(String storageName) |
void |
setSupplier(Supplier supplier) |
void |
setTotalPrice(Double totalPrice) |
void |
setType(Bill.TypeEnum type) |
Bill |
supplier(Supplier supplier) |
String |
toString() |
Bill |
totalPrice(Double totalPrice) |
Bill |
type(Bill.TypeEnum type) |
public String getBillNumber()
public void setBillNumber(String billNumber)
public Date getCreatedDate()
public void setCreatedDate(Date createdDate)
public Date getDateOfIssue()
public void setDateOfIssue(Date dateOfIssue)
public Long getId()
public void setId(Long id)
public String getItemName()
public void setItemName(String itemName)
public Date getModificationDate()
public void setModificationDate(Date modificationDate)
public Supplier getSupplier()
public void setSupplier(Supplier supplier)
public Double getTotalPrice()
public void setTotalPrice(Double totalPrice)
public String getCurrency()
public void setCurrency(String currency)
public Bill type(Bill.TypeEnum type)
public Bill.TypeEnum getType()
public void setType(Bill.TypeEnum type)
public String getServingUrl()
public void setServingUrl(String servingUrl)
public String getStorageName()
public void setStorageName(String storageName)
Copyright © 2020. All rights reserved.