Class: Increase::Models::Account
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Increase::Models::Account
- Defined in:
- lib/increase/models/account.rb
Overview
Defined Under Namespace
Modules: Bank, Currency, Status, Type
Instance Attribute Summary collapse
-
#bank ⇒ Symbol, Increase::Models::Account::Bank
The bank the Account is with.
-
#closed_at ⇒ Time?
The [ISO 8601](en.wikipedia.org/wiki/ISO_8601) time at which the Account was closed.
-
#created_at ⇒ Time
The [ISO 8601](en.wikipedia.org/wiki/ISO_8601) time at which the Account was created.
-
#currency ⇒ Symbol, Increase::Models::Account::Currency
The [ISO 4217](en.wikipedia.org/wiki/ISO_4217) code for the Account currency.
-
#entity_id ⇒ String?
The identifier for the Entity the Account belongs to.
-
#id ⇒ String
The Account identifier.
-
#idempotency_key ⇒ String?
The idempotency key you chose for this object.
-
#informational_entity_id ⇒ String?
The identifier of an Entity that, while not owning the Account, is associated with its activity.
-
#interest_accrued ⇒ String
The interest accrued but not yet paid, expressed as a string containing a floating-point value.
-
#interest_accrued_at ⇒ Date?
The latest [ISO 8601](en.wikipedia.org/wiki/ISO_8601) date on which interest was accrued.
-
#interest_rate ⇒ String
The Interest Rate currently being earned on the account, as a string containing a decimal number.
-
#name ⇒ String
The name you choose for the Account.
-
#program_id ⇒ String
The identifier of the Program determining the compliance and commercial terms of this Account.
-
#status ⇒ Symbol, Increase::Models::Account::Status
The status of the Account.
-
#type ⇒ Symbol, Increase::Models::Account::Type
A constant representing the object’s type.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(id: , bank: , closed_at: , created_at: , currency: , entity_id: , idempotency_key: , informational_entity_id: , interest_accrued: , interest_accrued_at: , interest_rate: , name: , program_id: , status: , type: ) ⇒ Object
constructor
Some parameter documentations has been truncated, see Account for more details.
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(id: , bank: , closed_at: , created_at: , currency: , entity_id: , idempotency_key: , informational_entity_id: , interest_accrued: , interest_accrued_at: , interest_rate: , name: , program_id: , status: , type: ) ⇒ Object
Some parameter documentations has been truncated, see Increase::Models::Account for more details.
Accounts are your bank accounts with Increase. They store money, receive transfers, and send payments. They earn interest and have depository insurance.
|
|
# File 'lib/increase/models/account.rb', line 109
|
Instance Attribute Details
#bank ⇒ Symbol, Increase::Models::Account::Bank
The bank the Account is with.
17 |
# File 'lib/increase/models/account.rb', line 17 required :bank, enum: -> { Increase::Account::Bank } |
#closed_at ⇒ Time?
The [ISO 8601](en.wikipedia.org/wiki/ISO_8601) time at which the Account was closed.
24 |
# File 'lib/increase/models/account.rb', line 24 required :closed_at, Time, nil?: true |
#created_at ⇒ Time
The [ISO 8601](en.wikipedia.org/wiki/ISO_8601) time at which the Account was created.
31 |
# File 'lib/increase/models/account.rb', line 31 required :created_at, Time |
#currency ⇒ Symbol, Increase::Models::Account::Currency
The [ISO 4217](en.wikipedia.org/wiki/ISO_4217) code for the Account currency.
38 |
# File 'lib/increase/models/account.rb', line 38 required :currency, enum: -> { Increase::Account::Currency } |
#entity_id ⇒ String?
The identifier for the Entity the Account belongs to.
44 |
# File 'lib/increase/models/account.rb', line 44 required :entity_id, String, nil?: true |
#id ⇒ String
The Account identifier.
11 |
# File 'lib/increase/models/account.rb', line 11 required :id, String |
#idempotency_key ⇒ String?
The idempotency key you chose for this object. This value is unique across Increase and is used to ensure that a request is only processed once. Learn more about [idempotency](increase.com/documentation/idempotency-keys).
52 |
# File 'lib/increase/models/account.rb', line 52 required :idempotency_key, String, nil?: true |
#informational_entity_id ⇒ String?
The identifier of an Entity that, while not owning the Account, is associated with its activity.
59 |
# File 'lib/increase/models/account.rb', line 59 required :informational_entity_id, String, nil?: true |
#interest_accrued ⇒ String
The interest accrued but not yet paid, expressed as a string containing a floating-point value.
66 |
# File 'lib/increase/models/account.rb', line 66 required :interest_accrued, String |
#interest_accrued_at ⇒ Date?
The latest [ISO 8601](en.wikipedia.org/wiki/ISO_8601) date on which interest was accrued.
73 |
# File 'lib/increase/models/account.rb', line 73 required :interest_accrued_at, Date, nil?: true |
#interest_rate ⇒ String
The Interest Rate currently being earned on the account, as a string containing a decimal number. For example, a 1% interest rate would be represented as “0.01”.
81 |
# File 'lib/increase/models/account.rb', line 81 required :interest_rate, String |
#name ⇒ String
The name you choose for the Account.
87 |
# File 'lib/increase/models/account.rb', line 87 required :name, String |
#program_id ⇒ String
The identifier of the Program determining the compliance and commercial terms of this Account.
94 |
# File 'lib/increase/models/account.rb', line 94 required :program_id, String |
#status ⇒ Symbol, Increase::Models::Account::Status
The status of the Account.
100 |
# File 'lib/increase/models/account.rb', line 100 required :status, enum: -> { Increase::Account::Status } |
#type ⇒ Symbol, Increase::Models::Account::Type
A constant representing the object’s type. For this resource it will always be ‘account`.
107 |
# File 'lib/increase/models/account.rb', line 107 required :type, enum: -> { Increase::Account::Type } |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/increase/models/account.rb', line 161
|