Class StagedQuoteSetCustomFieldActionImpl
java.lang.Object
com.commercetools.api.models.staged_quote.StagedQuoteSetCustomFieldActionImpl
- All Implemented Interfaces:
ResourceUpdateAction<StagedQuoteUpdateAction>
,StagedQuoteSetCustomFieldAction
,StagedQuoteUpdateAction
,io.vrap.rmf.base.client.ModelBase
public class StagedQuoteSetCustomFieldActionImpl
extends Object
implements StagedQuoteSetCustomFieldAction, io.vrap.rmf.base.client.ModelBase
StagedQuoteSetCustomFieldAction
-
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.staged_quote.StagedQuoteSetCustomFieldAction
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 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.staged_quote.StagedQuoteSetCustomFieldAction
withStagedQuoteSetCustomFieldAction
Methods inherited from interface com.commercetools.api.models.staged_quote.StagedQuoteUpdateAction
withStagedQuoteUpdateAction
-
Constructor Details
-
StagedQuoteSetCustomFieldActionImpl
public StagedQuoteSetCustomFieldActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceResourceUpdateAction<StagedQuoteUpdateAction>
- Specified by:
getAction
in interfaceStagedQuoteUpdateAction
- Returns:
- action
-
getName
Name of the Custom Field.
- Specified by:
getName
in interfaceStagedQuoteSetCustomFieldAction
- 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 interfaceStagedQuoteSetCustomFieldAction
- Returns:
- value
-
setName
Description copied from interface:StagedQuoteSetCustomFieldAction
Name of the Custom Field.
- Specified by:
setName
in interfaceStagedQuoteSetCustomFieldAction
- Parameters:
name
- value to be set
-
setValue
Description copied from interface:StagedQuoteSetCustomFieldAction
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 interfaceStagedQuoteSetCustomFieldAction
- Parameters:
value
- value to be set
-
equals
-
hashCode
-