Interface StockValidator

All Known Implementing Classes:
DefaultStockValidator

public interface StockValidator
Validator of product stock online availability
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    validate(String baseSiteId, String productCode, Long entryNumber)
    Validates product stock online availability for the given site and entry number.
  • Method Details

    • validate

      void validate(String baseSiteId, String productCode, Long entryNumber)
      Validates product stock online availability for the given site and entry number.

      Throws sub type of WebserviceException in case the stock system is unavailable or stock is insufficient.

      Parameters:
      baseSiteId - Id of base site
      productCode - Code of the product
      entryNumber - Number of entry in case of entry validation