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(quantity: nil, lookup_key: nil, pricing_plan_component: nil) ⇒ ComponentConfiguration
constructor
A new instance of ComponentConfiguration.
Methods inherited from RequestParams
Constructor Details
#initialize(quantity: nil, lookup_key: nil, pricing_plan_component: nil) ⇒ ComponentConfiguration
Returns a new instance of ComponentConfiguration.
149 150 151 152 153 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 149 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_key ⇒ Object
Lookup key for the pricing plan component.
145 146 147 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 145 def lookup_key @lookup_key end |
#pricing_plan_component ⇒ Object
ID of the pricing plan component.
147 148 149 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 147 def pricing_plan_component @pricing_plan_component end |
#quantity ⇒ Object
Quantity of the component to be used.
143 144 145 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 143 def quantity @quantity end |