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,25 @@
<?php
namespace App\EventPaymentModules\DTO;
use App\Models\Event;
use App\Models\EventParticipant;
use App\ValueObjects\Amount;
/**
* Eingabe für {@see \App\EventPaymentModules\EventPaymentModule::doPayment()}.
* Von allen Modulen geteilt.
*/
final class DoPaymentRequest
{
/**
* @param array<string, mixed> $configuration Aufgelöste (pro-Event-)Konfiguration des Moduls.
*/
public function __construct(
public readonly Event $event,
public readonly EventParticipant $participant,
public readonly Amount $amount,
public readonly array $configuration = [],
) {
}
}