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 a 1000000 (one million, NOT inclusive) For currencies with 0 digits after digital separator (like VND, IDR and others) - limit is 200000000 (200 million, NOT inclusive)Copyright © 2023. All rights reserved.