Interface ProductItem.Builder
- Enclosing interface:
ProductItem
public static interface ProductItem.Builder
Dedicated Builder
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Create instancesetCurrency
(String currency) see gettersee gettersetItemPrice
(Float itemPrice) see gettersetMarketplace
(String marketplace) see gettersetQuantity
(Integer quantity) see getter
-
Method Details
-
setId
see getter- Parameters:
id
- see getter- Returns:
- Current builder
- See Also:
-
setMarketplace
see getter- Parameters:
marketplace
- see getter- Returns:
- Current builder
- See Also:
-
setQuantity
see getter- Parameters:
quantity
- see getter- Returns:
- Current builder
- See Also:
-
setItemPrice
see getter- Parameters:
itemPrice
- see getter- Returns:
- Current builder
- See Also:
-
setCurrency
see getter- Parameters:
currency
- see getter- Returns:
- Current builder
- See Also:
-
build
ProductItem build()Create instance- Returns:
- The instance build with current builder values
-