6#include "faker-cxx/export.h"
7#include "faker-cxx/types/locale.h"
8#include "types/precision.h"
91FAKER_CXX_EXPORT std::string
amount(
double min = 0,
double max = 1000, Precision precision = Precision::TwoDp,
92 const std::string& symbol =
"");
106FAKER_CXX_EXPORT std::string
iban(Locale locale = Locale::de_DE);
119FAKER_CXX_EXPORT std::string_view
bic(Locale locale = Locale::en_US);
147FAKER_CXX_EXPORT std::string
pin(
unsigned length = 4);
FAKER_CXX_EXPORT Currency currency()
Returns a random currency.
FAKER_CXX_EXPORT std::string creditCardCvv()
FAKER_CXX_EXPORT std::string pin(unsigned length=4)
FAKER_CXX_EXPORT std::string ethereumAddress()
FAKER_CXX_EXPORT std::string creditCardNumber(CreditCardType creditCardType=CreditCardType::Visa)
FAKER_CXX_EXPORT std::string amount(double min=0, double max=1000, Precision precision=Precision::TwoDp, const std::string &symbol="")
Generates a random amount between the given bounds (inclusive).
FAKER_CXX_EXPORT std::string_view creditCardType()
FAKER_CXX_EXPORT std::string creditCardExpirationDate()
FAKER_CXX_EXPORT std::string_view currencyName()
Returns a random currency name.
FAKER_CXX_EXPORT std::string_view bic(Locale locale=Locale::en_US)
FAKER_CXX_EXPORT std::string accountNumber(unsigned length=8)
FAKER_CXX_EXPORT std::string_view currencyCode()
Returns a random currency code.
FAKER_CXX_EXPORT std::string litecoinAddress()
CreditCardType
Definition finance.h:161
FAKER_CXX_EXPORT std::string bitcoinAddress()
FAKER_CXX_EXPORT std::string_view accountType()
Returns a random account type.
FAKER_CXX_EXPORT std::string routingNumber()
FAKER_CXX_EXPORT std::string iban(Locale locale=Locale::de_DE)
FAKER_CXX_EXPORT std::string_view currencySymbol()
Returns a random currency symbol.
std::string_view name
Definition finance.h:14
std::string_view code
Definition finance.h:15
std::string_view symbol
Definition finance.h:16