Class OrdersFrequencyCriterion

Detect users that has placed an order in store X times in the last Y days

Inheritance
System.Object
OrdersFrequencyCriterion
Namespace: EPiServer.Business.Commerce.VisitorGroupsCriteria
Assembly: EPiServer.Business.Commerce.dll
Version: 10.8.0
Syntax
public class OrdersFrequencyCriterion : CriterionBase<OrdersFrequencyModel>

Constructors

OrdersFrequencyCriterion()

Declaration
public OrdersFrequencyCriterion()

Methods

IsMatch(IPrincipal, HttpContextBase)

Detect users that has placed an order in store X times in the last Y days

Declaration
public override bool IsMatch(IPrincipal principal, HttpContextBase httpContext)
Parameters
Type Name Description
System.Security.Principal.IPrincipal principal

The principal.

System.Web.HttpContextBase httpContext

The HTTP context.

Returns
Type Description
System.Boolean

true if the is match; otherwise, false.