Class StoreSupplyChannelsChangedMessagePayloadBuilder
- All Implemented Interfaces:
Builder<StoreSupplyChannelsChangedMessagePayload>
Example to create an instance using the builder pattern
StoreSupplyChannelsChangedMessagePayload storeSupplyChannelsChangedMessagePayload = StoreSupplyChannelsChangedMessagePayload.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionInventory supply Channels that have been added to the Store.addedSupplyChannels
(ChannelReference... addedSupplyChannels) Inventory supply Channels that have been added to the Store.addedSupplyChannels
(List<ChannelReference> addedSupplyChannels) Inventory supply Channels that have been added to the Store.Inventory supply Channels that have been removed from the Store.build()
builds StoreSupplyChannelsChangedMessagePayload with checking for non-null required valuesbuilds StoreSupplyChannelsChangedMessagePayload without checking for non-null required valuesInventory supply Channels that have been added to the Store.Inventory supply Channels that have been removed from the Store.of()
factory method for an instance of StoreSupplyChannelsChangedMessagePayloadBuilderof
(StoreSupplyChannelsChangedMessagePayload template) create builder for StoreSupplyChannelsChangedMessagePayload instanceplusAddedSupplyChannels
(ChannelReference... addedSupplyChannels) Inventory supply Channels that have been added to the Store.Inventory supply Channels that have been added to the Store.plusRemovedSupplyChannels
(ChannelReference... removedSupplyChannels) Inventory supply Channels that have been removed from the Store.Inventory supply Channels that have been removed from the Store.removedSupplyChannels
(ChannelReference... removedSupplyChannels) Inventory supply Channels that have been removed from the Store.removedSupplyChannels
(List<ChannelReference> removedSupplyChannels) Inventory supply Channels that have been removed from the Store.Inventory supply Channels that have been added to the Store.Inventory supply Channels that have been removed from the Store.Inventory supply Channels that have been added to the Store.Inventory supply Channels that have been removed from the Store.
-
Constructor Details
-
StoreSupplyChannelsChangedMessagePayloadBuilder
public StoreSupplyChannelsChangedMessagePayloadBuilder()
-
-
Method Details
-
addedSupplyChannels
public StoreSupplyChannelsChangedMessagePayloadBuilder addedSupplyChannels(@Nullable ChannelReference... addedSupplyChannels) Inventory supply Channels that have been added to the Store.
- Parameters:
addedSupplyChannels
- value to be set- Returns:
- Builder
-
addedSupplyChannels
public StoreSupplyChannelsChangedMessagePayloadBuilder addedSupplyChannels(@Nullable List<ChannelReference> addedSupplyChannels) Inventory supply Channels that have been added to the Store.
- Parameters:
addedSupplyChannels
- value to be set- Returns:
- Builder
-
plusAddedSupplyChannels
public StoreSupplyChannelsChangedMessagePayloadBuilder plusAddedSupplyChannels(@Nullable ChannelReference... addedSupplyChannels) Inventory supply Channels that have been added to the Store.
- Parameters:
addedSupplyChannels
- value to be set- Returns:
- Builder
-
plusAddedSupplyChannels
public StoreSupplyChannelsChangedMessagePayloadBuilder plusAddedSupplyChannels(Function<ChannelReferenceBuilder, ChannelReferenceBuilder> builder) Inventory supply Channels that have been added to the Store.
- Parameters:
builder
- function to build the addedSupplyChannels value- Returns:
- Builder
-
withAddedSupplyChannels
public StoreSupplyChannelsChangedMessagePayloadBuilder withAddedSupplyChannels(Function<ChannelReferenceBuilder, ChannelReferenceBuilder> builder) Inventory supply Channels that have been added to the Store.
- Parameters:
builder
- function to build the addedSupplyChannels value- Returns:
- Builder
-
addAddedSupplyChannels
public StoreSupplyChannelsChangedMessagePayloadBuilder addAddedSupplyChannels(Function<ChannelReferenceBuilder, ChannelReference> builder) Inventory supply Channels that have been added to the Store.
- Parameters:
builder
- function to build the addedSupplyChannels value- Returns:
- Builder
-
setAddedSupplyChannels
public StoreSupplyChannelsChangedMessagePayloadBuilder setAddedSupplyChannels(Function<ChannelReferenceBuilder, ChannelReference> builder) Inventory supply Channels that have been added to the Store.
- Parameters:
builder
- function to build the addedSupplyChannels value- Returns:
- Builder
-
removedSupplyChannels
public StoreSupplyChannelsChangedMessagePayloadBuilder removedSupplyChannels(@Nullable ChannelReference... removedSupplyChannels) Inventory supply Channels that have been removed from the Store.
- Parameters:
removedSupplyChannels
- value to be set- Returns:
- Builder
-
removedSupplyChannels
public StoreSupplyChannelsChangedMessagePayloadBuilder removedSupplyChannels(@Nullable List<ChannelReference> removedSupplyChannels) Inventory supply Channels that have been removed from the Store.
- Parameters:
removedSupplyChannels
- value to be set- Returns:
- Builder
-
plusRemovedSupplyChannels
public StoreSupplyChannelsChangedMessagePayloadBuilder plusRemovedSupplyChannels(@Nullable ChannelReference... removedSupplyChannels) Inventory supply Channels that have been removed from the Store.
- Parameters:
removedSupplyChannels
- value to be set- Returns:
- Builder
-
plusRemovedSupplyChannels
public StoreSupplyChannelsChangedMessagePayloadBuilder plusRemovedSupplyChannels(Function<ChannelReferenceBuilder, ChannelReferenceBuilder> builder) Inventory supply Channels that have been removed from the Store.
- Parameters:
builder
- function to build the removedSupplyChannels value- Returns:
- Builder
-
withRemovedSupplyChannels
public StoreSupplyChannelsChangedMessagePayloadBuilder withRemovedSupplyChannels(Function<ChannelReferenceBuilder, ChannelReferenceBuilder> builder) Inventory supply Channels that have been removed from the Store.
- Parameters:
builder
- function to build the removedSupplyChannels value- Returns:
- Builder
-
addRemovedSupplyChannels
public StoreSupplyChannelsChangedMessagePayloadBuilder addRemovedSupplyChannels(Function<ChannelReferenceBuilder, ChannelReference> builder) Inventory supply Channels that have been removed from the Store.
- Parameters:
builder
- function to build the removedSupplyChannels value- Returns:
- Builder
-
setRemovedSupplyChannels
public StoreSupplyChannelsChangedMessagePayloadBuilder setRemovedSupplyChannels(Function<ChannelReferenceBuilder, ChannelReference> builder) Inventory supply Channels that have been removed from the Store.
- Parameters:
builder
- function to build the removedSupplyChannels value- Returns:
- Builder
-
getAddedSupplyChannels
Inventory supply Channels that have been added to the Store.
- Returns:
- addedSupplyChannels
-
getRemovedSupplyChannels
Inventory supply Channels that have been removed from the Store.
- Returns:
- removedSupplyChannels
-
build
builds StoreSupplyChannelsChangedMessagePayload with checking for non-null required values- Specified by:
build
in interfaceBuilder<StoreSupplyChannelsChangedMessagePayload>
- Returns:
- StoreSupplyChannelsChangedMessagePayload
-
buildUnchecked
builds StoreSupplyChannelsChangedMessagePayload without checking for non-null required values- Returns:
- StoreSupplyChannelsChangedMessagePayload
-
of
factory method for an instance of StoreSupplyChannelsChangedMessagePayloadBuilder- Returns:
- builder
-
of
public static StoreSupplyChannelsChangedMessagePayloadBuilder of(StoreSupplyChannelsChangedMessagePayload template) create builder for StoreSupplyChannelsChangedMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-