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.
12 lines (11 loc) • 430 B
TypeScript
import ICategoryResume from '../interfaces/ICategoryResume';
import SubcategoryResume from './SubcategoryResume';
export default class CategoryResume implements ICategoryResume {
private _categoryId;
private _amount;
private _subcategories;
constructor({ categoryId, amount, subcategories }: ICategoryResume);
get categoryId(): number;
get amount(): number;
get subcategories(): SubcategoryResume[];
}