Class: Stripe::V2::Billing::IntentCreateParams::Action::Modify

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

Defined Under Namespace

Classes: EffectiveAt, PricingPlanSubscriptionDetails

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(collect_at: nil, effective_at: nil, pricing_plan_subscription_details: nil, type: nil) ⇒ Modify

Returns a new instance of Modify.



363
364
365
366
367
368
369
370
371
372
373
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 363

def initialize(
  collect_at: nil,
  effective_at: nil,
  pricing_plan_subscription_details: nil,
  type: nil
)
  @collect_at = collect_at
  @effective_at = effective_at
  @pricing_plan_subscription_details = pricing_plan_subscription_details
  @type = type
end

Instance Attribute Details

#collect_atObject

When the invoice will be collected. If not specified, the default behavior is next_billing_date.



355
356
357
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 355

def collect_at
  @collect_at
end

#effective_atObject

When the modify action will take effect. If not specified, the default behavior is on_reserve.



357
358
359
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 357

def effective_at
  @effective_at
end

#pricing_plan_subscription_detailsObject

Details for modifying a pricing plan subscription.



359
360
361
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 359

def pricing_plan_subscription_details
  @pricing_plan_subscription_details
end

#typeObject

Type of the action details.



361
362
363
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 361

def type
  @type
end