Class: Stripe::SubscriptionScheduleCreateParams::PauseSchedule::Pause
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::SubscriptionScheduleCreateParams::PauseSchedule::Pause
- Defined in:
- lib/stripe/params/subscription_schedule_create_params.rb
Defined Under Namespace
Instance Attribute Summary collapse
-
#pause_at ⇒ Object
When to pause the subscription.
-
#settings ⇒ Object
Settings controlling billing behavior during the pause.
Instance Method Summary collapse
-
#initialize(pause_at: nil, settings: nil) ⇒ Pause
constructor
A new instance of Pause.
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_at ⇒ Object
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 |
#settings ⇒ Object
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 |