Refundings without contacting the participant
This commit is contained in:
@@ -12,6 +12,20 @@ class ReleaseRefundRequest
|
||||
public readonly Amount $amount,
|
||||
public readonly string $reason,
|
||||
public readonly ?string $reasonNote = null,
|
||||
/**
|
||||
* Die Bankverbindung, wenn sie der Aktionsleitung bereits vorliegt.
|
||||
*
|
||||
* Sind beide gesetzt, entfällt der Umweg über den Teili: die Erstattung wird sofort eingereicht.
|
||||
* Bleiben sie leer, läuft der übliche Weg über den Bestätigungslink.
|
||||
*/
|
||||
public readonly ?string $accountOwner = null,
|
||||
public readonly ?string $accountIban = null,
|
||||
) {
|
||||
}
|
||||
|
||||
/** Ob die Erstattung ohne Zutun des Teilis eingereicht werden kann. */
|
||||
public function hasBankDetails(): bool
|
||||
{
|
||||
return filled($this->accountOwner) && filled($this->accountIban);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user