// SPDX-License-Identifier: Apache-2.0
import { MIN_ID } from "../../../../domain/context/security/CorporateAction";
import ValidatedRequest from "../../../../core/validation/ValidatedArgs";
import FormatValidation from "../FormatValidation";
export default class GetDividendRequest extends ValidatedRequest {
    securityId;
    dividendId;
    constructor({ securityId, dividendId }) {
        super({
            securityId: FormatValidation.checkHederaIdFormatOrEvmAddress(),
            dividendId: FormatValidation.checkNumber({
                max: undefined,
                min: MIN_ID,
            }),
        });
        this.securityId = securityId;
        this.dividendId = dividendId;
    }
}
