Class: Stripe::Billing::CreditGrant::CreateParams::ApplicabilityConfig::Scope

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/resources/billing/credit_grant.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(price_type: nil) ⇒ Scope

Returns a new instance of Scope.



97
98
99
# File 'lib/stripe/resources/billing/credit_grant.rb', line 97

def initialize(price_type: nil)
  @price_type = price_type
end

Instance Attribute Details

#price_typeObject

The price type that credit grants can apply to. We currently only support the ‘metered` price type.



95
96
97
# File 'lib/stripe/resources/billing/credit_grant.rb', line 95

def price_type
  @price_type
end