22 lines
757 B
PHP
22 lines
757 B
PHP
<?php
|
|
|
|
namespace App\EventPaymentModules\DTO;
|
|
|
|
/**
|
|
* Ausgabe von {@see \App\EventPaymentModules\EventPaymentModule::registrationSummary()}.
|
|
*
|
|
* Strukturierte Daten (kein reines Vue) -- speisen sowohl die Anmelde-Zusammenfassung im Frontend
|
|
* als auch spätere API-Actions. Der obere Teil der Zusammenfassung ist für alle gleich; hier kommt
|
|
* ausschließlich der zahlungsspezifische Abschnitt.
|
|
*/
|
|
final class RegistrationSummaryResponse
|
|
{
|
|
public string $title = '';
|
|
|
|
/** @var array<int, array{label: string, value: string}> Zeilen des Zahlungs-Abschnitts. */
|
|
public array $lines = [];
|
|
|
|
/** Bestätigungstext für die Checkbox, z.B. "Ich bestätige, den Betrag von X zu überweisen.". */
|
|
public ?string $confirmationLabel = null;
|
|
}
|