Class StoreSetCustomFieldActionImpl
java.lang.Object
com.commercetools.api.models.store.StoreSetCustomFieldActionImpl
- All Implemented Interfaces:
ResourceUpdateAction<StoreUpdateAction>
,StoreSetCustomFieldAction
,StoreUpdateAction
,io.vrap.rmf.base.client.ModelBase
public class StoreSetCustomFieldActionImpl
extends Object
implements StoreSetCustomFieldAction, io.vrap.rmf.base.client.ModelBase
StoreSetCustomFieldAction
-
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.store.StoreSetCustomFieldAction
SET_CUSTOM_FIELD
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
Methods inherited from interface com.commercetools.api.models.store.StoreSetCustomFieldAction
withStoreSetCustomFieldAction
Methods inherited from interface com.commercetools.api.models.store.StoreUpdateAction
withStoreUpdateAction
-
Constructor Details
-
StoreSetCustomFieldActionImpl
public StoreSetCustomFieldActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceResourceUpdateAction<StoreUpdateAction>
- Specified by:
getAction
in interfaceStoreUpdateAction
- Returns:
- action
-
getName
Name of the Custom Field.
- Specified by:
getName
in interfaceStoreSetCustomFieldAction
- 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 interfaceStoreSetCustomFieldAction
- Returns:
- value
-
setName
Description copied from interface:StoreSetCustomFieldAction
Name of the Custom Field.
- Specified by:
setName
in interfaceStoreSetCustomFieldAction
- Parameters:
name
- value to be set
-
setValue
Description copied from interface:StoreSetCustomFieldAction
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 interfaceStoreSetCustomFieldAction
- Parameters:
value
- value to be set
-
equals
-
hashCode
public int hashCode() -
toString
-