Interface InventoryAllocator

All Known Implementing Classes:
FeignAllocator, InmemoryAllocator

public interface InventoryAllocator
A InventoryAllocator.
Author:
Heiko Scherrer
  • Method Summary

    Modifier and Type
    Method
    Description
    allocate(String sku, org.openwms.core.units.api.Measurable quantity, List<String> sourceLocationGroupNames)
    Allocate a product with the sku in the given quantity.
  • Method Details

    • allocate

      List<AllocatedTransportUnit> allocate(String sku, org.openwms.core.units.api.Measurable quantity, List<String> sourceLocationGroupNames)
      Allocate a product with the sku in the given quantity.
      Parameters:
      sku - The Product's SKU
      quantity - The demanded quantity
      sourceLocationGroupNames - A list of LocationGroup names where to allocate inventory in
      Returns:
      A list of available TransportUnits to allocate