Class: FinchAPI::Models::Sandbox::Connections::AccountCreateResponse
- Defined in:
- lib/finch-api/models/sandbox/connections/account_create_response.rb
Defined Under Namespace
Modules: AuthenticationType
Instance Attribute Summary collapse
- #access_token ⇒ String
-
#account_id ⇒ String
- DEPRECATED
-
Use ‘connection_id` to associate a connection with an access token.
- #authentication_type ⇒ Symbol, FinchAPI::Models::Sandbox::Connections::AccountCreateResponse::AuthenticationType
-
#company_id ⇒ String
- DEPRECATED
-
Use ‘connection_id` to associate a connection with an access token.
-
#connection_id ⇒ String
The ID of the new connection.
- #products ⇒ Array<String>
-
#provider_id ⇒ String
The ID of the provider associated with the ‘access_token`.
Instance Method Summary collapse
-
#initialize(access_token:, account_id:, authentication_type:, company_id:, connection_id:, products:, provider_id:) ⇒ AccountCreateResponse
constructor
A new instance of AccountCreateResponse.
Constructor Details
#initialize(access_token:, account_id:, authentication_type:, company_id:, connection_id:, products:, provider_id:) ⇒ AccountCreateResponse
Returns a new instance of AccountCreateResponse.
9 |
# File 'lib/finch-api/models/sandbox/connections/account_create_response.rb', line 9 def initialize(access_token:, account_id:, authentication_type:, company_id:, connection_id:, products:, provider_id:, **) = super |
Instance Attribute Details
#access_token ⇒ String
11 |
# File 'lib/finch-api/models/sandbox/connections/account_create_response.rb', line 11 required :access_token, String |
#account_id ⇒ String
- DEPRECATED
-
Use ‘connection_id` to associate a connection with an access token
17 |
# File 'lib/finch-api/models/sandbox/connections/account_create_response.rb', line 17 required :account_id, String |
#authentication_type ⇒ Symbol, FinchAPI::Models::Sandbox::Connections::AccountCreateResponse::AuthenticationType
22 23 |
# File 'lib/finch-api/models/sandbox/connections/account_create_response.rb', line 22 required :authentication_type, enum: -> { FinchAPI::Models::Sandbox::Connections::AccountCreateResponse::AuthenticationType } |
#company_id ⇒ String
- DEPRECATED
-
Use ‘connection_id` to associate a connection with an access token
29 |
# File 'lib/finch-api/models/sandbox/connections/account_create_response.rb', line 29 required :company_id, String |
#connection_id ⇒ String
The ID of the new connection
35 |
# File 'lib/finch-api/models/sandbox/connections/account_create_response.rb', line 35 required :connection_id, String |
#products ⇒ Array<String>
40 |
# File 'lib/finch-api/models/sandbox/connections/account_create_response.rb', line 40 required :products, FinchAPI::ArrayOf[String] |
#provider_id ⇒ String
The ID of the provider associated with the ‘access_token`
46 |
# File 'lib/finch-api/models/sandbox/connections/account_create_response.rb', line 46 required :provider_id, String |