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.



1676
1677
1678
# File 'lib/stripe/params/invoice_create_preview_params.rb', line 1676

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

Instance Attribute Details

#iterationsObject

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



1674
1675
1676
# File 'lib/stripe/params/invoice_create_preview_params.rb', line 1674

def iterations
  @iterations
end