You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
412 B
18 lines
412 B
<?php
|
|
|
|
namespace App\Domains\Finance\Enums;
|
|
|
|
use App\Domains\System\Traits\Enum\HasPredicateMethod;
|
|
use App\UI\Enums\Concerns\InteractsWithLabels;
|
|
use App\UI\Enums\Contracts\HasLabel;
|
|
|
|
enum PaymentStatus: string implements HasLabel
|
|
{
|
|
use HasPredicateMethod;
|
|
use InteractsWithLabels;
|
|
|
|
case PENDING = 'pending';
|
|
case SUCCESS = 'success';
|
|
case FAILED = 'failed';
|
|
case EXPIRED = 'expired';
|
|
}
|
|
|