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