Class: Stripe::V2::Billing::IntentCreateParams::Action::Subscribe
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Billing::IntentCreateParams::Action::Subscribe
- Defined in:
- lib/stripe/params/v2/billing/intent_create_params.rb
Defined Under Namespace
Classes: EffectiveAt, PricingPlanSubscriptionDetails, V1SubscriptionDetails
Instance Attribute Summary collapse
-
#collect_at ⇒ Object
Allows users to override the collect at behavior.
-
#effective_at ⇒ Object
When the subscribe action will take effect.
-
#pricing_plan_subscription_details ⇒ Object
Details for subscribing to a pricing plan.
-
#type ⇒ Object
Type of the action details.
-
#v1_subscription_details ⇒ Object
Details for subscribing to a v1 subscription.
Instance Method Summary collapse
-
#initialize(collect_at: nil, effective_at: nil, type: nil, pricing_plan_subscription_details: nil, v1_subscription_details: nil) ⇒ Subscribe
constructor
A new instance of Subscribe.
Methods inherited from RequestParams
Constructor Details
#initialize(collect_at: nil, effective_at: nil, type: nil, pricing_plan_subscription_details: nil, v1_subscription_details: nil) ⇒ Subscribe
Returns a new instance of Subscribe.
476 477 478 479 480 481 482 483 484 485 486 487 488 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 476 def initialize( collect_at: nil, effective_at: nil, type: nil, pricing_plan_subscription_details: nil, v1_subscription_details: nil ) @collect_at = collect_at @effective_at = effective_at @type = type @pricing_plan_subscription_details = pricing_plan_subscription_details @v1_subscription_details = v1_subscription_details end |
Instance Attribute Details
#collect_at ⇒ Object
Allows users to override the collect at behavior.
466 467 468 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 466 def collect_at @collect_at end |
#effective_at ⇒ Object
When the subscribe action will take effect. If not specified, the default behavior is on_reserve.
468 469 470 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 468 def effective_at @effective_at end |
#pricing_plan_subscription_details ⇒ Object
Details for subscribing to a pricing plan.
472 473 474 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 472 def pricing_plan_subscription_details @pricing_plan_subscription_details end |
#type ⇒ Object
Type of the action details.
470 471 472 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 470 def type @type end |
#v1_subscription_details ⇒ Object
Details for subscribing to a v1 subscription.
474 475 476 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 474 def v1_subscription_details @v1_subscription_details end |