Class: Stripe::V2::Billing::IntentCreateParams::Action::Modify::PricingPlanSubscriptionDetails::ComponentConfiguration
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Billing::IntentCreateParams::Action::Modify::PricingPlanSubscriptionDetails::ComponentConfiguration
- Defined in:
- lib/stripe/params/v2/billing/intent_create_params.rb
Instance Attribute Summary collapse
-
#lookup_key ⇒ Object
Lookup key for the pricing plan component.
-
#pricing_plan_component ⇒ Object
ID of the pricing plan component.
-
#quantity ⇒ Object
Quantity of the component to be used.
Instance Method Summary collapse
-
#initialize(lookup_key: nil, pricing_plan_component: nil, quantity: nil) ⇒ ComponentConfiguration
constructor
A new instance of ComponentConfiguration.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(lookup_key: nil, pricing_plan_component: nil, quantity: nil) ⇒ ComponentConfiguration
Returns a new instance of ComponentConfiguration.
283 284 285 286 287 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 283 def initialize(lookup_key: nil, pricing_plan_component: nil, quantity: nil) @lookup_key = lookup_key @pricing_plan_component = pricing_plan_component @quantity = quantity end |
Instance Attribute Details
#lookup_key ⇒ Object
Lookup key for the pricing plan component.
277 278 279 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 277 def lookup_key @lookup_key end |
#pricing_plan_component ⇒ Object
ID of the pricing plan component.
279 280 281 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 279 def pricing_plan_component @pricing_plan_component end |
#quantity ⇒ Object
Quantity of the component to be used.
281 282 283 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 281 def quantity @quantity end |