public class BillItem extends Object
| Constructor and Description |
|---|
BillItem() |
| Modifier and Type | Method and Description |
|---|---|
BillItem |
amount(Double amount) |
BillItem |
currency(String currency) |
boolean |
equals(Object o) |
BillItem |
finalPrice(Double finalPrice) |
BillItem |
finalVat(String finalVat) |
Double |
getAmount()
The amount (quantity) of the single item at bill.
|
String |
getCurrency()
The currency alphabetic code based on the ISO 4217.
|
Double |
getFinalPrice()
The final price including VAT as a result of the calculation of the item price excluding VAT (VAT base), selected VAT and amount.
|
String |
getFinalVat()
The context sensitive (customer country etc) VAT code, taken from the VAT rate code book.
|
Long |
getId()
The bill item identification.
|
String |
getItemName()
Billing item name
|
String |
getParentKey()
The unique identification incl.
|
Double |
getPriceExclVat()
The product price for a single unit (meaning amount 1.0 as a quantity).
|
String |
getUnit()
The code from the billing unit codebook - unit of measure at invoice.
|
int |
hashCode() |
BillItem |
id(Long id) |
BillItem |
itemName(String itemName) |
BillItem |
parentKey(String parentKey) |
BillItem |
priceExclVat(Double priceExclVat) |
void |
setAmount(Double amount) |
void |
setCurrency(String currency) |
void |
setFinalPrice(Double finalPrice) |
void |
setFinalVat(String finalVat) |
void |
setId(Long id) |
void |
setItemName(String itemName) |
void |
setParentKey(String parentKey) |
void |
setPriceExclVat(Double priceExclVat) |
void |
setUnit(String unit) |
String |
toString() |
BillItem |
unit(String unit) |
public Double getAmount()
public void setAmount(Double amount)
public String getCurrency()
public void setCurrency(String currency)
public Double getFinalPrice()
public void setFinalPrice(Double finalPrice)
public String getFinalVat()
public void setFinalVat(String finalVat)
public Long getId()
public void setId(Long id)
public String getItemName()
public void setItemName(String itemName)
public Double getPriceExclVat()
public void setPriceExclVat(Double priceExclVat)
public String getParentKey()
public void setParentKey(String parentKey)
public String getUnit()
public void setUnit(String unit)
Copyright © 2020. All rights reserved.