Class: Stripe::Billing::CreditBalanceSummaryRetrieveParams::Filter::ApplicabilityScope
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Billing::CreditBalanceSummaryRetrieveParams::Filter::ApplicabilityScope
- Defined in:
- lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb
Defined Under Namespace
Classes: Price
Instance Attribute Summary collapse
-
#price_type ⇒ Object
The price type that credit grants can apply to.
-
#prices ⇒ Object
A list of prices that the credit grant can apply to.
Instance Method Summary collapse
-
#initialize(price_type: nil, prices: nil) ⇒ ApplicabilityScope
constructor
A new instance of ApplicabilityScope.
Methods inherited from RequestParams
Constructor Details
#initialize(price_type: nil, prices: nil) ⇒ ApplicabilityScope
Returns a new instance of ApplicabilityScope.
22 23 24 25 |
# File 'lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb', line 22 def initialize(price_type: nil, prices: nil) @price_type = price_type @prices = prices end |
Instance Attribute Details
#price_type ⇒ Object
The price type that credit grants can apply to. We currently only support the ‘metered` price type. Cannot be used in combination with `prices`.
18 19 20 |
# File 'lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb', line 18 def price_type @price_type end |
#prices ⇒ Object
A list of prices that the credit grant can apply to. We currently only support the ‘metered` prices. Cannot be used in combination with `price_type`.
20 21 22 |
# File 'lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb', line 20 def prices @prices end |