Interface ProductTypeRemoveEnumValuesAction

All Superinterfaces:
ProductTypeUpdateAction, ResourceUpdateAction<ProductTypeUpdateAction>
All Known Implementing Classes:
ProductTypeRemoveEnumValuesActionImpl

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.


Example to create an instance using the builder pattern

     ProductTypeRemoveEnumValuesAction productTypeRemoveEnumValuesAction = ProductTypeRemoveEnumValuesAction.builder()
             .attributeName("{attributeName}")
             .plusKeys(keysBuilder -> keysBuilder)
             .build()