Class: Stripe::InvoiceCreatePreviewParams::SubscriptionDetails::Prebilling

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



2211
2212
2213
# File 'lib/stripe/params/invoice_create_preview_params.rb', line 2211

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

Instance Attribute Details

#iterationsObject

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



2209
2210
2211
# File 'lib/stripe/params/invoice_create_preview_params.rb', line 2209

def iterations
  @iterations
end