"use strict";
// SPDX-License-Identifier: Apache-2.0
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const CorporateAction_1 = require("../../../../../domain/context/security/CorporateAction");
const ValidatedArgs_1 = __importDefault(require("../../../../../core/validation/ValidatedArgs"));
const FormatValidation_1 = __importDefault(require("../../FormatValidation"));
class GetAmortizationRequest extends ValidatedArgs_1.default {
    securityId;
    amortizationId;
    constructor({ securityId, amortizationId }) {
        super({
            securityId: FormatValidation_1.default.checkHederaIdFormatOrEvmAddress(),
            amortizationId: FormatValidation_1.default.checkNumber({ min: CorporateAction_1.MIN_ID }),
        });
        this.securityId = securityId;
        this.amortizationId = amortizationId;
    }
}
exports.default = GetAmortizationRequest;
