Class: Stripe::PaymentLinkService::CreateParams::AfterCompletion::HostedConfirmation

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



40
41
42
# File 'lib/stripe/services/payment_link_service.rb', line 40

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.



38
39
40
# File 'lib/stripe/services/payment_link_service.rb', line 38

def custom_message
  @custom_message
end