Class: Stripe::InvoiceUpcomingLinesService::ListParams::ScheduleDetails::Prebilling::BillUntil::AmendmentEnd

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(index: nil) ⇒ AmendmentEnd

Returns a new instance of AmendmentEnd.



1492
1493
1494
# File 'lib/stripe/services/invoice_upcoming_lines_service.rb', line 1492

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.



1490
1491
1492
# File 'lib/stripe/services/invoice_upcoming_lines_service.rb', line 1490

def index
  @index
end