Class ProductTypeChangeEnumKeyActionImpl

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

public class ProductTypeChangeEnumKeyActionImpl extends Object implements ProductTypeChangeEnumKeyAction, io.vrap.rmf.base.client.ModelBase

Updates the key of a single enum value in an AttributeEnumType AttributeDefinition, AttributeLocalizedEnumType AttributeDefinition, AttributeSetType of AttributeEnumType AttributeDefinition, or AttributeSetType of AttributeLocalizedEnumType AttributeDefinition.

If the AttributeDefinition does not contain an enum with the referenced key, a EnumKeyDoesNotExist error is returned.

All Products will be updated to the new key in an eventually consistent way.