Class: Stripe::V2::Billing::IntentCreateParams::Action::Modify::PricingPlanSubscriptionDetails::ComponentConfiguration

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

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(quantity: nil, lookup_key: nil, pricing_plan_component: nil) ⇒ ComponentConfiguration

Returns a new instance of ComponentConfiguration.



280
281
282
283
284
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 280

def initialize(quantity: nil, lookup_key: nil, pricing_plan_component: nil)
  @quantity = quantity
  @lookup_key = lookup_key
  @pricing_plan_component = pricing_plan_component
end

Instance Attribute Details

#lookup_keyObject

Lookup key for the pricing plan component.



276
277
278
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 276

def lookup_key
  @lookup_key
end

#pricing_plan_componentObject

ID of the pricing plan component.



278
279
280
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 278

def pricing_plan_component
  @pricing_plan_component
end

#quantityObject

Quantity of the component to be used.



274
275
276
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 274

def quantity
  @quantity
end