Class: Stripe::Invoice::ListUpcomingLineItemsParams::SubscriptionDetails::Prebilling

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/resources/invoice.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(iterations: nil) ⇒ Prebilling

Returns a new instance of Prebilling.



5235
5236
5237
# File 'lib/stripe/resources/invoice.rb', line 5235

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

Instance Attribute Details

#iterationsObject

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



5233
5234
5235
# File 'lib/stripe/resources/invoice.rb', line 5233

def iterations
  @iterations
end