<?php

declare(strict_types=1);

return [
    'default_commission_type' => env('AFFILIATE_COMMISSION_TYPE', 'percentage'),
    'default_commission_rate' => (float) env('AFFILIATE_COMMISSION_RATE', 10.00),
    'default_recurring_commissions' => (bool) env('AFFILIATE_RECURRING_COMMISSIONS', false),
    'default_minimum_payout' => (float) env('AFFILIATE_MINIMUM_PAYOUT', 50.00),

    'cookie_lifetime_days' => (int) env('AFFILIATE_COOKIE_DAYS', 30),
    'auto_approve' => (bool) env('AFFILIATE_AUTO_APPROVE', false),
];
