Class: Stripe::AccountSession::CreateParams::Components::FinancialAccount

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/resources/account_session.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) ⇒ FinancialAccount

Returns a new instance of FinancialAccount.



393
394
395
396
# File 'lib/stripe/resources/account_session.rb', line 393

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

Instance Attribute Details

#enabledObject

Whether the embedded component is enabled.



389
390
391
# File 'lib/stripe/resources/account_session.rb', line 389

def enabled
  @enabled
end

#featuresObject

The list of features enabled in the embedded component.



391
392
393
# File 'lib/stripe/resources/account_session.rb', line 391

def features
  @features
end