Class: Stripe::Invoice::CreatePreviewParams::ScheduleDetails::Prebilling

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/resources/invoice.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.



3976
3977
3978
3979
# File 'lib/stripe/resources/invoice.rb', line 3976

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.



3972
3973
3974
# File 'lib/stripe/resources/invoice.rb', line 3972

def bill_until
  @bill_until
end

#iterationsObject

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



3974
3975
3976
# File 'lib/stripe/resources/invoice.rb', line 3974

def iterations
  @iterations
end