Class: Stripe::SubscriptionScheduleCreateParams::PauseSchedule::Pause

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

Defined Under Namespace

Classes: PauseAt, Settings

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

#initialize(pause_at: nil, settings: nil) ⇒ Pause

Returns a new instance of Pause.



290
291
292
293
# File 'lib/stripe/params/subscription_schedule_create_params.rb', line 290

def initialize(pause_at: nil, settings: nil)
  @pause_at = pause_at
  @settings = settings
end

Instance Attribute Details

#pause_atObject

When to pause the subscription.



286
287
288
# File 'lib/stripe/params/subscription_schedule_create_params.rb', line 286

def pause_at
  @pause_at
end

#settingsObject

Settings controlling billing behavior during the pause.



288
289
290
# File 'lib/stripe/params/subscription_schedule_create_params.rb', line 288

def settings
  @settings
end