Class CategorySetCustomFieldActionImpl
java.lang.Object
com.commercetools.api.models.category.CategorySetCustomFieldActionImpl
- All Implemented Interfaces:
CategorySetCustomFieldAction
,CategoryUpdateAction
,ResourceUpdateAction<CategoryUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class CategorySetCustomFieldActionImpl
extends Object
implements CategorySetCustomFieldAction, io.vrap.rmf.base.client.ModelBase
CategorySetCustomFieldAction
-
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.category.CategorySetCustomFieldAction
SET_CUSTOM_FIELD
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.category.CategorySetCustomFieldAction
withCategorySetCustomFieldAction
Methods inherited from interface com.commercetools.api.models.category.CategoryUpdateAction
withCategoryUpdateAction
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Constructor Details
-
CategorySetCustomFieldActionImpl
public CategorySetCustomFieldActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceCategoryUpdateAction
- Specified by:
getAction
in interfaceResourceUpdateAction<CategoryUpdateAction>
- Returns:
- action
-
getName
Name of the Custom Field.
- Specified by:
getName
in interfaceCategorySetCustomFieldAction
- Returns:
- name
-
getValue
If
value
is absent ornull
, this field will be removed if it exists. Removing a field that does not exist returns an InvalidOperation error. Ifvalue
is provided, it is set for the field defined byname
.- Specified by:
getValue
in interfaceCategorySetCustomFieldAction
- Returns:
- value
-
setName
Description copied from interface:CategorySetCustomFieldAction
Name of the Custom Field.
- Specified by:
setName
in interfaceCategorySetCustomFieldAction
- Parameters:
name
- value to be set
-
setValue
Description copied from interface:CategorySetCustomFieldAction
If
value
is absent ornull
, this field will be removed if it exists. Removing a field that does not exist returns an InvalidOperation error. Ifvalue
is provided, it is set for the field defined byname
.- Specified by:
setValue
in interfaceCategorySetCustomFieldAction
- Parameters:
value
- value to be set
-
equals
-
hashCode
public int hashCode()
-