Class ProductTypeChangeLabelActionImpl
java.lang.Object
com.commercetools.api.models.product_type.ProductTypeChangeLabelActionImpl
- All Implemented Interfaces:
ProductTypeChangeLabelAction
,ProductTypeUpdateAction
,ResourceUpdateAction<ProductTypeUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class ProductTypeChangeLabelActionImpl
extends Object
implements ProductTypeChangeLabelAction, io.vrap.rmf.base.client.ModelBase
ProductTypeChangeLabelAction
-
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.ProductTypeChangeLabelAction
CHANGE_LABEL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Name of the AttributeDefinition to update.getLabel()
New value to set.int
hashCode()
void
setAttributeName
(String attributeName) Name of the AttributeDefinition to update.void
setLabel
(LocalizedString label) 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.ProductTypeChangeLabelAction
withProductTypeChangeLabelAction
Methods inherited from interface com.commercetools.api.models.product_type.ProductTypeUpdateAction
withProductTypeUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Constructor Details
-
ProductTypeChangeLabelActionImpl
public ProductTypeChangeLabelActionImpl()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 interfaceProductTypeChangeLabelAction
- Returns:
- attributeName
-
getLabel
New value to set. Must not be empty.
- Specified by:
getLabel
in interfaceProductTypeChangeLabelAction
- Returns:
- label
-
setAttributeName
Description copied from interface:ProductTypeChangeLabelAction
Name of the AttributeDefinition to update.
- Specified by:
setAttributeName
in interfaceProductTypeChangeLabelAction
- Parameters:
attributeName
- value to be set
-
setLabel
Description copied from interface:ProductTypeChangeLabelAction
New value to set. Must not be empty.
- Specified by:
setLabel
in interfaceProductTypeChangeLabelAction
- Parameters:
label
- value to be set
-
equals
-
hashCode
-