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.

76 lines (75 loc) 2.01 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); class Transaction { constructor({ id, amount, categoryId, charge, date, dateCreated, description, lastUpdated, accountId, accountProviderId, calculable, }) { this._id = id; this._amount = amount; this._charge = charge; this._date = date; this._description = description; this._categoryId = categoryId; this._dateCreated = dateCreated; this._lastUpdated = lastUpdated; this._accountId = accountId; this._accountProviderId = accountProviderId; this._calculable = calculable; } get id() { return this._id; } get charge() { return this._charge; } set charge(value) { this._charge = value; } get date() { return this._date; } set date(value) { this._date = value; } get dateCreated() { return this._dateCreated; } get description() { return this._description; } get amount() { return this._amount; } get categoryId() { return this._categoryId; } get lastUpdated() { return this._lastUpdated; } get accountId() { return this._accountId; } get accountProviderId() { return this._accountProviderId; } get calculable() { return this._calculable; } set calculable(value) { this._calculable = value; } get plainObject() { return { id: this._id, charge: this._charge, description: this._description, amount: this._amount, date: this._date, dateCreated: this._dateCreated, lastUpdated: this.lastUpdated, categoryId: this._categoryId, accountId: this._accountId, accountProviderId: this._accountProviderId, calculable: this._calculable, }; } } exports.default = Transaction;