Interface StockValidator

  • All Known Implementing Classes:
    DefaultStockValidator

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void validate​(java.lang.String baseSiteId, java.lang.String productCode, java.lang.Long entryNumber)
      Validates product stock online availability for the given site and entry number.
    • Method Detail

      • validate

        void validate​(java.lang.String baseSiteId,
                      java.lang.String productCode,
                      java.lang.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