Class StoreAddDistributionChannelActionImpl
java.lang.Object
com.commercetools.api.models.store.StoreAddDistributionChannelActionImpl
- All Implemented Interfaces:
ResourceUpdateAction<StoreUpdateAction>
,StoreAddDistributionChannelAction
,StoreUpdateAction
,io.vrap.rmf.base.client.ModelBase
public class StoreAddDistributionChannelActionImpl
extends Object
implements StoreAddDistributionChannelAction, io.vrap.rmf.base.client.ModelBase
This update action produces the StoreDistributionChannelsChanged Message. It has no effect if a given distribution channel is already present in a Store.
Adding 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.StoreAddDistributionChannelAction
ADD_DISTRIBUTION_CHANNEL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Value to append.int
hashCode()
void
setDistributionChannel
(ChannelResourceIdentifier distributionChannel) Value to append.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.StoreAddDistributionChannelAction
withStoreAddDistributionChannelAction
Methods inherited from interface com.commercetools.api.models.store.StoreUpdateAction
withStoreUpdateAction
-
Constructor Details
-
StoreAddDistributionChannelActionImpl
public StoreAddDistributionChannelActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceResourceUpdateAction<StoreUpdateAction>
- Specified by:
getAction
in interfaceStoreUpdateAction
- Returns:
- action
-
getDistributionChannel
Value to append.
- Specified by:
getDistributionChannel
in interfaceStoreAddDistributionChannelAction
- Returns:
- distributionChannel
-
setDistributionChannel
Description copied from interface:StoreAddDistributionChannelAction
Value to append.
- Specified by:
setDistributionChannel
in interfaceStoreAddDistributionChannelAction
- Parameters:
distributionChannel
- value to be set
-
equals
-
hashCode
public int hashCode()
-