Name | Type | Description | Notes |
---|---|---|---|
action | String | The limitable action to which this limit applies. For example: - `setDiscount` - `setDiscountEffect` - `redeemCoupon` - `createCoupon` | |
limit | Float | The value to set for the limit. | |
counter | Float | The number of occurrences of the limited action in the context of the campaign. |
require 'TalonOne'
instance = TalonOne::CampaignBudget.new(action: createCoupon,
limit: 1000.0,
counter: 42.0)