View Source SoftBank (soft_bank v1.2.3)

The Main Interface for the Application

Summary

Functions

Add a currency to the db and load into the ledger system

See SoftBank.Accountant.balance/1.

See SoftBank.Accountant.convert/2.

Create a new account

See SoftBank.Accountant.deposit/2.

Login to the account This will start a genserver to act as an accountant to abstract transactions.

See SoftBank.Accountant.transfer/3.

See SoftBank.Accountant.withdrawl/2.

Functions

Add a currency to the db and load into the ledger system

See SoftBank.Accountant.balance/1.

Link to this function

convert(amount, dest_currency)

View Source

See SoftBank.Accountant.convert/2.

Create a new account

Link to this function

deposit(amount, to_account_number)

View Source

See SoftBank.Accountant.deposit/2.

Login to the account This will start a genserver to act as an accountant to abstract transactions.

Link to this function

transfer(amount, from_account_number, to_account_number)

View Source

See SoftBank.Accountant.transfer/3.

Link to this function

withdrawl(amount, from_account_number)

View Source

See SoftBank.Accountant.withdrawl/2.