Class BusinessUnitStoreModeChangedMessagePayloadBuilder
- All Implemented Interfaces:
Builder<BusinessUnitStoreModeChangedMessagePayload>
Example to create an instance using the builder pattern
BusinessUnitStoreModeChangedMessagePayload businessUnitStoreModeChangedMessagePayload = BusinessUnitStoreModeChangedMessagePayload.builder()
.plusStores(storesBuilder -> storesBuilder)
.storeMode(BusinessUnitStoreMode.EXPLICIT)
.plusOldStores(oldStoresBuilder -> oldStoresBuilder)
.oldStoreMode(BusinessUnitStoreMode.EXPLICIT)
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionStores of the Business Unit before the Set Store Mode update action.Stores of the Business Unit after the Set Store Mode update action.build()
builds BusinessUnitStoreModeChangedMessagePayload with checking for non-null required valuesbuilds BusinessUnitStoreModeChangedMessagePayload without checking for non-null required valuesBusinessUnitStoreMode of the Business Unit before the Set Store Mode update action.Stores of the Business Unit before the Set Store Mode update action.BusinessUnitStoreMode of the Business Unit after the Set Store Mode update action.Stores of the Business Unit after the Set Store Mode update action.of()
factory method for an instance of BusinessUnitStoreModeChangedMessagePayloadBuilderof
(BusinessUnitStoreModeChangedMessagePayload template) create builder for BusinessUnitStoreModeChangedMessagePayload instanceoldStoreMode
(BusinessUnitStoreMode oldStoreMode) BusinessUnitStoreMode of the Business Unit before the Set Store Mode update action.oldStores
(StoreKeyReference... oldStores) Stores of the Business Unit before the Set Store Mode update action.oldStores
(List<StoreKeyReference> oldStores) Stores of the Business Unit before the Set Store Mode update action.plusOldStores
(StoreKeyReference... oldStores) Stores of the Business Unit before the Set Store Mode update action.Stores of the Business Unit before the Set Store Mode update action.plusStores
(StoreKeyReference... stores) Stores of the Business Unit after the Set Store Mode update action.Stores of the Business Unit after the Set Store Mode update action.Stores of the Business Unit before the Set Store Mode update action.Stores of the Business Unit after the Set Store Mode update action.storeMode
(BusinessUnitStoreMode storeMode) BusinessUnitStoreMode of the Business Unit after the Set Store Mode update action.stores
(StoreKeyReference... stores) Stores of the Business Unit after the Set Store Mode update action.stores
(List<StoreKeyReference> stores) Stores of the Business Unit after the Set Store Mode update action.Stores of the Business Unit before the Set Store Mode update action.Stores of the Business Unit after the Set Store Mode update action.
-
Constructor Details
-
BusinessUnitStoreModeChangedMessagePayloadBuilder
public BusinessUnitStoreModeChangedMessagePayloadBuilder()
-
-
Method Details
-
stores
Stores of the Business Unit after the Set Store Mode update action.
- Parameters:
stores
- value to be set- Returns:
- Builder
-
stores
Stores of the Business Unit after the Set Store Mode update action.
- Parameters:
stores
- value to be set- Returns:
- Builder
-
plusStores
Stores of the Business Unit after the Set Store Mode update action.
- Parameters:
stores
- value to be set- Returns:
- Builder
-
plusStores
public BusinessUnitStoreModeChangedMessagePayloadBuilder plusStores(Function<StoreKeyReferenceBuilder, StoreKeyReferenceBuilder> builder) Stores of the Business Unit after the Set Store Mode update action.
- Parameters:
builder
- function to build the stores value- Returns:
- Builder
-
withStores
public BusinessUnitStoreModeChangedMessagePayloadBuilder withStores(Function<StoreKeyReferenceBuilder, StoreKeyReferenceBuilder> builder) Stores of the Business Unit after the Set Store Mode update action.
- Parameters:
builder
- function to build the stores value- Returns:
- Builder
-
addStores
public BusinessUnitStoreModeChangedMessagePayloadBuilder addStores(Function<StoreKeyReferenceBuilder, StoreKeyReference> builder) Stores of the Business Unit after the Set Store Mode update action.
- Parameters:
builder
- function to build the stores value- Returns:
- Builder
-
setStores
public BusinessUnitStoreModeChangedMessagePayloadBuilder setStores(Function<StoreKeyReferenceBuilder, StoreKeyReference> builder) Stores of the Business Unit after the Set Store Mode update action.
- Parameters:
builder
- function to build the stores value- Returns:
- Builder
-
storeMode
BusinessUnitStoreMode of the Business Unit after the Set Store Mode update action.
- Parameters:
storeMode
- value to be set- Returns:
- Builder
-
oldStores
Stores of the Business Unit before the Set Store Mode update action.
- Parameters:
oldStores
- value to be set- Returns:
- Builder
-
oldStores
public BusinessUnitStoreModeChangedMessagePayloadBuilder oldStores(List<StoreKeyReference> oldStores) Stores of the Business Unit before the Set Store Mode update action.
- Parameters:
oldStores
- value to be set- Returns:
- Builder
-
plusOldStores
public BusinessUnitStoreModeChangedMessagePayloadBuilder plusOldStores(StoreKeyReference... oldStores) Stores of the Business Unit before the Set Store Mode update action.
- Parameters:
oldStores
- value to be set- Returns:
- Builder
-
plusOldStores
public BusinessUnitStoreModeChangedMessagePayloadBuilder plusOldStores(Function<StoreKeyReferenceBuilder, StoreKeyReferenceBuilder> builder) Stores of the Business Unit before the Set Store Mode update action.
- Parameters:
builder
- function to build the oldStores value- Returns:
- Builder
-
withOldStores
public BusinessUnitStoreModeChangedMessagePayloadBuilder withOldStores(Function<StoreKeyReferenceBuilder, StoreKeyReferenceBuilder> builder) Stores of the Business Unit before the Set Store Mode update action.
- Parameters:
builder
- function to build the oldStores value- Returns:
- Builder
-
addOldStores
public BusinessUnitStoreModeChangedMessagePayloadBuilder addOldStores(Function<StoreKeyReferenceBuilder, StoreKeyReference> builder) Stores of the Business Unit before the Set Store Mode update action.
- Parameters:
builder
- function to build the oldStores value- Returns:
- Builder
-
setOldStores
public BusinessUnitStoreModeChangedMessagePayloadBuilder setOldStores(Function<StoreKeyReferenceBuilder, StoreKeyReference> builder) Stores of the Business Unit before the Set Store Mode update action.
- Parameters:
builder
- function to build the oldStores value- Returns:
- Builder
-
oldStoreMode
public BusinessUnitStoreModeChangedMessagePayloadBuilder oldStoreMode(BusinessUnitStoreMode oldStoreMode) BusinessUnitStoreMode of the Business Unit before the Set Store Mode update action.
- Parameters:
oldStoreMode
- value to be set- Returns:
- Builder
-
getStores
Stores of the Business Unit after the Set Store Mode update action.
- Returns:
- stores
-
getStoreMode
BusinessUnitStoreMode of the Business Unit after the Set Store Mode update action.
- Returns:
- storeMode
-
getOldStores
Stores of the Business Unit before the Set Store Mode update action.
- Returns:
- oldStores
-
getOldStoreMode
BusinessUnitStoreMode of the Business Unit before the Set Store Mode update action.
- Returns:
- oldStoreMode
-
build
builds BusinessUnitStoreModeChangedMessagePayload with checking for non-null required values- Specified by:
build
in interfaceBuilder<BusinessUnitStoreModeChangedMessagePayload>
- Returns:
- BusinessUnitStoreModeChangedMessagePayload
-
buildUnchecked
builds BusinessUnitStoreModeChangedMessagePayload without checking for non-null required values- Returns:
- BusinessUnitStoreModeChangedMessagePayload
-
of
factory method for an instance of BusinessUnitStoreModeChangedMessagePayloadBuilder- Returns:
- builder
-
of
public static BusinessUnitStoreModeChangedMessagePayloadBuilder of(BusinessUnitStoreModeChangedMessagePayload template) create builder for BusinessUnitStoreModeChangedMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-