<?php

declare(strict_types=1);

namespace App\Events;

use App\Models\User;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Queue\SerializesModels;

class PaymentFailed
{
    use Dispatchable, SerializesModels;

    public function __construct(
        public User $user,
        public string $gateway,
        public string $gatewayTransactionId,
        public float $amount,
        public string $currency,
        public string $reason,
    ) {}
}
