Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 1.08 KB

RejectCouponEffectProps.md

File metadata and controls

27 lines (20 loc) · 1.08 KB

TalonOne::RejectCouponEffectProps

Properties

Name Type Description Notes
value String The coupon code that was rejected.
rejection_reason String The reason why this coupon was rejected.
condition_index Integer The index of the condition that caused the rejection of the coupon. [optional]
effect_index Integer The index of the effect that caused the rejection of the coupon. [optional]
details String More details about the failure. [optional]
campaign_exclusion_reason String The reason why the campaign was not applied. [optional]

Code Sample

require 'TalonOne'

instance = TalonOne::RejectCouponEffectProps.new(value: null,
                                 rejection_reason: null,
                                 condition_index: null,
                                 effect_index: null,
                                 details: null,
                                 campaign_exclusion_reason: CampaignGaveLowerDiscount)