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