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