Class: Stripe::BillingPortal::ConfigurationService::CreateParams::LoginPage

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/billing_portal/configuration_service.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.



203
204
205
# File 'lib/stripe/services/billing_portal/configuration_service.rb', line 203

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.



201
202
203
# File 'lib/stripe/services/billing_portal/configuration_service.rb', line 201

def enabled
  @enabled
end