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.
20 lines (19 loc) • 531 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
class CreditBalance {
constructor({ availableAmount, limitAmount, usedAmount }) {
this._availableAmount = availableAmount;
this._limitAmount = limitAmount;
this._usedAmount = usedAmount;
}
get availableAmount() {
return this._availableAmount;
}
get limitAmount() {
return this._limitAmount;
}
get usedAmount() {
return this._usedAmount;
}
}
exports.default = CreditBalance;