22 lines
658 B
PHP
22 lines
658 B
PHP
<?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;
|
|
}
|