OnlineMarketingTransformationFunctionsPurchasedProduct Method |
Returns true if the contact purchased specified product or its variant.
Namespace: CMS.OnlineMarketingAssembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 9.0.0
Syntax public static bool PurchasedProduct(
Object contact,
Guid skuGuid,
int lastXDays
)
Parameters
- contact
- Type: SystemObject
Contact which should be checked - skuGuid
- Type: SystemGuid
GUID of the SKU - lastXDays
- Type: SystemInt32
Constraint for last X days (if zero or negative value is given, no constraint is applied)
Return Value
Type:
BooleanSee Also