26 lines
704 B
PHP
26 lines
704 B
PHP
<?php
|
|
|
|
namespace App\EventPaymentModules\DTO;
|
|
|
|
use App\Models\Event;
|
|
use App\ValueObjects\Amount;
|
|
|
|
/**
|
|
* Eingabe für {@see \App\EventPaymentModules\EventPaymentModule::registrationSummary()}.
|
|
*
|
|
* Bewusst ohne persistierten EventParticipant: Die Zusammenfassung wird im Anmeldefluss VOR dem
|
|
* Absenden erzeugt, es existiert also noch kein Teilnehmer-Datensatz.
|
|
*/
|
|
final class RegistrationSummaryRequest
|
|
{
|
|
/**
|
|
* @param array<string, mixed> $configuration Aufgelöste (pro-Event-)Konfiguration des Moduls.
|
|
*/
|
|
public function __construct(
|
|
public readonly Event $event,
|
|
public readonly Amount $amount,
|
|
public readonly array $configuration = [],
|
|
) {
|
|
}
|
|
}
|