Configurations for payment modules
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user