| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
Product |
build() |
Product.Builder |
category(ProductCategory category)
Product category base or option.
|
Product.Builder |
copy(Product model) |
Product.Builder |
count(Double count)
Units required for the missing product.
|
Product.Builder |
name(String name)
Name of the product.
|
public Product.Builder name(String name)
Name of the product.
name - the value to setpublic Product.Builder count(Double count)
Units required for the missing product.
count - the value to setpublic Product.Builder category(ProductCategory category)
Product category base or option.
category - the value to setpublic Product build()
public Product.Builder copy(Product model)
Copyright © 2016–2024. All rights reserved.