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