Click or drag to resize
DiscountsFilterBase Class
Base class for discount filters.
Inheritance Hierarchy

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 10.0.0
Syntax
C#
public class DiscountsFilterBase

The DiscountsFilterBase type exposes the following members.

Constructors
  NameDescription
Public methodDiscountsFilterBase
Top
Properties
  NameDescription
Protected propertyResolver
Macro resolver to be used for resolving discount conditions.
Top
Methods
  NameDescription
Protected methodDiscountIsUsable
Returns true if condition in given discount is satisfied using Resolver object.
Protected methodFilterDiscounts
Returns discounts for which method DiscountIsUsable returns true. Filtering stops when the first discount without ApplyFurtherDiscounts flag found.
Protected methodGetCondition
Returns condition for given discount.
Top
See Also