25 lines
807 B
PHP
25 lines
807 B
PHP
<?php
|
|
|
|
namespace App\Domains\ParticipantRefund\Actions\AcceptRefund;
|
|
|
|
use App\Models\ParticipantRefund;
|
|
|
|
class AcceptRefundRequest
|
|
{
|
|
public function __construct(
|
|
public readonly ?ParticipantRefund $refund,
|
|
public readonly string $accountOwner,
|
|
public readonly string $accountIban,
|
|
/** Ob der Teili die Erklärung auf der Seite angekreuzt hat. Ohne sie taugt der Beleg nichts. */
|
|
public readonly bool $declarationAccepted = false,
|
|
/**
|
|
* Die Aktionsleitung, wenn sie die Bankverbindung aufgenommen hat, weil sie ihr vorlag.
|
|
*
|
|
* Dann kreuzt niemand die Erklärung an -- sie wird stellvertretend aufgenommen, und der Beleg
|
|
* weist genau das aus.
|
|
*/
|
|
public readonly ?int $capturedBy = null,
|
|
) {
|
|
}
|
|
}
|