<?php

namespace App\Domain\Pricing\Enums;

enum PromotionType: string
{
    case Automatic = 'automatic';
    case Coupon = 'coupon';
    case Campaign = 'campaign';

    public function label(): string
    {
        return match ($this) {
            self::Automatic => 'تلقائي',
            self::Coupon => 'كوبون',
            self::Campaign => 'حملة',
        };
    }
}
