Interface ShoppingTravelCommerceStockService

All Superinterfaces:
de.hybris.platform.commerceservices.stock.CommerceStockService, TravelCommerceStockService
All Known Implementing Classes:
DefaultShoppingTravelCommerceStockService

public interface ShoppingTravelCommerceStockService extends TravelCommerceStockService
Interface for stock operations
  • Method Details

    • getAccommodationServiceStockForDate

      Long getAccommodationServiceStockForDate(ProductModel product, Date date, Collection<WarehouseModel> warehouses)
      Returns the value of stock of the given service product for the given date in the given warehouse. It returns null if the InStockStatus is force in stock, while force out of stock will be treated as zero available quantity.
      Parameters:
      product - the product
      date - the date
      warehouses - a collection of warehouses where to find stock levels
      Returns:
      the value of stock