Class: Stripe::Quote::UpdateParams::Line::TrialSettings

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/resources/quote.rb

Defined Under Namespace

Classes: EndBehavior

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(end_behavior: nil) ⇒ TrialSettings

Returns a new instance of TrialSettings.



2418
2419
2420
# File 'lib/stripe/resources/quote.rb', line 2418

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

Instance Attribute Details

#end_behaviorObject

Defines how the subscription should behave when a trial ends.



2416
2417
2418
# File 'lib/stripe/resources/quote.rb', line 2416

def end_behavior
  @end_behavior
end