Class: Stripe::SubscriptionScheduleAmendParams::Amendment::TrialSettings

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/subscription_schedule_amend_params.rb

Defined Under Namespace

Classes: EndBehavior

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(end_behavior: nil) ⇒ TrialSettings

Returns a new instance of TrialSettings.



635
636
637
# File 'lib/stripe/params/subscription_schedule_amend_params.rb', line 635

def initialize(end_behavior: nil)
  @end_behavior = end_behavior
end

Instance Attribute Details

#end_behaviorObject

Defines how the subscription should behave when a trial ends.



633
634
635
# File 'lib/stripe/params/subscription_schedule_amend_params.rb', line 633

def end_behavior
  @end_behavior
end