Class: Stripe::V2::Billing::ContractCreateParams::ContractLine::Override::ServiceAction::Add::CreditGrant::ApplicabilityConfig

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

Defined Under Namespace

Classes: Scope

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

#initialize(scope: nil) ⇒ ApplicabilityConfig

Returns a new instance of ApplicabilityConfig.



156
157
158
# File 'lib/stripe/params/v2/billing/contract_create_params.rb', line 156

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

Instance Attribute Details

#scopeObject

The applicability scope of the credit grant.



154
155
156
# File 'lib/stripe/params/v2/billing/contract_create_params.rb', line 154

def scope
  @scope
end