Class: Stripe::QuoteCreateParams::SubscriptionData::Prebilling

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/quote_create_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

#initialize(iterations: nil) ⇒ Prebilling

Returns a new instance of Prebilling.



836
837
838
# File 'lib/stripe/params/quote_create_params.rb', line 836

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

Instance Attribute Details

#iterationsObject

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



834
835
836
# File 'lib/stripe/params/quote_create_params.rb', line 834

def iterations
  @iterations
end