Class: Stripe::SubscriptionScheduleService::AmendParams::ScheduleSettings

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/subscription_schedule_service.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(end_behavior: nil) ⇒ ScheduleSettings

Returns a new instance of ScheduleSettings.



2003
2004
2005
# File 'lib/stripe/services/subscription_schedule_service.rb', line 2003

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

Instance Attribute Details

#end_behaviorObject

Behavior of the subscription schedule and underlying subscription when it ends.



2001
2002
2003
# File 'lib/stripe/services/subscription_schedule_service.rb', line 2001

def end_behavior
  @end_behavior
end