Class: Stripe::Quote::CreateParams::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.



1198
1199
1200
# File 'lib/stripe/resources/quote.rb', line 1198

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.



1196
1197
1198
# File 'lib/stripe/resources/quote.rb', line 1196

def end_behavior
  @end_behavior
end