Class ChannelSetCustomTypeActionImpl
java.lang.Object
com.commercetools.api.models.channel.ChannelSetCustomTypeActionImpl
- All Implemented Interfaces:
ChannelSetCustomTypeAction
,ChannelUpdateAction
,ResourceUpdateAction<ChannelUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class ChannelSetCustomTypeActionImpl
extends Object
implements ChannelSetCustomTypeAction, io.vrap.rmf.base.client.ModelBase
ChannelSetCustomTypeAction
-
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.channel.ChannelSetCustomTypeAction
SET_CUSTOM_TYPE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Sets the Custom Fields fields for the Channel.getType()
Defines the Type that extends the Channel with Custom Fields.int
hashCode()
void
setFields
(FieldContainer fields) Sets the Custom Fields fields for the Channel.void
Defines the Type that extends the Channel with Custom Fields.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.channel.ChannelSetCustomTypeAction
withChannelSetCustomTypeAction
Methods inherited from interface com.commercetools.api.models.channel.ChannelUpdateAction
withChannelUpdateAction
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Constructor Details
-
ChannelSetCustomTypeActionImpl
public ChannelSetCustomTypeActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceChannelUpdateAction
- Specified by:
getAction
in interfaceResourceUpdateAction<ChannelUpdateAction>
- Returns:
- action
-
getType
Defines the Type that extends the Channel with Custom Fields. If absent, any existing Type and Custom Fields are removed from the Channel.
- Specified by:
getType
in interfaceChannelSetCustomTypeAction
- Returns:
- type
-
getFields
Sets the Custom Fields fields for the Channel.
- Specified by:
getFields
in interfaceChannelSetCustomTypeAction
- Returns:
- fields
-
setType
Description copied from interface:ChannelSetCustomTypeAction
Defines the Type that extends the Channel with Custom Fields. If absent, any existing Type and Custom Fields are removed from the Channel.
- Specified by:
setType
in interfaceChannelSetCustomTypeAction
- Parameters:
type
- value to be set
-
setFields
Description copied from interface:ChannelSetCustomTypeAction
Sets the Custom Fields fields for the Channel.
- Specified by:
setFields
in interfaceChannelSetCustomTypeAction
- Parameters:
fields
- value to be set
-
equals
-
hashCode
public int hashCode()
-