aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMarak <[email protected]>2021-02-24 17:51:02 -0500
committerGitHub <[email protected]>2021-02-24 17:51:02 -0500
commitf5f186c70d6c57d41aa34ab82aae554d70ef7c7f (patch)
tree3eb16058f8f00188017eabffec3e95b0590876ac /lib
parentaab698147b0aae214ff2bce1fe656057996069e6 (diff)
parentf4efbf3b1b46122887d2c282fb387fd0152b3f27 (diff)
downloadfaker-f5f186c70d6c57d41aa34ab82aae554d70ef7c7f.tar.xz
faker-f5f186c70d6c57d41aa34ab82aae554d70ef7c7f.zip
Merge pull request #1112 from Moosh-be/issue_945_Bis
Fix for issues 846, 944, 945, 946 With TDD
Diffstat (limited to 'lib')
-rw-r--r--lib/iban.js20
1 files changed, 14 insertions, 6 deletions
diff --git a/lib/iban.js b/lib/iban.js
index 92cd08b0..e9f8318f 100644
--- a/lib/iban.js
+++ b/lib/iban.js
@@ -67,11 +67,19 @@ module["exports"] = {
format: "ATkk bbbb bccc cccc cccc"
},
{
+ // Azerbaijan
+ // https://transferwise.com/fr/iban/azerbaijan
+ // Length 28
+ // BBAN 2c,16n
+ // GEkk bbbb cccc cccc cccc cccc cccc
+ // b = National bank code (alpha)
+ // c = Account number
+ // example IBAN AZ21 NABZ 0000 0000 1370 1000 1944
country: "AZ",
total: 28,
bban: [
{
- type: "c",
+ type: "a",
count: 4
},
{
@@ -342,7 +350,7 @@ module["exports"] = {
total: 22,
bban: [
{
- type: "c",
+ type: "a",
count: 2
},
{
@@ -813,7 +821,7 @@ module["exports"] = {
total: 24,
bban: [
{
- type: "c",
+ type: "a",
count: 4
},
{
@@ -1050,11 +1058,11 @@ module["exports"] = {
count: 5
},
{
- type: "c",
+ type: "n",
count: 1
},
{
- type: "c",
+ type: "n",
count: 16
}
],
@@ -1133,4 +1141,4 @@ module["exports"] = {
"UM", "US", "UY", "UZ", "VA", "VC", "VE", "VG", "VI", "VN", "VU", "WF", "WS",
"YE", "YT", "YU", "ZA", "ZM", "ZR", "ZW"
]
-} \ No newline at end of file
+}