Interface StockPOSValidator
-
- All Known Implementing Classes:
DefaultStockPOSValidator
public interface StockPOSValidatorValidator of product stock availability in the point of service.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidvalidate(java.lang.String baseSiteId, java.lang.String productCode, java.lang.String storeName, java.lang.Long entryNumber)Validates product stock availability in the point of service.
-
-
-
Method Detail
-
validate
void validate(java.lang.String baseSiteId, java.lang.String productCode, java.lang.String storeName, java.lang.Long entryNumber)Validates product stock availability in the point of service.Uses entry number in validation message. Throws sub type of
WebserviceExceptionin case the stock system is unavailable or stock is insufficient.- Parameters:
baseSiteId- Site identifierproductCode- Code of the productstoreName- Name of the point of serviceentryNumber- Number of entry in case of entry validation
-
-