bank type added
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user