import { Transaction } from "./Transaction";
export class Swap extends 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;
    }
}
//# sourceMappingURL=Swap.js.map