<?php

namespace App\Modules\Payroll\Support;

final class PayrollAdjustmentType
{
    public const BONUS = 'bonus';

    public const DEDUCTION = 'deduction';

    public const REIMBURSEMENT = 'reimbursement';

    public const OVERTIME = 'overtime';

    /**
     * @return list<string>
     */
    public static function all(): array
    {
        return [self::BONUS, self::DEDUCTION, self::REIMBURSEMENT, self::OVERTIME];
    }

    /**
     * Types that increase gross pay.
     *
     * @return list<string>
     */
    public static function earnings(): array
    {
        return [self::BONUS, self::REIMBURSEMENT, self::OVERTIME];
    }
}
