public class Item extends Object
| Constructor and Description |
|---|
Item() |
| Modifier and Type | Method and Description |
|---|---|
Item |
count(Integer count)
minimum: 1
|
Item |
description(String description) |
Item |
name(String name) |
Item |
price(BigDecimal price) |
void |
setCount(Integer count) |
void |
setDescription(String description) |
void |
setName(String name) |
void |
setPrice(BigDecimal price) |
String |
toString() |
public void setCount(Integer count)
public Item count(Integer count)
count - The count of product / service, provided to Customer. Any positive numberpublic void setDescription(String description)
public Item description(String description)
description - The description of product / service, provided to Customerpublic void setName(String name)
public Item name(String name)
name - The name of product / service, provided to Customerpublic void setPrice(BigDecimal price)
public Item price(BigDecimal price)
price - Price of product / service with dot as a decimal separator, must be less than 200 millionCopyright © 2022. All rights reserved.