Class: Stripe::BillingPortal::ConfigurationCreateParams::LoginPage

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



190
191
192
# File 'lib/stripe/params/billing_portal/configuration_create_params.rb', line 190

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.



188
189
190
# File 'lib/stripe/params/billing_portal/configuration_create_params.rb', line 188

def enabled
  @enabled
end