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.
30 lines (29 loc) • 974 B
TypeScript
import IAccount from '../interfaces/IAccount';
export default class Account implements IAccount {
private _id;
private _providerId;
private _nature;
private _name;
private _number;
private _balance;
private _chargeable;
private _dateCreated;
private _lastUpdated;
private _isBankAggregation;
private _financialEntityId;
private _extra_data?;
constructor({ id, providerId, nature, name, number, balance, chargeable, dateCreated, lastUpdated, isBankAggregation, financialEntityId, extra_data }: IAccount);
get id(): number;
get providerId(): string | null;
get nature(): string;
get name(): string;
get number(): string;
get balance(): number;
get chargeable(): boolean;
get dateCreated(): number;
get lastUpdated(): number;
get isBankAggregation(): boolean;
get financialEntityId(): number;
get extra_data(): Map<string, string> | null | undefined;
toObject(): Object;
}