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