Holds a reference to the campaign, the coupon and the reason for which that coupon was rejected. Should only be present when there is a 'rejectCoupon' effect.
Name |
Type |
Description |
Notes |
campaignId |
Integer |
|
|
couponId |
Integer |
|
|
reason |
ReasonEnum |
|
|
Name |
Value |
COUPONNOTFOUND |
"CouponNotFound" |
COUPONPARTOFNOTRUNNINGCAMPAIGN |
"CouponPartOfNotRunningCampaign" |
CAMPAIGNLIMITREACHED |
"CampaignLimitReached" |
PROFILELIMITREACHED |
"ProfileLimitReached" |
COUPONRECIPIENTDOESNOTMATCH |
"CouponRecipientDoesNotMatch" |
COUPONEXPIRED |
"CouponExpired" |
COUPONSTARTDATEINFUTURE |
"CouponStartDateInFuture" |
COUPONREJECTEDBYCONDITION |
"CouponRejectedByCondition" |
EFFECTCOULDNOTBEAPPLIED |
"EffectCouldNotBeApplied" |
COUPONPARTOFNOTTRIGGEREDCAMPAIGN |
"CouponPartOfNotTriggeredCampaign" |
COUPONRESERVATIONREQUIRED |
"CouponReservationRequired" |
PROFILEREQUIRED |
"ProfileRequired" |