Interface CommerceProductService

    • Method Detail

      • getSuperCategoriesExceptClassificationClassesForProduct

        java.util.Collection<CategoryModel> getSuperCategoriesExceptClassificationClassesForProduct​(ProductModel productModel)
                                                                                             throws java.lang.IllegalArgumentException
        Gets the super categories except classification classes.
        Parameters:
        productModel - the product model to retrieve super categories from
        Returns:
        the super categories except classification classes items
        Throws:
        java.lang.IllegalArgumentException - the illegal argument exception when given product model is null
      • getStockLevelForProduct

        @Deprecated(since="5.0")
        java.lang.Integer getStockLevelForProduct​(ProductModel productModel)
        Deprecated.
        Since 5.0. Use CommerceStockService
        Parameters:
        productModel - the product model to look stock level for
        Returns:
        the available stock