Class: Stripe::SubscriptionScheduleAmendParams::Prebilling::BillFrom::AmendmentStart
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::SubscriptionScheduleAmendParams::Prebilling::BillFrom::AmendmentStart
- Defined in:
- lib/stripe/params/subscription_schedule_amend_params.rb
Instance Attribute Summary collapse
-
#index ⇒ Object
The position of the amendment in the ‘amendments` array with which prebilling should begin.
Instance Method Summary collapse
-
#initialize(index: nil) ⇒ AmendmentStart
constructor
A new instance of AmendmentStart.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(index: nil) ⇒ AmendmentStart
Returns a new instance of AmendmentStart.
472 473 474 |
# File 'lib/stripe/params/subscription_schedule_amend_params.rb', line 472 def initialize(index: nil) @index = index end |
Instance Attribute Details
#index ⇒ Object
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.
470 471 472 |
# File 'lib/stripe/params/subscription_schedule_amend_params.rb', line 470 def index @index end |