"use strict";
// SPDX-License-Identifier: Apache-2.0
Object.defineProperty(exports, "__esModule", { value: true });
exports.ProtectedRedeemFromByPartitionCommand = exports.ProtectedRedeemFromByPartitionCommandResponse = void 0;
const Command_1 = require("../../../../../../core/command/Command");
class ProtectedRedeemFromByPartitionCommandResponse {
    payload;
    transactionId;
    constructor(payload, transactionId) {
        this.payload = payload;
        this.transactionId = transactionId;
    }
}
exports.ProtectedRedeemFromByPartitionCommandResponse = ProtectedRedeemFromByPartitionCommandResponse;
class ProtectedRedeemFromByPartitionCommand extends Command_1.Command {
    securityId;
    partitionId;
    sourceId;
    amount;
    deadline;
    nounce;
    signature;
    constructor(securityId, partitionId, sourceId, amount, deadline, nounce, signature) {
        super();
        this.securityId = securityId;
        this.partitionId = partitionId;
        this.sourceId = sourceId;
        this.amount = amount;
        this.deadline = deadline;
        this.nounce = nounce;
        this.signature = signature;
    }
}
exports.ProtectedRedeemFromByPartitionCommand = ProtectedRedeemFromByPartitionCommand;
