Configurations for payment modules
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
namespace App\Enumerations;
|
||||
|
||||
use App\Scopes\CommonModel;
|
||||
|
||||
/**
|
||||
* Lebenszyklus-Status einer Zahlung -- DB-gestützt, analog zu {@see InvoiceStatus}.
|
||||
* Reine Steuersignale (z.B. Redirect) gehören NICHT hierher, sondern bleiben transiente
|
||||
* Felder auf {@see \App\EventPaymentModules\DTO\DoPaymentResponse}.
|
||||
*/
|
||||
class PaymentStatus extends CommonModel
|
||||
{
|
||||
public const PAYMENT_STATUS_PENDING = 'pending';
|
||||
public const PAYMENT_STATUS_SCHEDULED = 'scheduled';
|
||||
public const PAYMENT_STATUS_PAID = 'paid';
|
||||
public const PAYMENT_STATUS_FAILED = 'failed';
|
||||
|
||||
protected $table = 'payment_status';
|
||||
|
||||
protected $fillable = [
|
||||
'slug',
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user