Class ProductSelectionAddProductActionImpl

java.lang.Object
com.commercetools.api.models.product_selection.ProductSelectionAddProductActionImpl
All Implemented Interfaces:
ProductSelectionAddProductAction, ProductSelectionUpdateAction, ResourceUpdateAction<ProductSelectionUpdateAction>, io.vrap.rmf.base.client.ModelBase

public class ProductSelectionAddProductActionImpl extends Object implements ProductSelectionAddProductAction, io.vrap.rmf.base.client.ModelBase

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.