public class Bill extends Object implements org.ctoolkit.gwt.client.facade.RelevantNullChecker
| Modifier and Type | Class and Description |
|---|---|
static class |
Bill.TypeEnum
Type of the bill document.
|
| Constructor and Description |
|---|
Bill() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allNull() |
String |
getBillNumber()
Bill (receipt) number, or in case of incoming invoice an invoice number
|
Date |
getCreatedDate()
A date when bill record has been created.
|
String |
getCurrency()
The currency alphabetic code based on the ISO 4217.
|
Date |
getDateOfIssue()
The date when the cash register document has been issued.
|
String |
getDescription()
Bill name
|
Long |
getId()
The unique bill identification.
|
List<Item> |
getItems()
Get items
|
Date |
getModificationDate()
The date of the last modification of the bill resource values.
|
List<Scan> |
getScans()
The list of scans associated with this bill.
|
Supplier |
getSupplier()
Get supplier
|
Double |
getTotalPrice()
The total price as stated at bill.
|
Double |
getTotalVat()
The total VAT as stated at bill (in case the supplier is a VAT payer).
|
Double |
getTotalVatBase()
The total VAT base as stated at bill (in case the supplier is a VAT payer).
|
Long |
getTransactionId()
The identification of the transaction within Product Billing service associated with this bill if it has been already matched.
|
Bill.TypeEnum |
getType()
Type of the bill document.
|
List<VatRateRow> |
getVatRows()
Summary per VAT rate.
|
Boolean |
isApproved()
The indication whether the bill has been approved to be sent to accountant or not.
|
void |
setApproved(Boolean approved) |
void |
setBillNumber(String billNumber) |
void |
setCreatedDate(Date createdDate) |
void |
setCurrency(String currency) |
void |
setDateOfIssue(Date dateOfIssue) |
void |
setDescription(String description) |
void |
setId(Long id) |
void |
setItems(List<Item> items) |
void |
setModificationDate(Date modificationDate) |
void |
setScans(List<Scan> scans) |
void |
setSupplier(Supplier supplier) |
boolean |
setSupplierIf(Supplier supplier) |
void |
setTotalPrice(Double totalPrice) |
void |
setTotalVat(Double totalVat) |
void |
setTotalVatBase(Double totalVatBase) |
void |
setTransactionId(Long transactionId) |
void |
setType(Bill.TypeEnum type) |
void |
setVatRows(List<VatRateRow> vatRows) |
String |
toString() |
public Boolean isApproved()
public void setApproved(Boolean approved)
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 getDescription()
public void setDescription(String description)
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 Double getTotalVat()
public void setTotalVat(Double totalVat)
public Double getTotalVatBase()
public void setTotalVatBase(Double totalVatBase)
public Long getTransactionId()
public void setTransactionId(Long transactionId)
public Bill.TypeEnum getType()
public void setType(Bill.TypeEnum type)
public String getCurrency()
public void setCurrency(String currency)
public List<VatRateRow> getVatRows()
public void setVatRows(List<VatRateRow> vatRows)
public boolean setSupplierIf(Supplier supplier)
public boolean allNull()
allNull in interface org.ctoolkit.gwt.client.facade.RelevantNullCheckerCopyright © 2023. All rights reserved.