← Code-Übersicht

InvoiceProcessOutcome.php

Pfad: src/Application/Rechnung/InvoiceProcessOutcome.php

Ext: php

Größe: 482 Bytes

Geändert: 2026-07-16 17:41:12+02

<?php
declare(strict_types=1);

namespace Demo\Application\Rechnung;

use Demo\Domain\Rechnung\InvoiceRecord;
use Demo\Domain\Rechnung\InvoiceState;

final class InvoiceProcessOutcome
{
    public const PROCESSED = 'processed';
    public const SKIPPED = 'skipped';
    public const ERROR = 'error';

    public function __construct(
        public readonly string $result,
        public readonly InvoiceState $state,
        public readonly InvoiceRecord $record,
    ) {
    }
}