Interface TravelManageStockStrategy

All Known Implementing Classes:
DefaultAccommodationProductManageStockStrategy, DefaultShoppingTravelManageStockStrategy, DefaultTransportProductManageStockStrategy, DefaultTravelManageStockStrategy, NoActionManageStockStrategy, RoomRateManageStockStrategy

public interface TravelManageStockStrategy
Strategy to reserve and release the stockLevel for an abstractOrderEntry
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    release(AbstractOrderEntryModel abstractOrderEntry)
    Release products for a given abstractOrderEntry.
    void
    reserve(AbstractOrderEntryModel abstractOrderEntry)
    Reserves products in the specified warehouse for a given abstractOrderEntry.
  • Method Details

    • reserve

      void reserve(AbstractOrderEntryModel abstractOrderEntry) throws de.hybris.platform.stock.exception.InsufficientStockLevelException
      Reserves products in the specified warehouse for a given abstractOrderEntry.
      Parameters:
      abstractOrderEntry - the abstract order entry
      Throws:
      de.hybris.platform.stock.exception.InsufficientStockLevelException - the insufficient stock level exception
    • release

      void release(AbstractOrderEntryModel abstractOrderEntry)
      Release products for a given abstractOrderEntry.
      Parameters:
      abstractOrderEntry - the abstract order entry