"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 ValidatedArgs_1 = __importDefault(require("../../../../../../core/validation/ValidatedArgs"));
const FormatValidation_1 = __importDefault(require("../../../../../in/request/FormatValidation"));
class SetNominalValueRequest extends ValidatedArgs_1.default {
    securityId;
    nominalValue;
    nominalValueDecimals;
    constructor({ securityId, nominalValue, nominalValueDecimals, }) {
        super({
            securityId: FormatValidation_1.default.checkHederaIdFormatOrEvmAddress(),
            nominalValue: FormatValidation_1.default.checkString({ emptyCheck: true }),
            nominalValueDecimals: FormatValidation_1.default.checkNumber({ min: 0, max: 255 }),
        });
        this.securityId = securityId;
        this.nominalValue = nominalValue;
        this.nominalValueDecimals = nominalValueDecimals;
    }
}
exports.default = SetNominalValueRequest;
