Interface StockPOSValidator

All Known Implementing Classes:
DefaultStockPOSValidator

public interface StockPOSValidator
Validator of product stock availability in the point of service.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    validate(String baseSiteId, String productCode, String storeName, Long entryNumber)
    Validates product stock availability in the point of service.
  • Method Details

    • validate

      void validate(String baseSiteId, String productCode, String storeName, Long entryNumber)
      Validates product stock availability in the point of service.

      Uses entry number in validation message. Throws sub type of WebserviceException in case the stock system is unavailable or stock is insufficient.

      Parameters:
      baseSiteId - Site identifier
      productCode - Code of the product
      storeName - Name of the point of service
      entryNumber - Number of entry in case of entry validation