Class: Stripe::SubscriptionScheduleAmendParams::Prebilling::BillUntil::AmendmentEnd

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/subscription_schedule_amend_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

#initialize(index: nil) ⇒ AmendmentEnd

Returns a new instance of AmendmentEnd.



495
496
497
# File 'lib/stripe/params/subscription_schedule_amend_params.rb', line 495

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.



493
494
495
# File 'lib/stripe/params/subscription_schedule_amend_params.rb', line 493

def index
  @index
end