@riocrypto/common 1.0.1220 → 1.0.1221
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -20,6 +20,23 @@ class KYCFieldAsset {
|
|
|
20
20
|
return `${new CountryAsset_1.CountryAsset(this.country).getName()} Personal Identification Number`;
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
|
+
else {
|
|
24
|
+
if (this.country === country_of_origin_1.CountryOfOrigin.UnitedStates) {
|
|
25
|
+
return "Employer Identification Number";
|
|
26
|
+
}
|
|
27
|
+
else if (this.country === country_of_origin_1.CountryOfOrigin.Mexico) {
|
|
28
|
+
return "RFC";
|
|
29
|
+
}
|
|
30
|
+
else if (this.country === country_of_origin_1.CountryOfOrigin.Brazil) {
|
|
31
|
+
return "CPF";
|
|
32
|
+
}
|
|
33
|
+
else if (this.country === country_of_origin_1.CountryOfOrigin.Peru) {
|
|
34
|
+
return "RUC";
|
|
35
|
+
}
|
|
36
|
+
else {
|
|
37
|
+
return `${new CountryAsset_1.CountryAsset(this.country).getName()} Personal Identification Number`;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
23
40
|
}
|
|
24
41
|
}
|
|
25
42
|
exports.KYCFieldAsset = KYCFieldAsset;
|