Class: Tide::API::Account
- Inherits:
-
Dry::Struct::Value
- Object
- Dry::Struct::Value
- Tide::API::Account
- Defined in:
- lib/tide/api/account.rb
Overview
A bank account
Instance Method Summary collapse
-
#account_id ⇒ Integer
Tide’s unique account ID.
-
#account_number ⇒ String
The company’s bank account number.
-
#available_balance ⇒ BigDecimal
Available account balance.
-
#balance ⇒ BigDecimal
Account balance.
-
#company_id ⇒ Integer
Tide’s unique company ID.
-
#currency_code ⇒ String
ISO 4217 currency code.
-
#iso_created_on ⇒ DateTime
Date of creation of the account.
-
#iso_updated_on ⇒ DateTime
Date when the account was last updated.
-
#name ⇒ String
Account type.
-
#sort_code ⇒ String
Sort code of the bank account.
Instance Method Details
#account_id ⇒ Integer
Tide’s unique account ID.
9 |
# File 'lib/tide/api/account.rb', line 9 attribute :account_id, Types::Strict::Integer |
#account_number ⇒ String
The company’s bank account number.
21 |
# File 'lib/tide/api/account.rb', line 21 attribute :account_number, Types::Strict::String |
#available_balance ⇒ BigDecimal
Available account balance.
39 |
# File 'lib/tide/api/account.rb', line 39 attribute :available_balance, Types::Params::Decimal |
#balance ⇒ BigDecimal
Account balance.
33 |
# File 'lib/tide/api/account.rb', line 33 attribute :balance, Types::Params::Decimal |
#company_id ⇒ Integer
Tide’s unique company ID.
15 |
# File 'lib/tide/api/account.rb', line 15 attribute :company_id, Types::Strict::Integer |
#currency_code ⇒ String
ISO 4217 currency code.
45 |
# File 'lib/tide/api/account.rb', line 45 attribute :currency_code, Types::Strict::String |
#iso_created_on ⇒ DateTime
Date of creation of the account.
57 |
# File 'lib/tide/api/account.rb', line 57 attribute :iso_created_on, Types::Params::DateTime |
#iso_updated_on ⇒ DateTime
Date when the account was last updated.
63 |
# File 'lib/tide/api/account.rb', line 63 attribute :iso_updated_on, Types::Params::DateTime |
#name ⇒ String
Account type.
27 |
# File 'lib/tide/api/account.rb', line 27 attribute :name, Types::Strict::String |
#sort_code ⇒ String
Sort code of the bank account.
51 |
# File 'lib/tide/api/account.rb', line 51 attribute :sort_code, Types::Strict::String |