Class: Stripe::BillingPortal::SessionCreateParams::FlowData::AfterCompletion::Redirect

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/billing_portal/session_create_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(return_url: nil) ⇒ Redirect

Returns a new instance of Redirect.



22
23
24
# File 'lib/stripe/params/billing_portal/session_create_params.rb', line 22

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

Instance Attribute Details

#return_urlObject

The URL the customer will be redirected to after the flow is completed.



20
21
22
# File 'lib/stripe/params/billing_portal/session_create_params.rb', line 20

def return_url
  @return_url
end