Class: Stripe::PaymentLink::UpdateParams::AfterCompletion::HostedConfirmation

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/resources/payment_link.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(custom_message: nil) ⇒ HostedConfirmation

Returns a new instance of HostedConfirmation.



1015
1016
1017
# File 'lib/stripe/resources/payment_link.rb', line 1015

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

Instance Attribute Details

#custom_messageObject

A custom message to display to the customer after the purchase is complete.



1013
1014
1015
# File 'lib/stripe/resources/payment_link.rb', line 1013

def custom_message
  @custom_message
end