Class: Stripe::SubscriptionScheduleService::AmendParams::Prebilling::BillUntil::AmendmentEnd

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) ⇒ AmendmentEnd

Returns a new instance of AmendmentEnd.



2080
2081
2082
# File 'lib/stripe/services/subscription_schedule_service.rb', line 2080

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.



2078
2079
2080
# File 'lib/stripe/services/subscription_schedule_service.rb', line 2078

def index
  @index
end