Class AdWebShop

    • Constructor Detail

      • AdWebShop

        public AdWebShop()
    • Method Detail

      • isInStock

        public static boolean isInStock​(AdWebShopStockType stockType,
                                        BigDecimal stockQuantity)
        Returns whether the given stock type / quantity means the product is in stock
      • getLowStockNotified

        public Boolean getLowStockNotified()
      • getMaxAllowedInCart

        public BigDecimal getMaxAllowedInCart()
      • getMinAllowedInCart

        public BigDecimal getMinAllowedInCart()
      • getMinimumStockLimit

        public BigDecimal getMinimumStockLimit()
      • getProductNumber

        public String getProductNumber()
      • getStockQuantity

        public BigDecimal getStockQuantity()
      • isAllowDecimal

        public boolean isAllowDecimal()
      • isInStock

        public boolean isInStock()
        Specified by:
        isInStock in class BasicAd
      • setAllowDecimal

        public void setAllowDecimal​(boolean allowDecimal)
      • setDeliveryMethods

        public void setDeliveryMethods​(Set<AdDeliveryMethod> deliveryMethods)
      • setLowStockNotified

        public void setLowStockNotified​(Boolean lowStockNotified)
      • setMaxAllowedInCart

        public void setMaxAllowedInCart​(BigDecimal maxAllowedInCart)
      • setMinAllowedInCart

        public void setMinAllowedInCart​(BigDecimal minAllowedInCart)
      • setMinimumStockLimit

        public void setMinimumStockLimit​(BigDecimal minimumStockLimit)
      • setProductNumber

        public void setProductNumber​(String productNumber)
      • setStockQuantity

        public void setStockQuantity​(BigDecimal stockQuantity)