Class: Stripe::SubscriptionSchedule::UpdateParams::Phase::PauseCollection

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/resources/subscription_schedule.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(behavior: nil) ⇒ PauseCollection

Returns a new instance of PauseCollection.



2035
2036
2037
# File 'lib/stripe/resources/subscription_schedule.rb', line 2035

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

Instance Attribute Details

#behaviorObject

The payment collection behavior for this subscription while paused. One of ‘keep_as_draft`, `mark_uncollectible`, or `void`.



2033
2034
2035
# File 'lib/stripe/resources/subscription_schedule.rb', line 2033

def behavior
  @behavior
end