Class: Stripe::V2::Billing::IntentCreateParams::Action::Subscribe::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

#to_h

Constructor Details

#initialize(quantity: nil, lookup_key: nil, pricing_plan_component: nil) ⇒ ComponentConfiguration

Returns a new instance of ComponentConfiguration.



267
268
269
270
271
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 267

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.



263
264
265
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 263

def lookup_key
  @lookup_key
end

#pricing_plan_componentObject

ID of the pricing plan component.



265
266
267
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 265

def pricing_plan_component
  @pricing_plan_component
end

#quantityObject

Quantity of the component to be used.



261
262
263
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 261

def quantity
  @quantity
end