"use strict";
// SPDX-License-Identifier: Apache-2.0
Object.defineProperty(exports, "__esModule", { value: true });
exports.SetInterestRateCommand = exports.SetInterestRateCommandResponse = void 0;
const Command_1 = require("../../../../../core/command/Command");
class SetInterestRateCommandResponse {
    payload;
    transactionId;
    constructor(payload, transactionId) {
        this.payload = payload;
        this.transactionId = transactionId;
    }
}
exports.SetInterestRateCommandResponse = SetInterestRateCommandResponse;
class SetInterestRateCommand extends Command_1.Command {
    securityId;
    maxRate;
    baseRate;
    minRate;
    startPeriod;
    startRate;
    missedPenalty;
    reportPeriod;
    rateDecimals;
    constructor(securityId, maxRate, baseRate, minRate, startPeriod, startRate, missedPenalty, reportPeriod, rateDecimals) {
        super();
        this.securityId = securityId;
        this.maxRate = maxRate;
        this.baseRate = baseRate;
        this.minRate = minRate;
        this.startPeriod = startPeriod;
        this.startRate = startRate;
        this.missedPenalty = missedPenalty;
        this.reportPeriod = reportPeriod;
        this.rateDecimals = rateDecimals;
    }
}
exports.SetInterestRateCommand = SetInterestRateCommand;
