public class InvoiceItem extends Object
| Constructor and Description |
|---|
InvoiceItem() |
| Modifier and Type | Method and Description |
|---|---|
InvoiceItem |
count(Integer count)
minimum: 1
|
InvoiceItem |
name(String name) |
InvoiceItem |
price(BigDecimal price) |
void |
setCount(Integer count) |
void |
setName(String name) |
void |
setPrice(BigDecimal price) |
String |
toString() |
public void setCount(Integer count)
public InvoiceItem count(Integer count)
count - The count of product / service, provided to the customer. Any positive numberpublic void setName(String name)
public InvoiceItem name(String name)
name - The name of product / service, provided to the customerpublic void setPrice(BigDecimal price)
public InvoiceItem price(BigDecimal price)
price - Price of product / service with dot as a decimal separator, must be less than 10 billionCopyright © 2024. All rights reserved.