UNPKG

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.

27 lines (26 loc) 632 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); class ResourceDetailResponse { constructor({ bankId, userId, resources }) { this._bankId = bankId; this._userId = userId; this._resources = resources; } get bankId() { return this._bankId; } get userId() { return this._userId; } get resources() { return this._resources; } toObject() { return { bankId: this._bankId, userId: this._userId, resources: this._resources }; } } exports.default = ResourceDetailResponse;