open-banking-pfm-sdk
Version:
The Open Banking PFM SDK uses Client classes and with **Promises** to get responses from the Open Banking PFM API in an easier way and structured as data models.
24 lines (23 loc) • 816 B
TypeScript
import IConsentDetail from '../interfaces/IConsentDetail';
import BankConsent from './BankConsent';
export default class ConsentDetail implements IConsentDetail {
private _consentId;
private _originBankName;
private _customerIdentification;
private _cpf;
private _bank;
private _deadline;
private _status;
private _isSynchronized;
private _purpose;
constructor({ consentId, originBankName, customerIdentification, cpf, bank, deadline, status, isSynchronized, purpose }: IConsentDetail);
get consentId(): string;
get originBankName(): string;
get customerIdentification(): string | null;
get cpf(): string | null;
get bank(): BankConsent;
get deadline(): number;
get status(): string;
get isSynchronized(): boolean;
get purpose(): string;
}