Files
fewo-stommer/app/Process/Modules/ContributesToPrice.php
LarsandClaude Opus 5.5 7e22e12cac U-A/U-B: Prozesskern mit Fachmodulen, versionierten Modellen, eingefrorenem Prozessplan, ProcessRunner (harte/weiche Abhängigkeiten), CasePricing, Loyalty nur im Tester
CaseActivities/CaseAutomation sind Fassaden über ProcessRunner. Verhaltensvergleich v0.11:
11 Abläufe und 198 Konstellationen gleich, beabsichtigte Abweichungen I-004/I-005 (F-001/F-002).
Volle Suite vor U-B: 785/785.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 14:49:44 +01:00

20 lines
553 B
PHP

<?php
namespace App\Process\Modules;
use App\Pricing\PriceQuote;
use App\Pricing\QuoteLine;
use App\Process\CaseContext;
/**
* A module that adds lines to the price before it is fixed (extension point BeforePriceFixing). CasePricing asks it only
* for cases that are not binding yet; once the offer is made the lines are frozen in the case's quote.
*/
interface ContributesToPrice
{
/**
* @return list<QuoteLine> lines to add (empty: no contribution)
*/
public function priceLines(CaseContext $case, PriceQuote $quote): array;
}