Class: Stripe::BillingPortal::Session::CreateParams::FlowData::AfterCompletion
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::BillingPortal::Session::CreateParams::FlowData::AfterCompletion
- Defined in:
- lib/stripe/resources/billing_portal/session.rb
Defined Under Namespace
Classes: HostedConfirmation, Redirect
Instance Attribute Summary collapse
-
#hosted_confirmation ⇒ Object
Configuration when ‘after_completion.type=hosted_confirmation`.
-
#redirect ⇒ Object
Configuration when ‘after_completion.type=redirect`.
-
#type ⇒ Object
The specified behavior after the flow is completed.
Instance Method Summary collapse
-
#initialize(hosted_confirmation: nil, redirect: nil, type: nil) ⇒ AfterCompletion
constructor
A new instance of AfterCompletion.
Methods inherited from RequestParams
Constructor Details
#initialize(hosted_confirmation: nil, redirect: nil, type: nil) ⇒ AfterCompletion
Returns a new instance of AfterCompletion.
224 225 226 227 228 |
# File 'lib/stripe/resources/billing_portal/session.rb', line 224 def initialize(hosted_confirmation: nil, redirect: nil, type: nil) @hosted_confirmation = hosted_confirmation @redirect = redirect @type = type end |
Instance Attribute Details
#hosted_confirmation ⇒ Object
Configuration when ‘after_completion.type=hosted_confirmation`.
218 219 220 |
# File 'lib/stripe/resources/billing_portal/session.rb', line 218 def hosted_confirmation @hosted_confirmation end |
#redirect ⇒ Object
Configuration when ‘after_completion.type=redirect`.
220 221 222 |
# File 'lib/stripe/resources/billing_portal/session.rb', line 220 def redirect @redirect end |
#type ⇒ Object
The specified behavior after the flow is completed.
222 223 224 |
# File 'lib/stripe/resources/billing_portal/session.rb', line 222 def type @type end |