Class: Stripe::SubscriptionScheduleReleaseParams

Inherits:
RequestParams show all
Defined in:
lib/stripe/params/subscription_schedule_release_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(expand: nil, preserve_cancel_date: nil) ⇒ SubscriptionScheduleReleaseParams

Returns a new instance of SubscriptionScheduleReleaseParams.



11
12
13
14
# File 'lib/stripe/params/subscription_schedule_release_params.rb', line 11

def initialize(expand: nil, preserve_cancel_date: nil)
  @expand = expand
  @preserve_cancel_date = preserve_cancel_date
end

Instance Attribute Details

#expandObject

Specifies which fields in the response should be expanded.



7
8
9
# File 'lib/stripe/params/subscription_schedule_release_params.rb', line 7

def expand
  @expand
end

#preserve_cancel_dateObject

Keep any cancellation on the subscription that the schedule has set



9
10
11
# File 'lib/stripe/params/subscription_schedule_release_params.rb', line 9

def preserve_cancel_date
  @preserve_cancel_date
end