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