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.



2098
2099
2100
# File 'lib/stripe/resources/subscription_schedule.rb', line 2098

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.



2096
2097
2098
# File 'lib/stripe/resources/subscription_schedule.rb', line 2096

def index
  @index
end