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. | |
period | String | The period on which the budget limit recurs. | [optional] |
entities | Array<String> | The entity that this limit applies to. |
require 'TalonOne'
instance = TalonOne::LimitConfig.new(action: createCoupon,
limit: 1000.0,
period: yearly,
entities: [Coupon])