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.
22 lines (21 loc) • 796 B
TypeScript
import { IBankAggregated } from '../interfaces';
export default class BankAggregated implements IBankAggregated {
private _originBankName;
private _customerIdentification;
private _cpf;
private _targetInstitution;
private _deadline;
private _expirationDay;
private _status;
private _isSynchronized;
constructor({ originBankName, customerIdentification, cpf, targetInstitution, deadline, expirationDay, status, isSynchronized }: IBankAggregated);
get originBankName(): string | null;
get customerIdentification(): string | null;
get cpf(): string;
get targetInstitution(): string;
get deadline(): number;
get expirationDay(): number;
get status(): string;
get isSynchronized(): null | boolean;
toObject(): IBankAggregated;
}