Class: Stripe::FinancialConnections::SessionCreateParams
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::FinancialConnections::SessionCreateParams
- Defined in:
- lib/stripe/params/financial_connections/session_create_params.rb
Defined Under Namespace
Classes: AccountHolder, Filters
Instance Attribute Summary collapse
-
#account_holder ⇒ Object
The account holder to link accounts for.
-
#expand ⇒ Object
Specifies which fields in the response should be expanded.
-
#filters ⇒ Object
Filters to restrict the kinds of accounts to collect.
-
#permissions ⇒ Object
List of data features that you would like to request access to.
-
#prefetch ⇒ Object
List of data features that you would like to retrieve upon account creation.
-
#return_url ⇒ Object
For webview integrations only.
Instance Method Summary collapse
-
#initialize(account_holder: nil, expand: nil, filters: nil, permissions: nil, prefetch: nil, return_url: nil) ⇒ SessionCreateParams
constructor
A new instance of SessionCreateParams.
Methods inherited from RequestParams
Constructor Details
#initialize(account_holder: nil, expand: nil, filters: nil, permissions: nil, prefetch: nil, return_url: nil) ⇒ SessionCreateParams
Returns a new instance of SessionCreateParams.
51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 |
# File 'lib/stripe/params/financial_connections/session_create_params.rb', line 51 def initialize( account_holder: nil, expand: nil, filters: nil, permissions: nil, prefetch: nil, return_url: nil ) @account_holder = account_holder @expand = @filters = filters @permissions = @prefetch = prefetch @return_url = return_url end |
Instance Attribute Details
#account_holder ⇒ Object
The account holder to link accounts for.
37 38 39 |
# File 'lib/stripe/params/financial_connections/session_create_params.rb', line 37 def account_holder @account_holder end |
#expand ⇒ Object
Specifies which fields in the response should be expanded.
39 40 41 |
# File 'lib/stripe/params/financial_connections/session_create_params.rb', line 39 def @expand end |
#filters ⇒ Object
Filters to restrict the kinds of accounts to collect.
41 42 43 |
# File 'lib/stripe/params/financial_connections/session_create_params.rb', line 41 def filters @filters end |
#permissions ⇒ Object
List of data features that you would like to request access to.
Possible values are ‘balances`, `transactions`, `ownership`, and `payment_method`.
45 46 47 |
# File 'lib/stripe/params/financial_connections/session_create_params.rb', line 45 def @permissions end |
#prefetch ⇒ Object
List of data features that you would like to retrieve upon account creation.
47 48 49 |
# File 'lib/stripe/params/financial_connections/session_create_params.rb', line 47 def prefetch @prefetch end |
#return_url ⇒ Object
For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app.
49 50 51 |
# File 'lib/stripe/params/financial_connections/session_create_params.rb', line 49 def return_url @return_url end |