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: BillingDetails, EffectiveAt, PricingPlanSubscriptionDetails, V1SubscriptionDetails
Instance Attribute Summary collapse
-
#billing_details ⇒ Object
Configuration for the billing details.
-
#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(billing_details: 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(billing_details: nil, effective_at: nil, type: nil, pricing_plan_subscription_details: nil, v1_subscription_details: nil) ⇒ Subscribe
Returns a new instance of Subscribe.
297 298 299 300 301 302 303 304 305 306 307 308 309 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 297 def initialize( billing_details: nil, effective_at: nil, type: nil, pricing_plan_subscription_details: nil, v1_subscription_details: nil ) @billing_details = billing_details @effective_at = effective_at @type = type @pricing_plan_subscription_details = pricing_plan_subscription_details @v1_subscription_details = v1_subscription_details end |
Instance Attribute Details
#billing_details ⇒ Object
Configuration for the billing details. If not specified, see the default behavior for individual attributes.
287 288 289 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 287 def billing_details @billing_details end |
#effective_at ⇒ Object
When the subscribe action will take effect. If not specified, the default behavior is on_reserve.
289 290 291 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 289 def effective_at @effective_at end |
#pricing_plan_subscription_details ⇒ Object
Details for subscribing to a pricing plan.
293 294 295 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 293 def pricing_plan_subscription_details @pricing_plan_subscription_details end |
#type ⇒ Object
Type of the action details.
291 292 293 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 291 def type @type end |
#v1_subscription_details ⇒ Object
Details for subscribing to a v1 subscription.
295 296 297 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 295 def v1_subscription_details @v1_subscription_details end |