Class: Stripe::Billing::AlertCreateParams::SpendThreshold::Filters
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Billing::AlertCreateParams::SpendThreshold::Filters
- Defined in:
- lib/stripe/params/billing/alert_create_params.rb
Instance Attribute Summary collapse
-
#billable_items ⇒ Object
Filter by billable item IDs.
-
#billing_cadence ⇒ Object
Filter by billing cadence ID.
-
#pricing_plan ⇒ Object
Filter by pricing plan ID.
-
#pricing_plan_subscription ⇒ Object
Filter by pricing plan subscription ID.
Instance Method Summary collapse
-
#initialize(billable_items: nil, billing_cadence: nil, pricing_plan: nil, pricing_plan_subscription: nil) ⇒ Filters
constructor
A new instance of Filters.
Methods inherited from RequestParams
Constructor Details
#initialize(billable_items: nil, billing_cadence: nil, pricing_plan: nil, pricing_plan_subscription: nil) ⇒ Filters
Returns a new instance of Filters.
129 130 131 132 133 134 135 136 137 138 139 |
# File 'lib/stripe/params/billing/alert_create_params.rb', line 129 def initialize( billable_items: nil, billing_cadence: nil, pricing_plan: nil, pricing_plan_subscription: nil ) @billable_items = billable_items @billing_cadence = billing_cadence @pricing_plan = pricing_plan @pricing_plan_subscription = pricing_plan_subscription end |
Instance Attribute Details
#billable_items ⇒ Object
Filter by billable item IDs. Maximum of 20 billable items.
121 122 123 |
# File 'lib/stripe/params/billing/alert_create_params.rb', line 121 def billable_items @billable_items end |
#billing_cadence ⇒ Object
Filter by billing cadence ID.
123 124 125 |
# File 'lib/stripe/params/billing/alert_create_params.rb', line 123 def billing_cadence @billing_cadence end |
#pricing_plan ⇒ Object
Filter by pricing plan ID.
125 126 127 |
# File 'lib/stripe/params/billing/alert_create_params.rb', line 125 def pricing_plan @pricing_plan end |
#pricing_plan_subscription ⇒ Object
Filter by pricing plan subscription ID.
127 128 129 |
# File 'lib/stripe/params/billing/alert_create_params.rb', line 127 def pricing_plan_subscription @pricing_plan_subscription end |