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.
328 329 330 331 332 333 334 335 336 337 338 339 340 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 328 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.
318 319 320 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 318 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.
320 321 322 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 320 def @metadata end |
#overrides ⇒ Object
Allows users to override the partial period behavior.
322 323 324 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 322 def overrides @overrides end |
#pricing_plan ⇒ Object
ID of the Pricing Plan to subscribe to.
324 325 326 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 324 def pricing_plan @pricing_plan end |
#pricing_plan_version ⇒ Object
Version of the Pricing Plan to use.
326 327 328 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 326 def pricing_plan_version @pricing_plan_version end |