Class: Stripe::AccountSessionService::CreateParams::Components::AccountManagement

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/account_session_service.rb

Defined Under Namespace

Classes: Features

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(enabled: nil, features: nil) ⇒ AccountManagement

Returns a new instance of AccountManagement.



30
31
32
33
# File 'lib/stripe/services/account_session_service.rb', line 30

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

Instance Attribute Details

#enabledObject

Whether the embedded component is enabled.



25
26
27
# File 'lib/stripe/services/account_session_service.rb', line 25

def enabled
  @enabled
end

#featuresObject

The list of features enabled in the embedded component.



28
29
30
# File 'lib/stripe/services/account_session_service.rb', line 28

def features
  @features
end