Class: Stripe::InvoiceCreatePreviewParams::ScheduleDetails::Prebilling

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

Defined Under Namespace

Classes: BillUntil

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(bill_until: nil, iterations: nil) ⇒ Prebilling

Returns a new instance of Prebilling.



1491
1492
1493
1494
# File 'lib/stripe/params/invoice_create_preview_params.rb', line 1491

def initialize(bill_until: nil, iterations: nil)
  @bill_until = bill_until
  @iterations = iterations
end

Instance Attribute Details

#bill_untilObject

The end of the prebilled time period.



1487
1488
1489
# File 'lib/stripe/params/invoice_create_preview_params.rb', line 1487

def bill_until
  @bill_until
end

#iterationsObject

This is used to determine the number of billing cycles to prebill.



1489
1490
1491
# File 'lib/stripe/params/invoice_create_preview_params.rb', line 1489

def iterations
  @iterations
end