Interface StoreAddDistributionChannelAction

All Superinterfaces:
ResourceUpdateAction<StoreUpdateAction>, StoreUpdateAction

public interface StoreAddDistributionChannelAction extends StoreUpdateAction

This update action produces the StoreDistributionChannelsChanged Message. It has no effect if a given distribution channel is already present in a Store.

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


Example to create an instance using the builder pattern

     StoreAddDistributionChannelAction storeAddDistributionChannelAction = StoreAddDistributionChannelAction.builder()
             .distributionChannel(distributionChannelBuilder -> distributionChannelBuilder)
             .build()