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

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(id: nil) ⇒ Price

Returns a new instance of Price.



92
93
94
# File 'lib/stripe/services/billing/credit_grant_service.rb', line 92

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

Instance Attribute Details

#idObject

The price ID this credit grant should apply to.



90
91
92
# File 'lib/stripe/services/billing/credit_grant_service.rb', line 90

def id
  @id
end