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, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

#initialize(message: nil) ⇒ TermsOfServiceAcceptance

Returns a new instance of TermsOfServiceAcceptance.



375
376
377
# File 'lib/stripe/params/checkout/session_create_params.rb', line 375

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

Instance Attribute Details

#messageObject

Text can be up to 1200 characters in length.



373
374
375
# File 'lib/stripe/params/checkout/session_create_params.rb', line 373

def message
  @message
end