Interface StoreAddSupplyChannelAction

All Superinterfaces:
ResourceUpdateAction<StoreUpdateAction>, StoreUpdateAction

public interface StoreAddSupplyChannelAction extends StoreUpdateAction

This action has no effect if a given supply channel is already present in a Store.

Adding a supply channel produces the StoreSupplyChannelsChanged Message.

Adding a Channel without the InventorySupply ChannelRoleEnum returns a MissingRoleOnChannel error.


Example to create an instance using the builder pattern

     StoreAddSupplyChannelAction storeAddSupplyChannelAction = StoreAddSupplyChannelAction.builder()
             .supplyChannel(supplyChannelBuilder -> supplyChannelBuilder)
             .build()