Automatischer Zahlungsparser
This commit is contained in:
@@ -6,6 +6,8 @@ use App\EventPaymentModules\DTO\CreateInvoiceRequest;
|
||||
use App\EventPaymentModules\DTO\CreateInvoiceResponse;
|
||||
use App\EventPaymentModules\DTO\DoPaymentRequest;
|
||||
use App\EventPaymentModules\DTO\DoPaymentResponse;
|
||||
use App\EventPaymentModules\DTO\GetRefundDataRequest;
|
||||
use App\EventPaymentModules\DTO\GetRefundDataResponse;
|
||||
use App\EventPaymentModules\DTO\RegistrationSummaryRequest;
|
||||
use App\EventPaymentModules\DTO\RegistrationSummaryResponse;
|
||||
|
||||
@@ -68,4 +70,16 @@ interface EventPaymentModule
|
||||
* (In dieser Iteration nur als Stub vorhanden.)
|
||||
*/
|
||||
public function createInvoice(CreateInvoiceRequest $request): CreateInvoiceResponse;
|
||||
|
||||
/**
|
||||
* Auf welches Konto wäre zu erstatten -- und wissen wir es überhaupt?
|
||||
*
|
||||
* Gehört ins Kern-Interface und nicht in ein Fähigkeits-Interface, weil jede Zahlungsart eine
|
||||
* Antwort darauf hat; sie fällt nur unterschiedlich aus. Barzahlung: keine. Überweisung: das
|
||||
* Konto, von dem der Beitrag kam. SEPA-Lastschrift später: das Konto des Mandats.
|
||||
*
|
||||
* Standard ist „nicht bekannt" -- dann läuft die Erstattung wie gehabt über die Angaben des
|
||||
* Teilis bzw. der Aktionsleitung.
|
||||
*/
|
||||
public function getRefundData(GetRefundDataRequest $request): GetRefundDataResponse;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user