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>
20 lines
553 B
PHP
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;
|
|
}
|