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
@NotNull @Valid Reference
static ProductSelectionSetting
of()
factory methodstatic ProductSelectionSetting
of
(ProductSelectionSetting template) factory method to create a shallow copy ProductSelectionSettingvoid
set activevoid
setProductSelection
(Reference productSelection) set productSelectionstatic com.fasterxml.jackson.core.type.TypeReference<ProductSelectionSetting>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map function
-
Method Details
-
getProductSelection
- Returns:
- productSelection
-
getActive
- Returns:
- active
-
setProductSelection
set productSelection- Parameters:
productSelection
- value to be set
-
setActive
set active- 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
-