Interface ProductSelectionAddProductAction

All Superinterfaces:
ProductSelectionUpdateAction, ResourceUpdateAction<ProductSelectionUpdateAction>

public interface ProductSelectionAddProductAction extends ProductSelectionUpdateAction

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()
 
  • Field Details

    • ADD_PRODUCT

      static final String ADD_PRODUCT
      discriminator value for ProductSelectionAddProductAction
      See Also:
  • Method Details