Interface InventoryEntryChangeQuantityAction

All Superinterfaces:
InventoryEntryUpdateAction, ResourceUpdateAction<InventoryEntryUpdateAction>

public interface InventoryEntryChangeQuantityAction extends InventoryEntryUpdateAction

Sets the quantityOnStock to an absolute value. This changes the availableQuantity, based on the number of active reservations. To make an incremental change instead, use the InventoryEntryAddQuantityAction update action.


Example to create an instance using the builder pattern

     InventoryEntryChangeQuantityAction inventoryEntryChangeQuantityAction = InventoryEntryChangeQuantityAction.builder()
             .quantity(0.3)
             .build()