Interface ProductSelectionSetting
public interface ProductSelectionSetting
ProductSelectionSetting
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ProductSelectionSetting productSelectionSetting = ProductSelectionSetting.builder()
.productSelection(productSelectionBuilder -> productSelectionBuilder)
.active(true)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ProductSelectionSettingbuilder
(ProductSelectionSetting template) create builder for ProductSelectionSetting instancestatic ProductSelectionSetting
deepCopy
(ProductSelectionSetting template) factory method to create a deep copy of ProductSelectionSetting@NotNull Boolean
Iftrue
, all Products assigned to this Product Selection are part of the Store's assortment.@NotNull @Valid ProductSelectionReference
Reference to a ProductSelection.static ProductSelectionSetting
of()
factory methodstatic ProductSelectionSetting
of
(ProductSelectionSetting template) factory method to create a shallow copy ProductSelectionSettingvoid
Iftrue
, all Products assigned to this Product Selection are part of the Store's assortment.void
setProductSelection
(ProductSelectionReference productSelection) Reference to a ProductSelection.static com.fasterxml.jackson.core.type.TypeReference<ProductSelectionSetting>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map function
-
Method Details
-
getProductSelection
Reference to a ProductSelection.
- Returns:
- productSelection
-
getActive
If
true
, all Products assigned to this Product Selection are part of the Store's assortment.- Returns:
- active
-
setProductSelection
Reference to a ProductSelection.
- Parameters:
productSelection
- value to be set
-
setActive
If
true
, all Products assigned to this Product Selection are part of the Store's assortment.- Parameters:
active
- value to be set
-
of
factory method- Returns:
- instance of ProductSelectionSetting
-
of
factory method to create a shallow copy ProductSelectionSetting- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of ProductSelectionSetting- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ProductSelectionSetting- Returns:
- builder
-
builder
create builder for ProductSelectionSetting instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withProductSelectionSetting
accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-