Class: Stripe::SubscriptionScheduleService::CreateParams::Phase::PauseCollection

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(behavior: nil) ⇒ PauseCollection

Returns a new instance of PauseCollection.



604
605
606
# File 'lib/stripe/services/subscription_schedule_service.rb', line 604

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`.



602
603
604
# File 'lib/stripe/services/subscription_schedule_service.rb', line 602

def behavior
  @behavior
end