Class InventoryEntryDeletedMessagePayloadImpl
java.lang.Object
com.commercetools.api.models.message.InventoryEntryDeletedMessagePayloadImpl
- All Implemented Interfaces:
InventoryEntryDeletedMessagePayload
,MessagePayload
,io.vrap.rmf.base.client.ModelBase
public class InventoryEntryDeletedMessagePayloadImpl
extends Object
implements InventoryEntryDeletedMessagePayload, io.vrap.rmf.base.client.ModelBase
Generated after a successful Delete InventoryEntry request.
-
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.message.InventoryEntryDeletedMessagePayload
INVENTORY_ENTRY_DELETED
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
getSku()
Thesku
of the InventoryEntry that was deleted.Reference to the Channel where the InventoryEntry was deleted.getType()
int
hashCode()
void
Thesku
of the InventoryEntry that was deleted.void
setSupplyChannel
(ChannelReference supplyChannel) Reference to the Channel where the InventoryEntry was deleted.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.message.InventoryEntryDeletedMessagePayload
withInventoryEntryDeletedMessagePayload
Methods inherited from interface com.commercetools.api.models.message.MessagePayload
withMessagePayload
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
InventoryEntryDeletedMessagePayloadImpl
public InventoryEntryDeletedMessagePayloadImpl()create empty instance
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceMessagePayload
- Returns:
- type
-
getSku
The
sku
of the InventoryEntry that was deleted.- Specified by:
getSku
in interfaceInventoryEntryDeletedMessagePayload
- Returns:
- sku
-
getSupplyChannel
Reference to the Channel where the InventoryEntry was deleted.
- Specified by:
getSupplyChannel
in interfaceInventoryEntryDeletedMessagePayload
- Returns:
- supplyChannel
-
setSku
Description copied from interface:InventoryEntryDeletedMessagePayload
The
sku
of the InventoryEntry that was deleted.- Specified by:
setSku
in interfaceInventoryEntryDeletedMessagePayload
- Parameters:
sku
- value to be set
-
setSupplyChannel
Description copied from interface:InventoryEntryDeletedMessagePayload
Reference to the Channel where the InventoryEntry was deleted.
- Specified by:
setSupplyChannel
in interfaceInventoryEntryDeletedMessagePayload
- Parameters:
supplyChannel
- value to be set
-
equals
-
hashCode
public int hashCode()
-