Interface ShoppingTravelCommerceStockService
- All Superinterfaces:
de.hybris.platform.commerceservices.stock.CommerceStockService,TravelCommerceStockService
- All Known Implementing Classes:
DefaultShoppingTravelCommerceStockService
Interface for stock operations
-
Method Summary
Modifier and TypeMethodDescriptiongetAccommodationServiceStockForDate(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.Methods inherited from interface de.hybris.platform.commerceservices.stock.CommerceStockService
getPosAndStockLevelStatusForProduct, getStockLevelForProductAndBaseStore, getStockLevelForProductAndPointOfService, getStockLevelStatusForProductAndBaseStore, getStockLevelStatusForProductAndPointOfService, isStockSystemEnabledMethods inherited from interface de.hybris.platform.travelservices.stock.TravelCommerceStockService
adjustStockReservationForAmmendment, getStockForDate, getStockLevel, getStockLevelQuantity, release, releasePerDateProduct, reserve, reservePerDateProduct
-
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 theInStockStatusis force in stock, while force out of stock will be treated as zero available quantity.- Parameters:
product- the productdate- the datewarehouses- a collection of warehouses where to find stock levels- Returns:
- the value of stock
-