Interface ProductSelectionSettingDraft
- All Superinterfaces:
Draft<ProductSelectionSettingDraft>
ProductSelectionSettingDraft
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ProductSelectionSettingDraft productSelectionSettingDraft = ProductSelectionSettingDraft.builder()
.productSelection(productSelectionBuilder -> productSelectionBuilder)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ProductSelectionSettingDraftbuilder
(ProductSelectionSettingDraft template) create builder for ProductSelectionSettingDraft instancestatic ProductSelectionSettingDraft
deepCopy
(ProductSelectionSettingDraft template) factory method to create a deep copy of ProductSelectionSettingDraftSet totrue
if all Products assigned to the Product Selection should become part of the Store's assortment.@NotNull @Valid ProductSelectionResourceIdentifier
Resource Identifier of a ProductSelection.static ProductSelectionSettingDraft
of()
factory methodstatic ProductSelectionSettingDraft
of
(ProductSelectionSettingDraft template) factory method to create a shallow copy ProductSelectionSettingDraftvoid
Set totrue
if all Products assigned to the Product Selection should become part of the Store's assortment.void
setProductSelection
(ProductSelectionResourceIdentifier productSelection) Resource Identifier of a ProductSelection.static com.fasterxml.jackson.core.type.TypeReference<ProductSelectionSettingDraft>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map function
-
Method Details
-
getProductSelection
Resource Identifier of a ProductSelection.
- Returns:
- productSelection
-
getActive
Boolean getActive()Set to
true
if all Products assigned to the Product Selection should become part of the Store's assortment.- Returns:
- active
-
setProductSelection
Resource Identifier of a ProductSelection.
- Parameters:
productSelection
- value to be set
-
setActive
Set to
true
if all Products assigned to the Product Selection should become part of the Store's assortment.- Parameters:
active
- value to be set
-
of
factory method- Returns:
- instance of ProductSelectionSettingDraft
-
of
factory method to create a shallow copy ProductSelectionSettingDraft- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static ProductSelectionSettingDraft deepCopy(@Nullable ProductSelectionSettingDraft template) factory method to create a deep copy of ProductSelectionSettingDraft- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ProductSelectionSettingDraft- Returns:
- builder
-
builder
create builder for ProductSelectionSettingDraft instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withProductSelectionSettingDraft
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
-