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.

18 lines (17 loc) 684 B
import ICategoryPayload from '../interfaces/ICategoryPayload'; export default class CategoryPayload implements ICategoryPayload { private _userId?; private _name; private _color?; private _parentCategoryId?; constructor({ userId, name, color, parentCategoryId }: ICategoryPayload); get userId(): number | string | undefined; set userId(value: number | string | undefined); get name(): string; set name(value: string); get color(): string | undefined; set color(value: string | undefined); get parentCategoryId(): number | null | undefined; set parentCategoryId(value: number | null | undefined); toObject(): ICategoryPayload; }