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.



1824
1825
1826
# File 'lib/stripe/services/subscription_schedule_service.rb', line 1824

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.



1822
1823
1824
# File 'lib/stripe/services/subscription_schedule_service.rb', line 1822

def index
  @index
end