"use strict";
// SPDX-License-Identifier: Apache-2.0
Object.defineProperty(exports, "__esModule", { value: true });
exports.SetAmortizationCommand = exports.SetAmortizationCommandResponse = void 0;
const Command_1 = require("../../../../../core/command/Command");
class SetAmortizationCommandResponse {
    payload;
    transactionId;
    constructor(payload, transactionId) {
        this.payload = payload;
        this.transactionId = transactionId;
    }
}
exports.SetAmortizationCommandResponse = SetAmortizationCommandResponse;
class SetAmortizationCommand extends Command_1.Command {
    securityId;
    recordDate;
    executionDate;
    tokensToRedeem;
    constructor(securityId, recordDate, executionDate, tokensToRedeem) {
        super();
        this.securityId = securityId;
        this.recordDate = recordDate;
        this.executionDate = executionDate;
        this.tokensToRedeem = tokensToRedeem;
    }
}
exports.SetAmortizationCommand = SetAmortizationCommand;
