Interface SAPS4OMAvailabilityService
- All Known Implementing Classes:
DefaultSAPS4OMAvailabilityService
public interface SAPS4OMAvailabilityService
Availability service provides the availability and future stock details.
-
Method Summary
Modifier and TypeMethodDescriptiongetProductAvailability(ProductModel productModel, BaseStoreModel baseStore) Get the SapS4OMProductAvailability (contains stock , future stock details) for the product and the given basestorevoidremoveProductAvailabilityFromCache(ProductModel productModel) Removes SapS4OMProductAvailability from Cache for given product
-
Method Details
-
getProductAvailability
SapS4OMProductAvailability getProductAvailability(ProductModel productModel, BaseStoreModel baseStore) throws OutboundServiceException Get the SapS4OMProductAvailability (contains stock , future stock details) for the product and the given basestore- Parameters:
productModel- the ProductModelbaseStore- the baseStoreModel- Returns:
- SapS4OMProductAvailability for the corresponding product and warehouse.
- Throws:
OutboundServiceException
-
removeProductAvailabilityFromCache
Removes SapS4OMProductAvailability from Cache for given product- Parameters:
productModel- product- Throws:
OutboundServiceException
-