Class: Stripe::BillingPortal::Configuration::UpdateParams::LoginPage

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/resources/billing_portal/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(enabled: nil) ⇒ LoginPage

Returns a new instance of LoginPage.



506
507
508
# File 'lib/stripe/resources/billing_portal/configuration.rb', line 506

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

Instance Attribute Details

#enabledObject

Set to ‘true` to generate a shareable URL [`login_page.url`](stripe.com/docs/api/customer_portal/configuration#portal_configuration_object-login_page-url) that will take your customers to a hosted login page for the customer portal.

Set to ‘false` to deactivate the `login_page.url`.



504
505
506
# File 'lib/stripe/resources/billing_portal/configuration.rb', line 504

def enabled
  @enabled
end