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.



2035
2036
2037
# File 'lib/stripe/services/subscription_schedule_service.rb', line 2035

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.



2033
2034
2035
# File 'lib/stripe/services/subscription_schedule_service.rb', line 2033

def end_behavior
  @end_behavior
end