UNPKG

finerio-pfm-unnax

Version:

This SDK lets you connect to [Finerio PFM API Unnax](http://ec2-3-16-174-50.us-east-2.compute.amazonaws.com:8082/swagger-ui/index.html#/) in an easier way.

36 lines (35 loc) 870 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); class CategoryPayload { constructor(_name, _color, _parentCategoryId) { this._name = _name; this._color = _color; this._parentCategoryId = _parentCategoryId; } get name() { return this._name; } set name(name) { this._name = name; } get color() { return this._color; } set color(color) { this._color = color; } get parentCategoryId() { return this._parentCategoryId; } set parentCategoryId(parentCategoryId) { this._parentCategoryId = parentCategoryId; } get plainObject() { return { name: this._name, color: this._color, parentCategoryId: this._parentCategoryId, }; } } exports.default = CategoryPayload;