Interface ProductSelectionExcludeProductAction

All Superinterfaces:
ProductSelectionUpdateAction, ResourceUpdateAction<ProductSelectionUpdateAction>

public interface ProductSelectionExcludeProductAction extends ProductSelectionUpdateAction

Excludes a Product from a Product Selection with IndividualExclusion ProductSelectionMode.

If the specified Product is already assigned to the Product Selection, but the existing Product Selection has a different Product Variant Exclusion, a ProductPresentWithDifferentVariantSelection error is returned.


Example to create an instance using the builder pattern

     ProductSelectionExcludeProductAction productSelectionExcludeProductAction = ProductSelectionExcludeProductAction.builder()
             .product(productBuilder -> productBuilder)
             .build()