This allows campaigns in the rule engine to trigger effects based on the cart contents. E.g. we could create a campaign that gives a 10% discount when the category is bundles and the planDurationis 24 ( 24 months):
The Talon.One rule engine will validate the code, and return either an acceptCoupon effect (and any other effects that were triggered), or a rejectCoupon effect indicating that the coupon was not valid.
["acceptCoupon", "Christmas Special"]
["setDiscount", "$20 on all 24 month plans", 20]