Click or drag to resize
CartDiscountsFilter Methods

The CartDiscountsFilter type exposes the following members.

Methods
  NameDescription
Protected methodDiscountIsUsable
Returns true if condition in given discount is satisfied using Resolver object.
(Inherited from DiscountsFilterBase.)
Public methodFilter
Filters given discounts and leaves only those which conditions and min amounts are met.
Protected methodFilterDiscounts
Returns discounts for which method DiscountIsUsable returns true. Filtering stops when the first discount without ApplyFurtherDiscounts flag found.
(Inherited from DiscountsFilterBase.)
Protected methodGetCondition
Returns DiscountCartCondition from given discount object.
(Overrides DiscountsFilterBaseGetCondition(IConditionalDiscount).)
Top
See Also