// SPDX-License-Identifier: Apache-2.0
import { Command } from "../../../../../../../core/command/Command";
export class ClearingCreateHoldFromByPartitionCommandResponse {
    payload;
    transactionId;
    constructor(payload, transactionId) {
        this.payload = payload;
        this.transactionId = transactionId;
    }
}
export class ClearingCreateHoldFromByPartitionCommand extends Command {
    securityId;
    partitionId;
    escrowId;
    amount;
    sourceId;
    targetId;
    clearingExpirationDate;
    holdExpirationDate;
    constructor(securityId, partitionId, escrowId, amount, sourceId, targetId, clearingExpirationDate, holdExpirationDate) {
        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;
    }
}
