34 lines
777 B
PHP
34 lines
777 B
PHP
<?php
|
|
|
|
namespace App\EventPaymentModules\Modules;
|
|
|
|
use App\EventPaymentModules\AbstractEventPaymentModule;
|
|
use App\EventPaymentModules\DTO\CreateInvoiceRequest;
|
|
use App\Models\PaymentMethod;
|
|
|
|
/**
|
|
* Sonstiges (Barzahlung, Zahlung vor Ort) -- keine konfigurierbaren Optionen, keine aktive Zahlung.
|
|
*/
|
|
class UndefinedPaymentModule extends AbstractEventPaymentModule
|
|
{
|
|
public static function slug(): string
|
|
{
|
|
return PaymentMethod::PAYMENT_NOT_DEFINED;
|
|
}
|
|
|
|
public function defaultName(): string
|
|
{
|
|
return 'Sonstiges (Barzahlung, Zahlung vor Ort)';
|
|
}
|
|
|
|
public function getOptions(): array
|
|
{
|
|
return [];
|
|
}
|
|
|
|
protected function invoiceClosingStatement(CreateInvoiceRequest $request): string
|
|
{
|
|
return '';
|
|
}
|
|
}
|