<?php

namespace App\Enums\Barangay;

enum PaymentStatus: string
{
    case PENDING = 'PENDING';
    case PAID = 'PAID';
    case REFUNDED = 'REFUNDED';
    case WAIVED = 'WAIVED';

    public function label(): string
    {
        return match($this) {
            self::PENDING  => 'Pending',
            self::PAID     => 'Paid',
            self::REFUNDED => 'Refunded',
            self::WAIVED   => 'Waived',
        };
    }
}
