Class: Stripe::PaymentLink::UpdateParams::AfterCompletion::Redirect

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(url: nil) ⇒ Redirect

Returns a new instance of Redirect.



1099
1100
1101
# File 'lib/stripe/resources/payment_link.rb', line 1099

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

Instance Attribute Details

#urlObject

The URL the customer will be redirected to after the purchase is complete. You can embed ‘CHECKOUT_SESSION_ID` into the URL to have the `id` of the completed [checkout session](stripe.com/docs/api/checkout/sessions/object#checkout_session_object-id) included.



1097
1098
1099
# File 'lib/stripe/resources/payment_link.rb', line 1097

def url
  @url
end