Class StoreSetDistributionChannelsActionImpl
java.lang.Object
com.commercetools.api.models.store.StoreSetDistributionChannelsActionImpl
- All Implemented Interfaces:
ResourceUpdateAction<StoreUpdateAction>
,StoreSetDistributionChannelsAction
,StoreUpdateAction
,io.vrap.rmf.base.client.ModelBase
public class StoreSetDistributionChannelsActionImpl
extends Object
implements StoreSetDistributionChannelsAction, io.vrap.rmf.base.client.ModelBase
This update action produces the StoreDistributionChannelsChanged Message.
Setting a Channel without the ProductDistribution
ChannelRoleEnum returns a MissingRoleOnChannel error.
-
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.StoreSetDistributionChannelsAction
SET_DISTRIBUTION_CHANNELS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Value to set.int
hashCode()
void
setDistributionChannels
(ChannelResourceIdentifier... distributionChannels) Value to set.void
setDistributionChannels
(List<ChannelResourceIdentifier> distributionChannels) Value to set.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.store.StoreSetDistributionChannelsAction
withStoreSetDistributionChannelsAction
Methods inherited from interface com.commercetools.api.models.store.StoreUpdateAction
withStoreUpdateAction
-
Constructor Details
-
StoreSetDistributionChannelsActionImpl
public StoreSetDistributionChannelsActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceResourceUpdateAction<StoreUpdateAction>
- Specified by:
getAction
in interfaceStoreUpdateAction
- Returns:
- action
-
getDistributionChannels
Value to set. If not defined, the Store's
distributionChannels
are unset.- Specified by:
getDistributionChannels
in interfaceStoreSetDistributionChannelsAction
- Returns:
- distributionChannels
-
setDistributionChannels
Description copied from interface:StoreSetDistributionChannelsAction
Value to set. If not defined, the Store's
distributionChannels
are unset.- Specified by:
setDistributionChannels
in interfaceStoreSetDistributionChannelsAction
- Parameters:
distributionChannels
- values to be set
-
setDistributionChannels
Description copied from interface:StoreSetDistributionChannelsAction
Value to set. If not defined, the Store's
distributionChannels
are unset.- Specified by:
setDistributionChannels
in interfaceStoreSetDistributionChannelsAction
- Parameters:
distributionChannels
- values to be set
-
equals
-
hashCode
public int hashCode()
-