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.
37 lines (36 loc) • 949 B
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class TransactionAnalysis {
constructor({ accounts, description, average, quantity, amount, }) {
this._accounts = accounts;
this._description = description;
this._average = average;
this._quantity = quantity;
this._amount = amount;
}
get average() {
return this._average;
}
get description() {
return this._description;
}
get amount() {
return this._amount;
}
get quantity() {
return this._quantity;
}
get accounts() {
return this._accounts;
}
get plainObject() {
return {
accounts: this._accounts.toString(),
description: this._description,
average: this._average,
quantity: this._quantity,
amount: this._amount,
};
}
}
exports.default = TransactionAnalysis;