Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 1.26 KB

File metadata and controls

35 lines (23 loc) · 1.26 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 Long
couponId Long
reason ReasonEnum

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