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
Allows users to override the partial period behavior.
-
#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.
312 313 314 315 316 317 318 319 320 321 322 323 324 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 312 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.
302 303 304 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 302 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.
304 305 306 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 304 def @metadata end |
#overrides ⇒ Object
Allows users to override the partial period behavior.
306 307 308 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 306 def overrides @overrides end |
#pricing_plan ⇒ Object
ID of the Pricing Plan to subscribe to.
308 309 310 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 308 def pricing_plan @pricing_plan end |
#pricing_plan_version ⇒ Object
Version of the Pricing Plan to use.
310 311 312 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 310 def pricing_plan_version @pricing_plan_version end |