Class: Stripe::QuoteCreateParams::Line::TrialSettings::EndBehavior

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(prorate_up_front: nil) ⇒ EndBehavior

Returns a new instance of EndBehavior.



757
758
759
# File 'lib/stripe/params/quote_create_params.rb', line 757

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

Instance Attribute Details

#prorate_up_frontObject

Configure how an opt-in following a paid trial is billed when using billing_behavior: prorate_up_front.



755
756
757
# File 'lib/stripe/params/quote_create_params.rb', line 755

def prorate_up_front
  @prorate_up_front
end