Interface StockPOSValidator

  • All Known Implementing Classes:
    DefaultStockPOSValidator

    public interface StockPOSValidator
    Validator of product stock availability in the point of service.
    • 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.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 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