Class: Stripe::Invoice::CreatePreviewParams::ScheduleDetails::Prebilling::BillUntil::AmendmentEnd

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(index: nil) ⇒ AmendmentEnd

Returns a new instance of AmendmentEnd.



3939
3940
3941
# File 'lib/stripe/resources/invoice.rb', line 3939

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

Instance Attribute Details

#indexObject

The position of the amendment in the ‘amendments` array at which prebilling should end. Indexes start from 0 and must be less than the total number of supplied amendments.



3937
3938
3939
# File 'lib/stripe/resources/invoice.rb', line 3937

def index
  @index
end