22 lines
666 B
PHP
22 lines
666 B
PHP
<?php
|
|
|
|
namespace App\Domains\ParticipantRefund\Actions\CreateRefundDocument;
|
|
|
|
use App\Models\ParticipantRefund;
|
|
|
|
class CreateRefundDocumentRequest
|
|
{
|
|
public function __construct(
|
|
public readonly ParticipantRefund $refund,
|
|
/**
|
|
* Ob der Betrag gespendet statt ausgezahlt wird.
|
|
*
|
|
* Ausdrücklich und nicht über {@see ParticipantRefund::isDonation()}: Beim Einreichen entsteht
|
|
* dieser Beleg vor der Abrechnung, die die Spende führt -- er ist ihr Anhang. Wer ihn später
|
|
* erneut zieht, liest sie dort und gibt sie hier weiter.
|
|
*/
|
|
public readonly bool $donation = false,
|
|
) {
|
|
}
|
|
}
|