Class: Stripe::InvoiceCreatePreviewParams::ScheduleDetails::Amendment::SetPauseCollection

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/invoice_create_preview_params.rb

Defined Under Namespace

Classes: Set

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

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

Returns a new instance of SetPauseCollection.



762
763
764
765
# File 'lib/stripe/params/invoice_create_preview_params.rb', line 762

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.



758
759
760
# File 'lib/stripe/params/invoice_create_preview_params.rb', line 758

def set
  @set
end

#typeObject

Determines the type of the pause_collection amendment.



760
761
762
# File 'lib/stripe/params/invoice_create_preview_params.rb', line 760

def type
  @type
end