Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 1.16 KB

CouponRejectionReason.md

File metadata and controls

34 lines (23 loc) · 1.16 KB

CouponRejectionReason

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.

Properties

Name Type Description Notes
campaignId Integer
couponId Integer
reason ReasonEnum

Enum: 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"