Configurations for payment modules

This commit is contained in:
2026-07-29 15:49:26 +02:00
parent 8d6a4041c1
commit 78f4d813f9
19 changed files with 584 additions and 51 deletions
@@ -0,0 +1,21 @@
<?php
namespace App\EventPaymentModules\DTO;
/**
* Ausgabe von {@see \App\EventPaymentModules\EventPaymentModule::createInvoice()}.
*
* Der gemeinsame Rechnungs-Rumpf (Betrag, Leistung, ...) wird von der Basisklasse befüllt,
* $closingStatement ist der je Modul variierende Schlusssatz
* ("Bitte überweise bis ..." / "wird abgebucht ..." / "wurde per PayPal beglichen").
*/
final class CreateInvoiceResponse
{
public bool $success = false;
/** @var array<int, array<string, mixed>> Gemeinsame Rechnungspositionen (Rumpf). */
public array $lines = [];
public ?string $closingStatement = null;
public ?string $message = null;
}