Class PromotionsManager.RestrictionSetResult

java.lang.Object
de.hybris.platform.promotions.jalo.PromotionsManager.RestrictionSetResult
Enclosing class:
PromotionsManager

public static final class PromotionsManager.RestrictionSetResult extends Object
Class representing the result of evaluating a set of restrictions.
  • Constructor Details

    • RestrictionSetResult

      public RestrictionSetResult()
      Create a deny restriction set
    • RestrictionSetResult

      public RestrictionSetResult(List<Product> allowedProducts)
      Create an allow restriction set with specified products.
      Parameters:
      allowedProducts - the list of allowed products
  • Method Details

    • isAllowedToContinue

      public boolean isAllowedToContinue()
      Check if the restrictions allow the promotion evaluation to continue.
      Returns:
      true if the promotion is allowed to evaluate
    • getAllowedProducts

      public List<Product> getAllowedProducts()
      Get the filtered product list.
      Returns:
      The filtered product list