<?php

declare(strict_types=1);

namespace ImovelZapAi\Financial\Domain\Enums;

enum CommissionStatus: string
{
    case Calculated = 'calculated';
    case Released = 'released';
    case Paid = 'paid';
    case Cancelled = 'cancelled';

    public function label(): string
    {
        return match ($this) {
            self::Calculated => 'Calculada',
            self::Released => 'Liberada',
            self::Paid => 'Paga',
            self::Cancelled => 'Cancelada',
        };
    }
}
