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, discriminator, discriminator_fields, field_encodings, new, #to_h
Constructor Details
#initialize(pause_at: nil, settings: nil) ⇒ Pause
234 235 236 237 |
# File 'lib/stripe/params/subscription_schedule_create_params.rb', line 234 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.
230 231 232 |
# File 'lib/stripe/params/subscription_schedule_create_params.rb', line 230 def pause_at @pause_at end |
#settings ⇒ Object
Settings controlling billing behavior during the pause.
232 233 234 |
# File 'lib/stripe/params/subscription_schedule_create_params.rb', line 232 def settings @settings end |