Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 569 Bytes

bank.md

File metadata and controls

21 lines (14 loc) · 569 Bytes

Faker::Bank

Faker::Bank.account_number #=> 6738582379

# Keyword arguments: digits
Faker::Bank.account_number(digits: 13) #=> 673858237902

# Faker generates valid IBAN check digits, but national check digits (BBAN) are not supported
Faker::Bank.iban #=> "GB76DZJM33188515981979"

# Keyword arguments: country_code
# All countries should be supported
Faker::Bank.iban(country_code: "be") #=> "BE6375388567752043"

Faker::Bank.name #=> "ABN AMRO CORPORATE FINANCE LIMITED"

Faker::Bank.routing_number #=> "729343831"

Faker::Bank.swift_bic #=> "AAFMGB21"