// SPDX-License-Identifier: Apache-2.0
import ValidatedRequest from "../../../../../../core/validation/ValidatedArgs";
import FormatValidation from "../../../../../in/request/FormatValidation";
export default class TransferRequest extends ValidatedRequest {
    securityId;
    targetId;
    amount;
    constructor({ targetId, amount, securityId }) {
        super({
            securityId: FormatValidation.checkHederaIdFormatOrEvmAddress(),
            targetId: FormatValidation.checkHederaIdFormatOrEvmAddress(),
            amount: FormatValidation.checkAmount(),
        });
        this.securityId = securityId;
        this.targetId = targetId;
        this.amount = amount;
    }
}
