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
Constructor Details
#initialize(component_configurations: nil, metadata: nil, overrides: nil, pricing_plan: nil, pricing_plan_version: nil) ⇒ PricingPlanSubscriptionDetails
Returns a new instance of PricingPlanSubscriptionDetails.
421 422 423 424 425 426 427 428 429 430 431 432 433 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 421 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.
411 412 413 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 411 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.
413 414 415 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 413 def @metadata end |
#overrides ⇒ Object
Configurations for overriding behaviors related to the subscription.
415 416 417 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 415 def overrides @overrides end |
#pricing_plan ⇒ Object
ID of the Pricing Plan to subscribe to.
417 418 419 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 417 def pricing_plan @pricing_plan end |
#pricing_plan_version ⇒ Object
Version of the Pricing Plan to use.
419 420 421 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 419 def pricing_plan_version @pricing_plan_version end |