Class: Stripe::SubscriptionScheduleService::AmendParams::Prebilling::BillFrom::AmendmentStart

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(index: nil) ⇒ AmendmentStart

Returns a new instance of AmendmentStart.



1914
1915
1916
# File 'lib/stripe/services/subscription_schedule_service.rb', line 1914

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

Instance Attribute Details

#indexObject

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



1912
1913
1914
# File 'lib/stripe/services/subscription_schedule_service.rb', line 1912

def index
  @index
end