<?php

namespace App\Enums;

enum PackagePricingMethod: string
{
    case Calculated = 'calculated';
    case Fixed = 'fixed';

    public function label(): string
    {
        return match ($this) {
            self::Calculated => 'Calculated from Items',
            self::Fixed => 'Fixed Package Price',
        };
    }
}
