Class: Stripe::Invoice::CreatePreviewParams::ScheduleDetails::Prebilling::BillUntil::AmendmentEnd
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Invoice::CreatePreviewParams::ScheduleDetails::Prebilling::BillUntil::AmendmentEnd
- Defined in:
- lib/stripe/resources/invoice.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
Constructor Details
#initialize(index: nil) ⇒ AmendmentEnd
Returns a new instance of AmendmentEnd.
3835 3836 3837 |
# File 'lib/stripe/resources/invoice.rb', line 3835 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.
3833 3834 3835 |
# File 'lib/stripe/resources/invoice.rb', line 3833 def index @index end |