Class: Stripe::Billing::CreditBalanceSummaryRetrieveParams::Filter::ApplicabilityScope

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb

Defined Under Namespace

Classes: Price

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

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_typeObject

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

#pricesObject

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