Class: Stripe::InvoiceService::CreatePreviewParams::ScheduleDetails::Prebilling

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/invoice_service.rb

Defined Under Namespace

Classes: BillUntil

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(bill_until: nil, iterations: nil) ⇒ Prebilling

Returns a new instance of Prebilling.



3406
3407
3408
3409
# File 'lib/stripe/services/invoice_service.rb', line 3406

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.



3402
3403
3404
# File 'lib/stripe/services/invoice_service.rb', line 3402

def bill_until
  @bill_until
end

#iterationsObject

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



3404
3405
3406
# File 'lib/stripe/services/invoice_service.rb', line 3404

def iterations
  @iterations
end