Class ProductTypeAddLocalizedEnumValueActionImpl
java.lang.Object
com.commercetools.api.models.product_type.ProductTypeAddLocalizedEnumValueActionImpl
- All Implemented Interfaces:
ProductTypeAddLocalizedEnumValueAction
,ProductTypeUpdateAction
,ResourceUpdateAction<ProductTypeUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class ProductTypeAddLocalizedEnumValueActionImpl
extends Object
implements ProductTypeAddLocalizedEnumValueAction, io.vrap.rmf.base.client.ModelBase
Adds a localizable enum to the values of AttributeLocalizedEnumType. It can update an AttributeLocalizedEnumType AttributeDefinition or an AttributeSetType of AttributeLocalizedEnumType AttributeDefinition.
-
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.ProductTypeAddLocalizedEnumValueAction
ADD_LOCALIZED_ENUM_VALUE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Name of the AttributeDefinition to update.getValue()
Value to append to the array.int
hashCode()
void
setAttributeName
(String attributeName) Name of the AttributeDefinition to update.void
Value to append to the array.toString()
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.product_type.ProductTypeAddLocalizedEnumValueAction
withProductTypeAddLocalizedEnumValueAction
Methods inherited from interface com.commercetools.api.models.product_type.ProductTypeUpdateAction
withProductTypeUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Constructor Details
-
ProductTypeAddLocalizedEnumValueActionImpl
public ProductTypeAddLocalizedEnumValueActionImpl()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 interfaceProductTypeAddLocalizedEnumValueAction
- Returns:
- attributeName
-
getValue
Value to append to the array.
- Specified by:
getValue
in interfaceProductTypeAddLocalizedEnumValueAction
- Returns:
- value
-
setAttributeName
Description copied from interface:ProductTypeAddLocalizedEnumValueAction
Name of the AttributeDefinition to update.
- Specified by:
setAttributeName
in interfaceProductTypeAddLocalizedEnumValueAction
- Parameters:
attributeName
- value to be set
-
setValue
Description copied from interface:ProductTypeAddLocalizedEnumValueAction
Value to append to the array.
- Specified by:
setValue
in interfaceProductTypeAddLocalizedEnumValueAction
- Parameters:
value
- value to be set
-
equals
-
hashCode
public int hashCode() -
toString
-