Namespace: finance

faker. finance

Methods


<static> account(length)

account

Parameters:
Name Type Description
length number

<static> account(length)

account

Parameters:
Name Type Description
length number

<static> accountName()

accountName


<static> accountName()

accountName


<static> amount(min, max, dec, symbol)

amount

Parameters:
Name Type Description
min number
max number
dec number
symbol string
Returns:
Type
string

<static> amount(min, max, dec, symbol)

amount

Parameters:
Name Type Description
min number
max number
dec number
symbol string
Returns:
Type
string

<static> bic()

bic


<static> bic()

bic


<static> bitcoinAddress()

bitcoinAddress


<static> bitcoinAddress()

bitcoinAddress


<static> creditCardCVV()

Credit card CVV


<static> creditCardCVV()

Credit card CVV


<static> creditCardNumber(provider)

Credit card number

Parameters:
Name Type Description
provider string

| scheme


<static> creditCardNumber(provider)

Credit card number

Parameters:
Name Type Description
provider string

| scheme


<static> currencyCode()

currencyCode


<static> currencyCode()

currencyCode


<static> currencyName()

currencyName


<static> currencyName()

currencyName


<static> currencySymbol()

currencySymbol


<static> currencySymbol()

currencySymbol


<static> ethereumAddress()

ethereumAddress


<static> ethereumAddress()

ethereumAddress


<static> iban( [formatted] [, countryCode])

iban

Parameters:
Name Type Argument Default Description
formatted boolean <optional>
false

Return a formatted version of the generated IBAN.

countryCode string <optional>

The country code from which you want to generate an IBAN, if none is provided a random country will be used.

Throws:

Will throw an error if the passed country code is not supported.


<static> iban( [formatted] [, countryCode])

iban

Parameters:
Name Type Argument Default Description
formatted boolean <optional>
false

Return a formatted version of the generated IBAN.

countryCode string <optional>

The country code from which you want to generate an IBAN, if none is provided a random country will be used.

Throws:

Will throw an error if the passed country code is not supported.


<static> litecoinAddress()

litecoinAddress


<static> litecoinAddress()

litecoinAddress


<static> mask(length, parens, ellipsis)

mask

Parameters:
Name Type Description
length number
parens boolean
ellipsis boolean

<static> mask(length, parens, ellipsis)

mask

Parameters:
Name Type Description
length number
parens boolean
ellipsis boolean

<static> routingNumber()

routingNumber


<static> routingNumber()

routingNumber


<static> transactionDescription()

description


<static> transactionDescription()

description


<static> transactionType()

transactionType


<static> transactionType()

transactionType

Namespace: finance

faker. finance

Methods


<static> account(length)

account

Parameters:
Name Type Description
length number

<static> account(length)

account

Parameters:
Name Type Description
length number

<static> accountName()

accountName


<static> accountName()

accountName


<static> amount(min, max, dec, symbol)

amount

Parameters:
Name Type Description
min number
max number
dec number
symbol string
Returns:
Type
string

<static> amount(min, max, dec, symbol)

amount

Parameters:
Name Type Description
min number
max number
dec number
symbol string
Returns:
Type
string

<static> bic()

bic


<static> bic()

bic


<static> bitcoinAddress()

bitcoinAddress


<static> bitcoinAddress()

bitcoinAddress


<static> creditCardCVV()

Credit card CVV


<static> creditCardCVV()

Credit card CVV


<static> creditCardNumber(provider)

Credit card number

Parameters:
Name Type Description
provider string

| scheme


<static> creditCardNumber(provider)

Credit card number

Parameters:
Name Type Description
provider string

| scheme


<static> currencyCode()

currencyCode


<static> currencyCode()

currencyCode


<static> currencyName()

currencyName


<static> currencyName()

currencyName


<static> currencySymbol()

currencySymbol


<static> currencySymbol()

currencySymbol


<static> ethereumAddress()

ethereumAddress


<static> ethereumAddress()

ethereumAddress


<static> iban( [formatted] [, countryCode])

iban

Parameters:
Name Type Argument Default Description
formatted boolean <optional>
false

Return a formatted version of the generated IBAN.

countryCode string <optional>

The country code from which you want to generate an IBAN, if none is provided a random country will be used.

Throws:

Will throw an error if the passed country code is not supported.


<static> iban( [formatted] [, countryCode])

iban

Parameters:
Name Type Argument Default Description
formatted boolean <optional>
false

Return a formatted version of the generated IBAN.

countryCode string <optional>

The country code from which you want to generate an IBAN, if none is provided a random country will be used.

Throws:

Will throw an error if the passed country code is not supported.


<static> litecoinAddress()

litecoinAddress


<static> litecoinAddress()

litecoinAddress


<static> mask(length, parens, ellipsis)

mask

Parameters:
Name Type Description
length number
parens boolean
ellipsis boolean

<static> mask(length, parens, ellipsis)

mask

Parameters:
Name Type Description
length number
parens boolean
ellipsis boolean

<static> routingNumber()

routingNumber


<static> routingNumber()

routingNumber


<static> transactionDescription()

description


<static> transactionDescription()

description


<static> transactionType()

transactionType


<static> transactionType()

transactionType