Topics
Getting started
Dynamic templating
Scripting

Finance

Finance namespace contains methods that generate finance data.

Template definitions

{{finance.account(length)}} - It generates a random finance account number.

params:

length - the length of the account.


{{finance.accountName()}} - It generates a random finance account name.


{{finance.bic()}} - It generates a random BIC code.


{{finance.bitcoinAddress()}} - It generates a random Bitcoin Address.


{{finance.currencyCode()}} - It generates a random Currency Code.


{{finance.currencyName()}} - It generates a random Currency Name.


{{finance.currencySymbol()}} - It generates a random Currency Symbol.


{{finance.iban()}} - It generates a random IBAN.


{{finance.transactionType()}} - It generates a random Transaction Type.


The example of template usage:

{
  "theFinanceExample": {
    "account": "{{finance.account(20)}}",
    "accountName": "{{finance.accountName()}}",
    "bic": "{{finance.bic()}}",
    "bitcoinAddress": "{{finance.bitcoinAddress()}}",
    "currencyCode": "{{finance.currencyCode()}}",
    "currencyName": "{{finance.currencyName()}}",
    "currencySymbol": "{{finance.currencySymbol()}}",
    "iban": "{{finance.iban()}}",
    "transactionType": "{{finance.transactionType()}}"
  }
}