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 | Long | ||
| couponId | Long | ||
| reason | ReasonEnum |
| Name | Value |
|---|---|
| COUPON_NOT_FOUND | "CouponNotFound" |
| COUPON_PART_OF_NOT_RUNNING_CAMPAIGN | "CouponPartOfNotRunningCampaign" |
| CAMPAIGN_LIMIT_REACHED | "CampaignLimitReached" |
| PROFILE_LIMIT_REACHED | "ProfileLimitReached" |
| COUPON_RECIPIENT_DOES_NOT_MATCH | "CouponRecipientDoesNotMatch" |
| COUPON_EXPIRED | "CouponExpired" |
| COUPON_START_DATE_IN_FUTURE | "CouponStartDateInFuture" |
| COUPON_REJECTED_BY_CONDITION | "CouponRejectedByCondition" |
| EFFECT_COULD_NOT_BE_APPLIED | "EffectCouldNotBeApplied" |
| COUPON_PART_OF_NOT_TRIGGERED_CAMPAIGN | "CouponPartOfNotTriggeredCampaign" |
| COUPON_RESERVATION_REQUIRED | "CouponReservationRequired" |
| PROFILE_REQUIRED | "ProfileRequired" |