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