Class: Stripe::PaymentLinkCreateParams::AfterCompletion::Redirect
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentLinkCreateParams::AfterCompletion::Redirect
- Defined in:
- lib/stripe/params/payment_link_create_params.rb
Instance Attribute Summary collapse
-
#url ⇒ Object
The URL the customer will be redirected to after the purchase is complete.
Instance Method Summary collapse
-
#initialize(url: nil) ⇒ Redirect
constructor
A new instance of Redirect.
Methods inherited from RequestParams
Constructor Details
#initialize(url: nil) ⇒ Redirect
Returns a new instance of Redirect.
20 21 22 |
# File 'lib/stripe/params/payment_link_create_params.rb', line 20 def initialize(url: nil) @url = url end |
Instance Attribute Details
#url ⇒ Object
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.
18 19 20 |
# File 'lib/stripe/params/payment_link_create_params.rb', line 18 def url @url end |