Class ProductTypeChangeLocalizedEnumValueLabelActionImpl
java.lang.Object
com.commercetools.api.models.product_type.ProductTypeChangeLocalizedEnumValueLabelActionImpl
- All Implemented Interfaces:
ProductTypeChangeLocalizedEnumValueLabelAction
,ProductTypeUpdateAction
,ResourceUpdateAction<ProductTypeUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class ProductTypeChangeLocalizedEnumValueLabelActionImpl
extends Object
implements ProductTypeChangeLocalizedEnumValueLabelAction, io.vrap.rmf.base.client.ModelBase
Updates the label of a single enum value
in an AttributeLocalizedEnumType AttributeDefinition, or AttributeSetType of AttributeLocalizedEnumType AttributeDefinition.
All Products will be updated to the new label in an eventually consistent way.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Field Summary
Fields inherited from interface com.commercetools.api.models.product_type.ProductTypeChangeLocalizedEnumValueLabelAction
CHANGE_LOCALIZED_ENUM_VALUE_LABEL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Name of the AttributeDefinition to update.New value to set.int
hashCode()
void
setAttributeName
(String attributeName) Name of the AttributeDefinition to update.void
setNewValue
(AttributeLocalizedEnumValue newValue) New value to set.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.product_type.ProductTypeChangeLocalizedEnumValueLabelAction
withProductTypeChangeLocalizedEnumValueLabelAction
Methods inherited from interface com.commercetools.api.models.product_type.ProductTypeUpdateAction
withProductTypeUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Constructor Details
-
ProductTypeChangeLocalizedEnumValueLabelActionImpl
create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceProductTypeUpdateAction
- Specified by:
getAction
in interfaceResourceUpdateAction<ProductTypeUpdateAction>
- Returns:
- action
-
getAttributeName
Name of the AttributeDefinition to update.
- Specified by:
getAttributeName
in interfaceProductTypeChangeLocalizedEnumValueLabelAction
- Returns:
- attributeName
-
getNewValue
New value to set. Must be different from the existing value.
- Specified by:
getNewValue
in interfaceProductTypeChangeLocalizedEnumValueLabelAction
- Returns:
- newValue
-
setAttributeName
Description copied from interface:ProductTypeChangeLocalizedEnumValueLabelAction
Name of the AttributeDefinition to update.
- Specified by:
setAttributeName
in interfaceProductTypeChangeLocalizedEnumValueLabelAction
- Parameters:
attributeName
- value to be set
-
setNewValue
Description copied from interface:ProductTypeChangeLocalizedEnumValueLabelAction
New value to set. Must be different from the existing value.
- Specified by:
setNewValue
in interfaceProductTypeChangeLocalizedEnumValueLabelAction
- Parameters:
newValue
- value to be set
-
equals
-
hashCode
-