"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Swap = void 0;
const Transaction_1 = require("./Transaction");
class Swap extends Transaction_1.Transaction {
    speed;
    amountToReceive;
    feesAmount;
    constructor(accountToDebit, accountToCredit, amount, speed, amountToReceive, feesAmount) {
        super(accountToDebit, accountToCredit, amount);
        this.speed = speed;
        this.amountToReceive = amountToReceive;
        this.feesAmount = feesAmount;
    }
    setAmountToReceive(value) {
        this.amountToReceive = value;
    }
    setFeesAmount(value) {
        this.feesAmount = value;
    }
    get getAmount() {
        return this.amount;
    }
    get getAccountToDebit() {
        return this.accountToDebit;
    }
    get getAccountToCredit() {
        return this.accountToCredit;
    }
}
exports.Swap = Swap;
//# sourceMappingURL=Swap.js.map