<?php

declare(strict_types=1);

namespace ImovelZapAi\Financial\Domain\Enums;

enum PaymentMethod: string
{
    case Pix = 'pix';
    case Ted = 'ted';
    case Boleto = 'boleto';
    case Card = 'card';
    case Cash = 'cash';
    case Cheque = 'cheque';

    public function label(): string
    {
        return match ($this) {
            self::Pix => 'Pix',
            self::Ted => 'TED',
            self::Boleto => 'Boleto',
            self::Card => 'Cartão',
            self::Cash => 'Dinheiro',
            self::Cheque => 'Cheque',
        };
    }
}
