bank type added

This commit is contained in:
sdarbinyan
2026-06-28 22:18:35 +04:00
parent d1c1297fcd
commit 3cf0ef87f8
8 changed files with 142 additions and 15 deletions

View File

@@ -23,6 +23,7 @@ export interface QrCreateResponse {
nspkID?: string;
nspkId?: string;
nspkurl?: string;
bankUrl?: string;
status?: string;
qrStatus?: string;
qrExpirationDate?: string;
@@ -543,6 +544,10 @@ export class ApiService {
return response.nspkurl ?? response.Payload ?? response.payload ?? response.qrUrl ?? '';
}
resolveBankPaymentUrl(response: QrCreateResponse): string {
return response.bankUrl ?? '';
}
resolvePaymentQrUrl(response: QrCreateResponse): string {
const paymentLink = this.resolvePaymentLink(response);
if (paymentLink) {