Class: FinchAPI::Models::Sandbox::Connections::AccountCreateResponse

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/finch-api/models/sandbox/connections/account_create_response.rb

Defined Under Namespace

Modules: AuthenticationType

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(access_token:, account_id:, authentication_type:, company_id:, connection_id:, products:, provider_id:) ⇒ AccountCreateResponse

Returns a new instance of AccountCreateResponse.

Parameters:



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_tokenString

Returns:

  • (String)


11
# File 'lib/finch-api/models/sandbox/connections/account_create_response.rb', line 11

required :access_token, String

#account_idString

DEPRECATED

Use ‘connection_id` to associate a connection with an access token

Returns:

  • (String)


17
# File 'lib/finch-api/models/sandbox/connections/account_create_response.rb', line 17

required :account_id, String

#authentication_typeSymbol, 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_idString

DEPRECATED

Use ‘connection_id` to associate a connection with an access token

Returns:

  • (String)


29
# File 'lib/finch-api/models/sandbox/connections/account_create_response.rb', line 29

required :company_id, String

#connection_idString

The ID of the new connection

Returns:

  • (String)


35
# File 'lib/finch-api/models/sandbox/connections/account_create_response.rb', line 35

required :connection_id, String

#productsArray<String>

Returns:

  • (Array<String>)


40
# File 'lib/finch-api/models/sandbox/connections/account_create_response.rb', line 40

required :products, FinchAPI::ArrayOf[String]

#provider_idString

The ID of the provider associated with the ‘access_token`

Returns:

  • (String)


46
# File 'lib/finch-api/models/sandbox/connections/account_create_response.rb', line 46

required :provider_id, String