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.



1423
1424
1425
# File 'lib/stripe/resources/checkout/session.rb', line 1423

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

Instance Attribute Details

#messageObject

Text may be up to 1200 characters in length.



1421
1422
1423
# File 'lib/stripe/resources/checkout/session.rb', line 1421

def message
  @message
end