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.

59 lines (58 loc) 1.48 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); class TransactionPayload { constructor(_accountId, _date, _charge, _description, _amount, _categoryId, _calculable) { this._accountId = _accountId; this._date = _date; this._charge = _charge; this._description = _description; this._amount = _amount; this._categoryId = _categoryId; this._calculable = _calculable; } get charge() { return this._charge; } set charge(value) { this._charge = value; } get date() { return this._date; } set date(value) { this._date = value; } get description() { return this._description; } get amount() { return this._amount; } get categoryId() { return this._categoryId; } get accountId() { return this._accountId; } set accountId(value) { this._accountId = value; } get calculable() { return this._calculable; } set calculable(value) { this._calculable = value; } get plainObject() { return { accountId: this._accountId, amount: this._amount, categoryId: this._categoryId, charge: this._charge, date: this._date, description: this._description, calculable: this._calculable, }; } } exports.default = TransactionPayload;