Class: Stripe::InvoiceService::CreatePreviewParams::ScheduleDetails::Amendment::SetPauseCollection

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/invoice_service.rb

Defined Under Namespace

Classes: Set

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(set: nil, type: nil) ⇒ SetPauseCollection

Returns a new instance of SetPauseCollection.



2854
2855
2856
2857
# File 'lib/stripe/services/invoice_service.rb', line 2854

def initialize(set: nil, type: nil)
  @set = set
  @type = type
end

Instance Attribute Details

#setObject

Details of the pause_collection behavior to apply to the amendment.



2850
2851
2852
# File 'lib/stripe/services/invoice_service.rb', line 2850

def set
  @set
end

#typeObject

Determines the type of the pause_collection amendment.



2852
2853
2854
# File 'lib/stripe/services/invoice_service.rb', line 2852

def type
  @type
end