Sha256: 6d051346679cfa65ef48a844362a826863eb175afce85f41dcc6b8f26ba8f541

Contents?: true

Size: 1.79 KB

Versions: 16

Compression:

Stored size: 1.79 KB

Contents

# MoneyKit::Account

## Properties

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **account_id** | **String** | MoneyKit's unique ID for the account.         <p>The `account_id` is distinct from the institution's account number.  For accounts that may change account         numbers from time to time, such as credit cards, MoneyKit attempts to keep the `account_id` constant.         However, if MoneyKit can't reconcile the new account data with the old data, the `account_id` may change. |  |
| **account_type** | **String** | See <a href=/pages/account_types>Account Types</a> for an explanation of account types.  Account types are         dot-prefixed with one of `depository`, `investment`, `liability`, or `other`; or the value is `unknown`.         <p>**Balances for `liability` accounts are reversed:**  negative balances (the amount owed) are reported as         positive values.  For all other types of accounts, a negative balance indicates the amount owed. |  |
| **name** | **String** | The account name, according to the institution.  Note that some institutions allow         the end user to nickname the account; in such cases this field may be the name assigned by the user. |  |
| **account_mask** | **String** | The last four characters (usually digits) of the account number.         Note that this mask may be non-unique between accounts. | [optional] |
| **balances** | [**AccountBalances**](AccountBalances.md) |  |  |

## Example

```ruby
require 'moneykit'

instance = MoneyKit::Account.new(
  account_id: acc_6Tef269B6ZArSVpYrxtjBV,
  account_type: depository.checking,
  name: Premier Checking,
  account_mask: 3748,
  balances: null
)
```

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
moneykit-0.1.15 docs/Account.md
moneykit-0.1.14 docs/Account.md
moneykit-0.1.13 docs/Account.md
moneykit-0.1.12 docs/Account.md
moneykit-0.1.11 docs/Account.md
moneykit-0.1.10 docs/Account.md
moneykit-0.1.9 docs/Account.md
moneykit-0.1.6 docs/Account.md
moneykit-0.1.5 docs/Account.md
moneykit-0.1.4 docs/Account.md
moneykit-0.1.3 docs/Account.md
moneykit-0.1.2 docs/Account.md
moneykit-0.1.1 docs/Account.md
moneykit-0.1.0 docs/Account.md
moneykit-0.1.0.alpha.2 docs/Account.md
moneykit-0.1.0.alpha.1 docs/Account.md