Class ProductTypeRemoveAttributeDefinitionActionImpl

java.lang.Object
com.commercetools.api.models.product_type.ProductTypeRemoveAttributeDefinitionActionImpl
All Implemented Interfaces:
ProductTypeRemoveAttributeDefinitionAction, ProductTypeUpdateAction, ResourceUpdateAction<ProductTypeUpdateAction>, io.vrap.rmf.base.client.ModelBase

public class ProductTypeRemoveAttributeDefinitionActionImpl extends Object implements ProductTypeRemoveAttributeDefinitionAction, io.vrap.rmf.base.client.ModelBase

Removes an AttributeDefinition and also deletes all corresponding Attributes on all Products with this ProductType. The removal of the Attributes is eventually consistent.

The CombinationUnique constraint is not checked when an Attribute is removed, and uniqueness violations may occur when you remove an Attribute with a CombinationUnique constraint.