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