Class: Stripe::AccountSessionCreateParams::Components::FinancialAccount

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



166
167
168
169
# File 'lib/stripe/params/account_session_create_params.rb', line 166

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

Instance Attribute Details

#enabledObject

Whether the embedded component is enabled.



162
163
164
# File 'lib/stripe/params/account_session_create_params.rb', line 162

def enabled
  @enabled
end

#featuresObject

The list of features enabled in the embedded component.



164
165
166
# File 'lib/stripe/params/account_session_create_params.rb', line 164

def features
  @features
end