Class: Stripe::SubscriptionScheduleService::UpdateParams::Phase::TrialSettings::EndBehavior

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(prorate_up_front: nil) ⇒ EndBehavior

Returns a new instance of EndBehavior.



1207
1208
1209
# File 'lib/stripe/services/subscription_schedule_service.rb', line 1207

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

Instance Attribute Details

#prorate_up_frontObject

Configure how an opt-in following a paid trial is billed when using ‘billing_behavior: prorate_up_front`.



1205
1206
1207
# File 'lib/stripe/services/subscription_schedule_service.rb', line 1205

def prorate_up_front
  @prorate_up_front
end