Class: Stripe::FinancialConnections::SessionCreateParams::AccountHolder
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::FinancialConnections::SessionCreateParams::AccountHolder
- Defined in:
- lib/stripe/params/financial_connections/session_create_params.rb
Instance Attribute Summary collapse
-
#account ⇒ Object
The ID of the Stripe account whose accounts you will retrieve.
-
#customer ⇒ Object
The ID of the Stripe customer whose accounts you will retrieve.
-
#customer_account ⇒ Object
The ID of Account representing a customer whose accounts you will retrieve.
-
#type ⇒ Object
Type of account holder to collect accounts for.
Instance Method Summary collapse
-
#initialize(account: nil, customer: nil, customer_account: nil, type: nil) ⇒ AccountHolder
constructor
A new instance of AccountHolder.
Methods inherited from RequestParams
Constructor Details
#initialize(account: nil, customer: nil, customer_account: nil, type: nil) ⇒ AccountHolder
Returns a new instance of AccountHolder.
17 18 19 20 21 22 |
# File 'lib/stripe/params/financial_connections/session_create_params.rb', line 17 def initialize(account: nil, customer: nil, customer_account: nil, type: nil) @account = account @customer = customer @customer_account = customer_account @type = type end |
Instance Attribute Details
#account ⇒ Object
The ID of the Stripe account whose accounts you will retrieve. Only available when ‘type` is `account`.
9 10 11 |
# File 'lib/stripe/params/financial_connections/session_create_params.rb', line 9 def account @account end |
#customer ⇒ Object
The ID of the Stripe customer whose accounts you will retrieve. Only available when ‘type` is `customer`.
11 12 13 |
# File 'lib/stripe/params/financial_connections/session_create_params.rb', line 11 def customer @customer end |
#customer_account ⇒ Object
The ID of Account representing a customer whose accounts you will retrieve. Only available when ‘type` is `customer`.
13 14 15 |
# File 'lib/stripe/params/financial_connections/session_create_params.rb', line 13 def customer_account @customer_account end |
#type ⇒ Object
Type of account holder to collect accounts for.
15 16 17 |
# File 'lib/stripe/params/financial_connections/session_create_params.rb', line 15 def type @type end |