Class: Stripe::FinancialConnections::SessionService::CreateParams
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::FinancialConnections::SessionService::CreateParams
- Defined in:
- lib/stripe/services/financial_connections/session_service.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) ⇒ CreateParams
constructor
A new instance of CreateParams.
Methods inherited from RequestParams
Constructor Details
#initialize(account_holder: nil, expand: nil, filters: nil, permissions: nil, prefetch: nil, return_url: nil) ⇒ CreateParams
Returns a new instance of CreateParams.
58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 |
# File 'lib/stripe/services/financial_connections/session_service.rb', line 58 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.
44 45 46 |
# File 'lib/stripe/services/financial_connections/session_service.rb', line 44 def account_holder @account_holder end |
#expand ⇒ Object
Specifies which fields in the response should be expanded.
46 47 48 |
# File 'lib/stripe/services/financial_connections/session_service.rb', line 46 def @expand end |
#filters ⇒ Object
Filters to restrict the kinds of accounts to collect.
48 49 50 |
# File 'lib/stripe/services/financial_connections/session_service.rb', line 48 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`.
52 53 54 |
# File 'lib/stripe/services/financial_connections/session_service.rb', line 52 def @permissions end |
#prefetch ⇒ Object
List of data features that you would like to retrieve upon account creation.
54 55 56 |
# File 'lib/stripe/services/financial_connections/session_service.rb', line 54 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.
56 57 58 |
# File 'lib/stripe/services/financial_connections/session_service.rb', line 56 def return_url @return_url end |