@longvansoftware/storefront-js-client 3.3.0 → 3.3.1
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.
|
@@ -41,5 +41,18 @@ class DeepLinkVietQrService extends serviceSDK_1.Service {
|
|
|
41
41
|
}
|
|
42
42
|
});
|
|
43
43
|
}
|
|
44
|
+
getBank() {
|
|
45
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
46
|
+
const endpoint = `/banks`;
|
|
47
|
+
const method = "GET";
|
|
48
|
+
try {
|
|
49
|
+
const response = yield this.restApiCallWithToken(endpoint, method);
|
|
50
|
+
return response;
|
|
51
|
+
}
|
|
52
|
+
catch (error) {
|
|
53
|
+
throw error;
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
}
|
|
44
57
|
}
|
|
45
58
|
exports.DeepLinkVietQrService = DeepLinkVietQrService;
|