Class: Stripe::Invoice::ListUpcomingLineItemsParams::SubscriptionPrebilling

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) ⇒ SubscriptionPrebilling

Returns a new instance of SubscriptionPrebilling.



5441
5442
5443
# File 'lib/stripe/resources/invoice.rb', line 5441

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

Instance Attribute Details

#iterationsObject

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



5439
5440
5441
# File 'lib/stripe/resources/invoice.rb', line 5439

def iterations
  @iterations
end