<?php

namespace App\Enums;

use App\Traits\ProvidesEnumOptions;

enum MarketplaceFeeScope: string
{
    use ProvidesEnumOptions;

    case PRODUCT = 'product';
    case TRANSACTION = 'transaction';

    public function label(): string
    {
        return match ($this) {
            self::PRODUCT => 'Per Produk',
            self::TRANSACTION => 'Per Transaksi',
        };
    }
}
