Class: Tide::API::Account

Inherits:
Dry::Struct::Value
  • Object
show all
Defined in:
lib/tide/api/account.rb

Overview

A bank account

Instance Method Summary collapse

Instance Method Details

#account_idInteger

Tide’s unique account ID.

Returns:

  • (Integer)


9
# File 'lib/tide/api/account.rb', line 9

attribute :account_id, Types::Strict::Integer

#account_numberString

The company’s bank account number.

Returns:

  • (String)


21
# File 'lib/tide/api/account.rb', line 21

attribute :account_number, Types::Strict::String

#available_balanceBigDecimal

Available account balance.

Returns:

  • (BigDecimal)


39
# File 'lib/tide/api/account.rb', line 39

attribute :available_balance, Types::Params::Decimal

#balanceBigDecimal

Account balance.

Returns:

  • (BigDecimal)


33
# File 'lib/tide/api/account.rb', line 33

attribute :balance, Types::Params::Decimal

#company_idInteger

Tide’s unique company ID.

Returns:

  • (Integer)


15
# File 'lib/tide/api/account.rb', line 15

attribute :company_id, Types::Strict::Integer

#currency_codeString

ISO 4217 currency code.

Returns:

  • (String)


45
# File 'lib/tide/api/account.rb', line 45

attribute :currency_code, Types::Strict::String

#iso_created_onDateTime

Date of creation of the account.

Returns:

  • (DateTime)


57
# File 'lib/tide/api/account.rb', line 57

attribute :iso_created_on, Types::Params::DateTime

#iso_updated_onDateTime

Date when the account was last updated.

Returns:

  • (DateTime)


63
# File 'lib/tide/api/account.rb', line 63

attribute :iso_updated_on, Types::Params::DateTime

#nameString

Account type.

Returns:

  • (String)


27
# File 'lib/tide/api/account.rb', line 27

attribute :name, Types::Strict::String

#sort_codeString

Sort code of the bank account.

Returns:

  • (String)


51
# File 'lib/tide/api/account.rb', line 51

attribute :sort_code, Types::Strict::String