<?php

namespace App\Mail;

use App\Models\Payment;
use App\Models\User;
use Illuminate\Mail\Mailables\Content;

class PaymentFailedMail extends BaseGuildMail
{
    public function __construct(
        public User $user,
        public Payment $payment,
        public string $reason,
    ) {}

    protected function getSubject(): string
    {
        return 'Payment Failed — Guild360';
    }

    public function content(): Content
    {
        return new Content(
            view: 'emails.payment.failed',
        );
    }
}
