Class ProductTypeChangeLocalizedEnumValueOrderActionImpl
java.lang.Object
com.commercetools.api.models.product_type.ProductTypeChangeLocalizedEnumValueOrderActionImpl
- All Implemented Interfaces:
ProductTypeChangeLocalizedEnumValueOrderAction
,ProductTypeUpdateAction
,ResourceUpdateAction<ProductTypeUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class ProductTypeChangeLocalizedEnumValueOrderActionImpl
extends Object
implements ProductTypeChangeLocalizedEnumValueOrderAction, io.vrap.rmf.base.client.ModelBase
Updates the order of localized enum values
in an AttributeLocalizedEnumType AttributeDefinition. 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.ProductTypeChangeLocalizedEnumValueOrderAction
CHANGE_LOCALIZED_ENUM_VALUE_ORDER
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Name of the AttributeDefinition to update.Values must be equal to the values of the Attribute enum values (except for the order).int
hashCode()
void
setAttributeName
(String attributeName) Name of the AttributeDefinition to update.void
setValues
(AttributeLocalizedEnumValue... values) Values must be equal to the values of the Attribute enum values (except for the order).void
setValues
(List<AttributeLocalizedEnumValue> values) Values must be equal to the values of the Attribute enum values (except for the order).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.ProductTypeChangeLocalizedEnumValueOrderAction
withProductTypeChangeLocalizedEnumValueOrderAction
Methods inherited from interface com.commercetools.api.models.product_type.ProductTypeUpdateAction
withProductTypeUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Constructor Details
-
ProductTypeChangeLocalizedEnumValueOrderActionImpl
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 interfaceProductTypeChangeLocalizedEnumValueOrderAction
- Returns:
- attributeName
-
getValues
Values must be equal to the values of the Attribute enum values (except for the order). If not, an EnumValuesMustMatch error is returned.
- Specified by:
getValues
in interfaceProductTypeChangeLocalizedEnumValueOrderAction
- Returns:
- values
-
setAttributeName
Description copied from interface:ProductTypeChangeLocalizedEnumValueOrderAction
Name of the AttributeDefinition to update.
- Specified by:
setAttributeName
in interfaceProductTypeChangeLocalizedEnumValueOrderAction
- Parameters:
attributeName
- value to be set
-
setValues
Description copied from interface:ProductTypeChangeLocalizedEnumValueOrderAction
Values must be equal to the values of the Attribute enum values (except for the order). If not, an EnumValuesMustMatch error is returned.
- Specified by:
setValues
in interfaceProductTypeChangeLocalizedEnumValueOrderAction
- Parameters:
values
- values to be set
-
setValues
Description copied from interface:ProductTypeChangeLocalizedEnumValueOrderAction
Values must be equal to the values of the Attribute enum values (except for the order). If not, an EnumValuesMustMatch error is returned.
- Specified by:
setValues
in interfaceProductTypeChangeLocalizedEnumValueOrderAction
- Parameters:
values
- values to be set
-
equals
-
hashCode
-