Class InventoryEntrySetSupplyChannelActionImpl
java.lang.Object
com.commercetools.api.models.inventory.InventoryEntrySetSupplyChannelActionImpl
- All Implemented Interfaces:
InventoryEntrySetSupplyChannelAction
,InventoryEntryUpdateAction
,ResourceUpdateAction<InventoryEntryUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class InventoryEntrySetSupplyChannelActionImpl
extends Object
implements InventoryEntrySetSupplyChannelAction, io.vrap.rmf.base.client.ModelBase
If an entry with the same sku
and supplyChannel
already exists, an DuplicateField error is returned.
-
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.inventory.InventoryEntrySetSupplyChannelAction
SET_SUPPLY_CHANNEL
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Value to set.int
hashCode()
void
setSupplyChannel
(ChannelResourceIdentifier supplyChannel) Value to set.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.inventory.InventoryEntrySetSupplyChannelAction
withInventoryEntrySetSupplyChannelAction
Methods inherited from interface com.commercetools.api.models.inventory.InventoryEntryUpdateAction
withInventoryEntryUpdateAction
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Constructor Details
-
InventoryEntrySetSupplyChannelActionImpl
public InventoryEntrySetSupplyChannelActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceInventoryEntryUpdateAction
- Specified by:
getAction
in interfaceResourceUpdateAction<InventoryEntryUpdateAction>
- Returns:
- action
-
getSupplyChannel
Value to set. If empty, any existing value will be removed.
- Specified by:
getSupplyChannel
in interfaceInventoryEntrySetSupplyChannelAction
- Returns:
- supplyChannel
-
setSupplyChannel
Description copied from interface:InventoryEntrySetSupplyChannelAction
Value to set. If empty, any existing value will be removed.
- Specified by:
setSupplyChannel
in interfaceInventoryEntrySetSupplyChannelAction
- Parameters:
supplyChannel
- value to be set
-
equals
-
hashCode
public int hashCode()
-