Class: Stripe::InvoiceCreatePreviewParams::ScheduleDetails::Prebilling::BillUntil::AmendmentEnd
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::InvoiceCreatePreviewParams::ScheduleDetails::Prebilling::BillUntil::AmendmentEnd
- Defined in:
- lib/stripe/params/invoice_create_preview_params.rb
Instance Attribute Summary collapse
-
#index ⇒ Object
The position of the amendment in the ‘amendments` array at which prebilling should end.
Instance Method Summary collapse
-
#initialize(index: nil) ⇒ AmendmentEnd
constructor
A new instance of AmendmentEnd.
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.
1450 1451 1452 |
# File 'lib/stripe/params/invoice_create_preview_params.rb', line 1450 def initialize(index: nil) @index = index end |
Instance Attribute Details
#index ⇒ Object
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.
1448 1449 1450 |
# File 'lib/stripe/params/invoice_create_preview_params.rb', line 1448 def index @index end |