PromotionsManager.RestrictionSetResult |
PromotionsManager.evaluateRestrictions(SessionContext ctx,
java.util.List<Product> products,
AbstractOrder order,
AbstractPromotion promo,
java.util.Date date) |
Evaluate all of the restrictions for a given promotion and return a result object containing the allowed items.
|
PromotionsManager.RestrictionSetResult |
PromotionsManager.evaluateRestrictions(SessionContext ctx,
java.util.List<Product> products,
AbstractOrder order,
java.util.Collection<AbstractPromotionRestriction> restrictions,
java.util.Date date) |
Evaluate the specified restrictions and return a result object containing the allowed items.
|
protected PromotionsManager.RestrictionSetResult |
ProductPromotion.findAllProducts(SessionContext ctx,
PromotionEvaluationContext promoContext) |
Find all products that this promotion applies to by both direct association and via categories.
|
protected PromotionsManager.RestrictionSetResult |
ProductPromotion.findEligibleProductsInBasket(SessionContext ctx,
PromotionEvaluationContext promoContext) |
Return the intersection of the set of products bound to this promotion and the current cart contents.
|