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