Interface ProductSelectionSetVariantSelectionAction

All Superinterfaces:
ProductSelectionUpdateAction, ResourceUpdateAction<ProductSelectionUpdateAction>

public interface ProductSelectionSetVariantSelectionAction extends ProductSelectionUpdateAction

Updates the Product Variant Selection of an existing Product Selection Assignment. A ProductVariantSelection can only be set if the Product has already been included in the Product Selection with Individual 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

     ProductSelectionSetVariantSelectionAction productSelectionSetVariantSelectionAction = ProductSelectionSetVariantSelectionAction.builder()
             .product(productBuilder -> productBuilder)
             .build()