Interface ProductSelectionAddProductAction

All Superinterfaces:
ProductSelectionUpdateAction, ResourceUpdateAction<ProductSelectionUpdateAction>
All Known Implementing Classes:
ProductSelectionAddProductActionImpl

Adds a Product to the Product Selection.

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


Example to create an instance using the builder pattern

     ProductSelectionAddProductAction productSelectionAddProductAction = ProductSelectionAddProductAction.builder()
             .product(productBuilder -> productBuilder)
             .build()