Class: Stripe::Checkout::SessionService::CreateParams::CustomText::TermsOfServiceAcceptance

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/checkout/session_service.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.



314
315
316
# File 'lib/stripe/services/checkout/session_service.rb', line 314

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

Instance Attribute Details

#messageObject

Text may be up to 1200 characters in length.



312
313
314
# File 'lib/stripe/services/checkout/session_service.rb', line 312

def message
  @message
end