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.

68 lines (67 loc) 1.82 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); class Credit { constructor({ id, providerId, financialEntityId, nature, name, number, balance, chargeable, dateCreated, lastUpdated, lineName, availableAmount, limitAmount, usedAmount, isBankAggregation }) { this._id = id; this._providerId = providerId; this._nature = nature; this._name = name; this._number = number; this._balance = balance; this._chargeable = chargeable; this._dateCreated = dateCreated; this._lastUpdated = lastUpdated; this._isBankAggregation = isBankAggregation; this._lineName = lineName; this._availableAmount = availableAmount; this._limitAmount = limitAmount; this._usedAmount = usedAmount; this._financialEntityId = financialEntityId; } get id() { return this._id; } get providerId() { return this._providerId; } get financialEntityId() { return this._financialEntityId; } get nature() { return this._nature; } get name() { return this._name; } get number() { return this._number; } get balance() { return this._balance; } get chargeable() { return this._chargeable; } get dateCreated() { return this._dateCreated; } get lastUpdated() { return this._lastUpdated; } get lineName() { return this._lineName; } get availableAmount() { return this._availableAmount; } get limitAmount() { return this._limitAmount; } get usedAmount() { return this._usedAmount; } get isBankAggregation() { return this._isBankAggregation; } } exports.default = Credit;