Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 784 Bytes

CouponBaseInputAppliesTo.md

File metadata and controls

20 lines (14 loc) · 784 Bytes

LagoAPI::CouponBaseInputAppliesTo

Properties

Name Type Description Notes
plan_codes Array<String> An array of plan codes to which the coupon is applicable. By specifying the plan codes in this field, you can restrict the coupon's usage to specific plans only. [optional]
billable_metric_codes Array<String> An array of billable metric codes to which the coupon is applicable. By specifying the billable metric codes in this field, you can restrict the coupon's usage to specific metrics only. [optional]

Example

require 'lago_ruby'

instance = LagoAPI::CouponBaseInputAppliesTo.new(
  plan_codes: [&quot;startup_plan&quot;],
  billable_metric_codes: []
)