Interface ProductSelectionSetVariantExclusionAction

All Superinterfaces:
ProductSelectionUpdateAction, ResourceUpdateAction<ProductSelectionUpdateAction>

public interface ProductSelectionSetVariantExclusionAction extends ProductSelectionUpdateAction

Updates the Product Variant Exclusion of an existing Product Selection Assignment. A ProductVariantExclusion can only be set if the Product has already been excluded from the Product Selection with IndividualExclusion ProductSelectionMode.

If the specified Product is not assigned to the Product Selection, a ProductAssignmentMissing error is returned.


Example to create an instance using the builder pattern

     ProductSelectionSetVariantExclusionAction productSelectionSetVariantExclusionAction = ProductSelectionSetVariantExclusionAction.builder()
             .product(productBuilder -> productBuilder)
             .build()