Class ProductTypeRemoveEnumValuesActionImpl

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

public class ProductTypeRemoveEnumValuesActionImpl extends Object implements ProductTypeRemoveEnumValuesAction, io.vrap.rmf.base.client.ModelBase

Removes enum values from an AttributeDefinition of AttributeEnumType, AttributeLocalizedEnumType, AttributeSetType of AttributeEnumType, or AttributeSetType of AttributeLocalizedEnumType.

If the Attribute is not required, the Attributes of all Products using those enum keys will also be removed in an eventually consistent way. If the Attribute is required, the operation returns an EnumValueIsUsed error.