Class: Stripe::FinancialConnections::Session::CreateParams::AccountHolder
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::FinancialConnections::Session::CreateParams::AccountHolder
- Defined in:
- lib/stripe/resources/financial_connections/session.rb
Instance Attribute Summary collapse
-
#account ⇒ Object
The ID of the Stripe account whose accounts will be retrieved.
-
#customer ⇒ Object
The ID of the Stripe customer whose accounts will be retrieved.
-
#type ⇒ Object
Type of account holder to collect accounts for.
Instance Method Summary collapse
-
#initialize(account: nil, customer: nil, type: nil) ⇒ AccountHolder
constructor
A new instance of AccountHolder.
Methods inherited from RequestParams
Constructor Details
#initialize(account: nil, customer: nil, type: nil) ⇒ AccountHolder
Returns a new instance of AccountHolder.
40 41 42 43 44 |
# File 'lib/stripe/resources/financial_connections/session.rb', line 40 def initialize(account: nil, customer: nil, type: nil) @account = account @customer = customer @type = type end |
Instance Attribute Details
#account ⇒ Object
The ID of the Stripe account whose accounts will be retrieved. Should only be present if ‘type` is `account`.
34 35 36 |
# File 'lib/stripe/resources/financial_connections/session.rb', line 34 def account @account end |
#customer ⇒ Object
The ID of the Stripe customer whose accounts will be retrieved. Should only be present if ‘type` is `customer`.
36 37 38 |
# File 'lib/stripe/resources/financial_connections/session.rb', line 36 def customer @customer end |
#type ⇒ Object
Type of account holder to collect accounts for.
38 39 40 |
# File 'lib/stripe/resources/financial_connections/session.rb', line 38 def type @type end |