Class: Stripe::Checkout::SessionCreateParams::CustomText::TermsOfServiceAcceptance

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/checkout/session_create_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, new, #to_h

Constructor Details

#initialize(message: nil) ⇒ TermsOfServiceAcceptance

Returns a new instance of TermsOfServiceAcceptance.



360
361
362
# File 'lib/stripe/params/checkout/session_create_params.rb', line 360

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

Instance Attribute Details

#messageObject

Text can be up to 1200 characters in length.



358
359
360
# File 'lib/stripe/params/checkout/session_create_params.rb', line 358

def message
  @message
end