public class Item extends Object
| Constructor and Description |
|---|
Item() |
| Modifier and Type | Method and Description |
|---|---|
Item |
finalPrice(Double finalPrice) |
Item |
finalVatAmount(Double finalVatAmount) |
Double |
getFinalPrice()
The final price including VAT.
|
Double |
getFinalVatAmount()
The final amount of VAT.
|
Long |
getId()
The bill item identification.
|
String |
getItemName()
Single item name
|
String |
getParentKey()
The unique identification incl.
|
Double |
getPriceExclVat()
The price excluding VAT in case company is VAT payer, otherwise price is final.
|
String |
getVat()
The VAT code taken from the VAT rate code book.
|
Item |
id(Long id) |
Item |
itemName(String itemName) |
Item |
parentKey(String parentKey) |
Item |
priceExclVat(Double priceExclVat) |
void |
setFinalPrice(Double finalPrice) |
void |
setFinalVatAmount(Double finalVatAmount) |
void |
setId(Long id) |
void |
setItemName(String itemName) |
void |
setParentKey(String parentKey) |
void |
setPriceExclVat(Double priceExclVat) |
void |
setVat(String vat) |
String |
toString() |
Item |
vat(String vat) |
public Double getFinalPrice()
public void setFinalPrice(Double finalPrice)
public Double getFinalVatAmount()
public void setFinalVatAmount(Double finalVatAmount)
public Long getId()
public void setId(Long id)
public String getItemName()
public void setItemName(String itemName)
public String getParentKey()
public void setParentKey(String parentKey)
public Double getPriceExclVat()
public void setPriceExclVat(Double priceExclVat)
public String getVat()
public void setVat(String vat)
Copyright © 2023. All rights reserved.