Class: Stripe::Billing::CreditGrantService::CreateParams::ApplicabilityConfig::Scope

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/billing/credit_grant_service.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.



69
70
71
# File 'lib/stripe/services/billing/credit_grant_service.rb', line 69

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.



67
68
69
# File 'lib/stripe/services/billing/credit_grant_service.rb', line 67

def price_type
  @price_type
end