Class: Stripe::PaymentLinkService::CreateParams::AfterCompletion::Redirect
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentLinkService::CreateParams::AfterCompletion::Redirect
- Defined in:
- lib/stripe/services/payment_link_service.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.
49 50 51 |
# File 'lib/stripe/services/payment_link_service.rb', line 49 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.
47 48 49 |
# File 'lib/stripe/services/payment_link_service.rb', line 47 def url @url end |