View Source API Reference soft_bank v1.2.0
Modules
The Main Interface for the Application
An Account represents accounts in the system which are of asset, liability, or equity types, in accordance with the "accounting equation".
An Amount represents the individual debit or credit for a given account and is part of a balanced entry.
Provides the core functions to retrieve and manage the CLDR data that supports formatting and localisation.
Parses HTTP Accept-Language
header values as defined in
rfc2616.
Backend module that provides functions to define new locales and display human-readable locale names for presentation purposes.
A backend module for Money.
Formats numbers and currencies based upon CLDR's decimal formats specification.
Implements cardinal plural rules for numbers.
Functions to manage the collection of number patterns defined in Cldr.
Implements ordinal plural rules for numbers.
Implements plural rules for ranges
Transliteration for digits and separators.
Functions to implement the number system rule-based-number-format rules of CLDR.
Functions to implement the ordinal rule-based-number-format rules of CLDR.
Functions to implement the spellout rule-based-number-format rules of CLDR.
Entries are the recording of account debits and credits and can be considered as consituting a traditional accounting Journal.
Implements the Money.ExchangeRates
for CoinMarketCap
Rates service.
Default exchange rates retrieval callback module.
Implements a GenServer
to retrieve exchange rates from
a configured retrieveal module on a periodic or on demand basis.
Defines a SoftBank.Note
struct along with convenience methods for working with currencies.
Transfer from one account to another.
Mix Tasks
After configuring your default ecto repo in :ecto_repos
Run mix SoftBank.install to generates a setup_softbank_tables
migration,
which creates your accounts, entries, and amounts tables, as well as
required indexes.