OnlineMarketingTransformationFunctionsPurchasedNumberOfProducts Method |
Returns true if the contact purchased specified number of products in last X days.
Namespace: CMS.OnlineMarketingAssembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 9.0.0
Syntaxpublic static bool PurchasedNumberOfProducts(
Object contact,
int lowerBound,
int lastXDays
)
Parameters
- contact
- Type: SystemObject
Contact the activities of which should be checked - lowerBound
- Type: SystemInt32
Inclusive lower bound of the number of products bought - lastXDays
- Type: SystemInt32
Constraint for last X days (if zero or negative value is given, no constraint is applied)
Return Value
Type:
Boolean
See Also