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