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.



1759
1760
1761
# File 'lib/stripe/params/invoice_create_preview_params.rb', line 1759

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

Instance Attribute Details

#iterationsObject

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



1757
1758
1759
# File 'lib/stripe/params/invoice_create_preview_params.rb', line 1757

def iterations
  @iterations
end