Class: Stripe::V2::Billing::IntentCreateParams::Action::Subscribe::PricingPlanSubscriptionDetails
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Billing::IntentCreateParams::Action::Subscribe::PricingPlanSubscriptionDetails
- Defined in:
- lib/stripe/params/v2/billing/intent_create_params.rb
Defined Under Namespace
Classes: ComponentConfiguration, Overrides
Instance Attribute Summary collapse
-
#component_configurations ⇒ Object
Configurations for the components of the pricing plan.
-
#metadata ⇒ Object
Set of [key-value pairs](/docs/api/metadata) that you can attach to an object.
-
#overrides ⇒ Object
Configurations for overriding behaviors related to the subscription.
-
#pricing_plan ⇒ Object
ID of the Pricing Plan to subscribe to.
-
#pricing_plan_version ⇒ Object
Version of the Pricing Plan to use.
Instance Method Summary collapse
-
#initialize(component_configurations: nil, metadata: nil, overrides: nil, pricing_plan: nil, pricing_plan_version: nil) ⇒ PricingPlanSubscriptionDetails
constructor
A new instance of PricingPlanSubscriptionDetails.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(component_configurations: nil, metadata: nil, overrides: nil, pricing_plan: nil, pricing_plan_version: nil) ⇒ PricingPlanSubscriptionDetails
Returns a new instance of PricingPlanSubscriptionDetails.
486 487 488 489 490 491 492 493 494 495 496 497 498 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 486 def initialize( component_configurations: nil, metadata: nil, overrides: nil, pricing_plan: nil, pricing_plan_version: nil ) @component_configurations = component_configurations @metadata = @overrides = overrides @pricing_plan = pricing_plan @pricing_plan_version = pricing_plan_version end |
Instance Attribute Details
#component_configurations ⇒ Object
Configurations for the components of the pricing plan.
476 477 478 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 476 def component_configurations @component_configurations end |
#metadata ⇒ Object
Set of [key-value pairs](/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
478 479 480 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 478 def @metadata end |
#overrides ⇒ Object
Configurations for overriding behaviors related to the subscription.
480 481 482 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 480 def overrides @overrides end |
#pricing_plan ⇒ Object
ID of the Pricing Plan to subscribe to.
482 483 484 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 482 def pricing_plan @pricing_plan end |
#pricing_plan_version ⇒ Object
Version of the Pricing Plan to use.
484 485 486 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 484 def pricing_plan_version @pricing_plan_version end |