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.
36 lines (35 loc) • 897 B
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class FinancialEntity {
constructor({ id, name, code, imagePath, isBankAggregation, dateCreated, lastUpdated }) {
this._id = id;
this._name = name;
this._code = code;
this._imagePath = imagePath;
this._isBankAggregation = isBankAggregation;
this._dateCreated = dateCreated;
this._lastUpdated = lastUpdated;
}
get id() {
return this._id;
}
get name() {
return this._name;
}
get code() {
return this._code;
}
get imagePath() {
return this._imagePath;
}
get isBankAggregation() {
return this._isBankAggregation;
}
get dateCreated() {
return this._dateCreated;
}
get lastUpdated() {
return this._lastUpdated;
}
}
exports.default = FinancialEntity;