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