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.
11 lines (10 loc) • 366 B
TypeScript
import { ICreditBalance } from 'interfaces';
export default class CreditBalance implements ICreditBalance {
private _availableAmount;
private _limitAmount;
private _usedAmount;
constructor({ availableAmount, limitAmount, usedAmount }: ICreditBalance);
get availableAmount(): number;
get limitAmount(): number;
get usedAmount(): number;
}