Class: Stripe::V2::Billing::IntentCreateParams::Action::Subscribe::PricingPlanSubscriptionDetails

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/v2/billing/intent_create_params.rb

Defined Under Namespace

Classes: ComponentConfiguration, Overrides

Instance Attribute Summary collapse

Instance Method Summary collapse

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.



489
490
491
492
493
494
495
496
497
498
499
500
501
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 489

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_configurationsObject

Configurations for the components of the pricing plan.



479
480
481
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 479

def component_configurations
  @component_configurations
end

#metadataObject

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.



481
482
483
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 481

def 
  @metadata
end

#overridesObject

Configurations for overriding behaviors related to the subscription.



483
484
485
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 483

def overrides
  @overrides
end

#pricing_planObject

ID of the Pricing Plan to subscribe to.



485
486
487
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 485

def pricing_plan
  @pricing_plan
end

#pricing_plan_versionObject

Version of the Pricing Plan to use.



487
488
489
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 487

def pricing_plan_version
  @pricing_plan_version
end