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.



809
810
811
# File 'lib/stripe/params/quote_create_params.rb', line 809

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

Instance Attribute Details

#iterationsObject

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



807
808
809
# File 'lib/stripe/params/quote_create_params.rb', line 807

def iterations
  @iterations
end