Class StoreSetSupplyChannelsActionImpl
java.lang.Object
com.commercetools.api.models.store.StoreSetSupplyChannelsActionImpl
- All Implemented Interfaces:
ResourceUpdateAction<StoreUpdateAction>
,StoreSetSupplyChannelsAction
,StoreUpdateAction
,io.vrap.rmf.base.client.ModelBase
public class StoreSetSupplyChannelsActionImpl
extends Object
implements StoreSetSupplyChannelsAction, io.vrap.rmf.base.client.ModelBase
Setting a supply channel produces the StoreSupplyChannelsChanged Message.
Setting a Channel without the InventorySupply
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.StoreSetSupplyChannelsAction
SET_SUPPLY_CHANNELS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Value to set.int
hashCode()
void
setSupplyChannels
(ChannelResourceIdentifier... supplyChannels) Value to set.void
setSupplyChannels
(List<ChannelResourceIdentifier> supplyChannels) Value to set.toString()
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.StoreSetSupplyChannelsAction
withStoreSetSupplyChannelsAction
Methods inherited from interface com.commercetools.api.models.store.StoreUpdateAction
withStoreUpdateAction
-
Constructor Details
-
StoreSetSupplyChannelsActionImpl
public StoreSetSupplyChannelsActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceResourceUpdateAction<StoreUpdateAction>
- Specified by:
getAction
in interfaceStoreUpdateAction
- Returns:
- action
-
getSupplyChannels
Value to set. If not defined, the Store's
supplyChannels
are unset.- Specified by:
getSupplyChannels
in interfaceStoreSetSupplyChannelsAction
- Returns:
- supplyChannels
-
setSupplyChannels
Description copied from interface:StoreSetSupplyChannelsAction
Value to set. If not defined, the Store's
supplyChannels
are unset.- Specified by:
setSupplyChannels
in interfaceStoreSetSupplyChannelsAction
- Parameters:
supplyChannels
- values to be set
-
setSupplyChannels
Description copied from interface:StoreSetSupplyChannelsAction
Value to set. If not defined, the Store's
supplyChannels
are unset.- Specified by:
setSupplyChannels
in interfaceStoreSetSupplyChannelsAction
- Parameters:
supplyChannels
- values to be set
-
equals
-
hashCode
public int hashCode() -
toString
-