Class: Stripe::InvoiceUpcomingLinesService::ListParams::ScheduleDetails::Phase::PauseCollection

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/invoice_upcoming_lines_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.



1160
1161
1162
# File 'lib/stripe/services/invoice_upcoming_lines_service.rb', line 1160

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



1158
1159
1160
# File 'lib/stripe/services/invoice_upcoming_lines_service.rb', line 1158

def behavior
  @behavior
end