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.



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

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

Instance Attribute Details

#enabledObject

Whether the embedded component is enabled.



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

def enabled
  @enabled
end

#featuresObject

The list of features enabled in the embedded component.



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

def features
  @features
end