Class StoreProductSelectionsChangedMessagePayloadBuilder
- All Implemented Interfaces:
Builder<StoreProductSelectionsChangedMessagePayload>
Example to create an instance using the builder pattern
StoreProductSelectionsChangedMessagePayload storeProductSelectionsChangedMessagePayload = StoreProductSelectionsChangedMessagePayload.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionProductSelectionSettings that were added to the Store.addedProductSelections
(ProductSelectionSetting... addedProductSelections) ProductSelectionSettings that were added to the Store.addedProductSelections
(List<ProductSelectionSetting> addedProductSelections) ProductSelectionSettings that were added to the Store.addRemovedProductSelections
(Function<ProductSelectionSettingBuilder, ProductSelectionSetting> builder) ProductSelectionSettings that were removed from the Store.addUpdatedProductSelections
(Function<ProductSelectionSettingBuilder, ProductSelectionSetting> builder) ProductSelectionSettings that were updated in the Store.build()
builds StoreProductSelectionsChangedMessagePayload with checking for non-null required valuesbuilds StoreProductSelectionsChangedMessagePayload without checking for non-null required valuesProductSelectionSettings that were added to the Store.ProductSelectionSettings that were removed from the Store.ProductSelectionSettings that were updated in the Store.of()
factory method for an instance of StoreProductSelectionsChangedMessagePayloadBuildercreate builder for StoreProductSelectionsChangedMessagePayload instanceplusAddedProductSelections
(ProductSelectionSetting... addedProductSelections) ProductSelectionSettings that were added to the Store.plusAddedProductSelections
(Function<ProductSelectionSettingBuilder, ProductSelectionSettingBuilder> builder) ProductSelectionSettings that were added to the Store.plusRemovedProductSelections
(ProductSelectionSetting... removedProductSelections) ProductSelectionSettings that were removed from the Store.plusRemovedProductSelections
(Function<ProductSelectionSettingBuilder, ProductSelectionSettingBuilder> builder) ProductSelectionSettings that were removed from the Store.plusUpdatedProductSelections
(ProductSelectionSetting... updatedProductSelections) ProductSelectionSettings that were updated in the Store.plusUpdatedProductSelections
(Function<ProductSelectionSettingBuilder, ProductSelectionSettingBuilder> builder) ProductSelectionSettings that were updated in the Store.removedProductSelections
(ProductSelectionSetting... removedProductSelections) ProductSelectionSettings that were removed from the Store.removedProductSelections
(List<ProductSelectionSetting> removedProductSelections) ProductSelectionSettings that were removed from the Store.ProductSelectionSettings that were added to the Store.setRemovedProductSelections
(Function<ProductSelectionSettingBuilder, ProductSelectionSetting> builder) ProductSelectionSettings that were removed from the Store.setUpdatedProductSelections
(Function<ProductSelectionSettingBuilder, ProductSelectionSetting> builder) ProductSelectionSettings that were updated in the Store.updatedProductSelections
(ProductSelectionSetting... updatedProductSelections) ProductSelectionSettings that were updated in the Store.updatedProductSelections
(List<ProductSelectionSetting> updatedProductSelections) ProductSelectionSettings that were updated in the Store.withAddedProductSelections
(Function<ProductSelectionSettingBuilder, ProductSelectionSettingBuilder> builder) ProductSelectionSettings that were added to the Store.withRemovedProductSelections
(Function<ProductSelectionSettingBuilder, ProductSelectionSettingBuilder> builder) ProductSelectionSettings that were removed from the Store.withUpdatedProductSelections
(Function<ProductSelectionSettingBuilder, ProductSelectionSettingBuilder> builder) ProductSelectionSettings that were updated in the Store.
-
Constructor Details
-
StoreProductSelectionsChangedMessagePayloadBuilder
public StoreProductSelectionsChangedMessagePayloadBuilder()
-
-
Method Details
-
addedProductSelections
public StoreProductSelectionsChangedMessagePayloadBuilder addedProductSelections(@Nullable ProductSelectionSetting... addedProductSelections) ProductSelectionSettings that were added to the Store.
- Parameters:
addedProductSelections
- value to be set- Returns:
- Builder
-
addedProductSelections
public StoreProductSelectionsChangedMessagePayloadBuilder addedProductSelections(@Nullable List<ProductSelectionSetting> addedProductSelections) ProductSelectionSettings that were added to the Store.
- Parameters:
addedProductSelections
- value to be set- Returns:
- Builder
-
plusAddedProductSelections
public StoreProductSelectionsChangedMessagePayloadBuilder plusAddedProductSelections(@Nullable ProductSelectionSetting... addedProductSelections) ProductSelectionSettings that were added to the Store.
- Parameters:
addedProductSelections
- value to be set- Returns:
- Builder
-
plusAddedProductSelections
public StoreProductSelectionsChangedMessagePayloadBuilder plusAddedProductSelections(Function<ProductSelectionSettingBuilder, ProductSelectionSettingBuilder> builder) ProductSelectionSettings that were added to the Store.
- Parameters:
builder
- function to build the addedProductSelections value- Returns:
- Builder
-
withAddedProductSelections
public StoreProductSelectionsChangedMessagePayloadBuilder withAddedProductSelections(Function<ProductSelectionSettingBuilder, ProductSelectionSettingBuilder> builder) ProductSelectionSettings that were added to the Store.
- Parameters:
builder
- function to build the addedProductSelections value- Returns:
- Builder
-
addAddedProductSelections
public StoreProductSelectionsChangedMessagePayloadBuilder addAddedProductSelections(Function<ProductSelectionSettingBuilder, ProductSelectionSetting> builder) ProductSelectionSettings that were added to the Store.
- Parameters:
builder
- function to build the addedProductSelections value- Returns:
- Builder
-
setAddedProductSelections
public StoreProductSelectionsChangedMessagePayloadBuilder setAddedProductSelections(Function<ProductSelectionSettingBuilder, ProductSelectionSetting> builder) ProductSelectionSettings that were added to the Store.
- Parameters:
builder
- function to build the addedProductSelections value- Returns:
- Builder
-
removedProductSelections
public StoreProductSelectionsChangedMessagePayloadBuilder removedProductSelections(@Nullable ProductSelectionSetting... removedProductSelections) ProductSelectionSettings that were removed from the Store.
- Parameters:
removedProductSelections
- value to be set- Returns:
- Builder
-
removedProductSelections
public StoreProductSelectionsChangedMessagePayloadBuilder removedProductSelections(@Nullable List<ProductSelectionSetting> removedProductSelections) ProductSelectionSettings that were removed from the Store.
- Parameters:
removedProductSelections
- value to be set- Returns:
- Builder
-
plusRemovedProductSelections
public StoreProductSelectionsChangedMessagePayloadBuilder plusRemovedProductSelections(@Nullable ProductSelectionSetting... removedProductSelections) ProductSelectionSettings that were removed from the Store.
- Parameters:
removedProductSelections
- value to be set- Returns:
- Builder
-
plusRemovedProductSelections
public StoreProductSelectionsChangedMessagePayloadBuilder plusRemovedProductSelections(Function<ProductSelectionSettingBuilder, ProductSelectionSettingBuilder> builder) ProductSelectionSettings that were removed from the Store.
- Parameters:
builder
- function to build the removedProductSelections value- Returns:
- Builder
-
withRemovedProductSelections
public StoreProductSelectionsChangedMessagePayloadBuilder withRemovedProductSelections(Function<ProductSelectionSettingBuilder, ProductSelectionSettingBuilder> builder) ProductSelectionSettings that were removed from the Store.
- Parameters:
builder
- function to build the removedProductSelections value- Returns:
- Builder
-
addRemovedProductSelections
public StoreProductSelectionsChangedMessagePayloadBuilder addRemovedProductSelections(Function<ProductSelectionSettingBuilder, ProductSelectionSetting> builder) ProductSelectionSettings that were removed from the Store.
- Parameters:
builder
- function to build the removedProductSelections value- Returns:
- Builder
-
setRemovedProductSelections
public StoreProductSelectionsChangedMessagePayloadBuilder setRemovedProductSelections(Function<ProductSelectionSettingBuilder, ProductSelectionSetting> builder) ProductSelectionSettings that were removed from the Store.
- Parameters:
builder
- function to build the removedProductSelections value- Returns:
- Builder
-
updatedProductSelections
public StoreProductSelectionsChangedMessagePayloadBuilder updatedProductSelections(@Nullable ProductSelectionSetting... updatedProductSelections) ProductSelectionSettings that were updated in the Store.
- Parameters:
updatedProductSelections
- value to be set- Returns:
- Builder
-
updatedProductSelections
public StoreProductSelectionsChangedMessagePayloadBuilder updatedProductSelections(@Nullable List<ProductSelectionSetting> updatedProductSelections) ProductSelectionSettings that were updated in the Store.
- Parameters:
updatedProductSelections
- value to be set- Returns:
- Builder
-
plusUpdatedProductSelections
public StoreProductSelectionsChangedMessagePayloadBuilder plusUpdatedProductSelections(@Nullable ProductSelectionSetting... updatedProductSelections) ProductSelectionSettings that were updated in the Store.
- Parameters:
updatedProductSelections
- value to be set- Returns:
- Builder
-
plusUpdatedProductSelections
public StoreProductSelectionsChangedMessagePayloadBuilder plusUpdatedProductSelections(Function<ProductSelectionSettingBuilder, ProductSelectionSettingBuilder> builder) ProductSelectionSettings that were updated in the Store.
- Parameters:
builder
- function to build the updatedProductSelections value- Returns:
- Builder
-
withUpdatedProductSelections
public StoreProductSelectionsChangedMessagePayloadBuilder withUpdatedProductSelections(Function<ProductSelectionSettingBuilder, ProductSelectionSettingBuilder> builder) ProductSelectionSettings that were updated in the Store.
- Parameters:
builder
- function to build the updatedProductSelections value- Returns:
- Builder
-
addUpdatedProductSelections
public StoreProductSelectionsChangedMessagePayloadBuilder addUpdatedProductSelections(Function<ProductSelectionSettingBuilder, ProductSelectionSetting> builder) ProductSelectionSettings that were updated in the Store.
- Parameters:
builder
- function to build the updatedProductSelections value- Returns:
- Builder
-
setUpdatedProductSelections
public StoreProductSelectionsChangedMessagePayloadBuilder setUpdatedProductSelections(Function<ProductSelectionSettingBuilder, ProductSelectionSetting> builder) ProductSelectionSettings that were updated in the Store.
- Parameters:
builder
- function to build the updatedProductSelections value- Returns:
- Builder
-
getAddedProductSelections
ProductSelectionSettings that were added to the Store.
- Returns:
- addedProductSelections
-
getRemovedProductSelections
ProductSelectionSettings that were removed from the Store.
- Returns:
- removedProductSelections
-
getUpdatedProductSelections
ProductSelectionSettings that were updated in the Store.
- Returns:
- updatedProductSelections
-
build
builds StoreProductSelectionsChangedMessagePayload with checking for non-null required values- Specified by:
build
in interfaceBuilder<StoreProductSelectionsChangedMessagePayload>
- Returns:
- StoreProductSelectionsChangedMessagePayload
-
buildUnchecked
builds StoreProductSelectionsChangedMessagePayload without checking for non-null required values- Returns:
- StoreProductSelectionsChangedMessagePayload
-
of
factory method for an instance of StoreProductSelectionsChangedMessagePayloadBuilder- Returns:
- builder
-
of
public static StoreProductSelectionsChangedMessagePayloadBuilder of(StoreProductSelectionsChangedMessagePayload template) create builder for StoreProductSelectionsChangedMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-