Class: Stripe::Checkout::Session::CreateParams::CustomText::TermsOfServiceAcceptance

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(message: nil) ⇒ TermsOfServiceAcceptance

Returns a new instance of TermsOfServiceAcceptance.



1571
1572
1573
# File 'lib/stripe/resources/checkout/session.rb', line 1571

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

Instance Attribute Details

#messageObject

Text may be up to 1200 characters in length.



1569
1570
1571
# File 'lib/stripe/resources/checkout/session.rb', line 1569

def message
  @message
end