OnlineMarketingTransformationFunctions SpentMoney Method Kentico 8.1 API Reference
Returns true if the contact spent specified amount of money (counted by order total price in main currency) in last X days.

Namespace: CMS.OnlineMarketing
Assembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

contact
Type: OnlineSystem Object
Contact the activities of which should be checked
lowerBound
Type: OnlineSystem Double
Inclusive lower bound of the amount of money (in main currency) spent by contact
upperBound
Type: OnlineSystem Double
Inclusive upper bound of the amount of money (in main currency) spent by contact
lastXDays
Type: OnlineSystem Int32
Constraint for last X days (if zero or negative value is given, no constraint is applied)

Return Value

Type: OnlineBoolean
See Also