Class RecentSpentCriterion

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

Constructors

RecentSpentCriterion()

Declaration
public RecentSpentCriterion()

Methods

IsMatch(IPrincipal, HttpContextBase)

Determines whether the specified principal is match. Return true if this user's orders have total greater or equal then the specified total money amount in the last specified number of 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 specified principal is match; otherwise, false.