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.



310
311
312
# File 'lib/stripe/services/checkout/session_service.rb', line 310

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

Instance Attribute Details

#messageObject

Text may be up to 1200 characters in length.



308
309
310
# File 'lib/stripe/services/checkout/session_service.rb', line 308

def message
  @message
end