Class: Stripe::SubscriptionSchedule::AmendParams::Prebilling::BillFrom::AmendmentStart

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/resources/subscription_schedule.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.



2233
2234
2235
# File 'lib/stripe/resources/subscription_schedule.rb', line 2233

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.



2231
2232
2233
# File 'lib/stripe/resources/subscription_schedule.rb', line 2231

def index
  @index
end