<?php

namespace App\Enums;

enum SubscriptionGateway: string
{
    case Paddle = 'paddle';
    case ZainCash = 'zaincash';
    case SuperQi = 'superqi';

    public function label(): string
    {
        return __(match ($this) {
            self::Paddle => 'Card (Paddle)',
            self::ZainCash => 'Zain Cash',
            self::SuperQi => 'SuperQi',
        });
    }

    public function isManual(): bool
    {
        return $this !== self::Paddle;
    }
}
