namespace App\Notifications;
use Esign\UnleashCommerce\Core\Contracts\Notifications\OrderConfirmationNotification as OrderConfirmationNotificationContract;
use Esign\UnleashCommerce\Core\Notifications\OrderConfirmationNotification as BaseOrderConfirmationNotification;
use Illuminate\Notifications\Messages\MailMessage;
class OrderConfirmationNotification extends BaseOrderConfirmationNotification implements OrderConfirmationNotificationContract
{
public function toMail($notifiable)
{
return (new MailMessage)
->subject('Your order is confirmed')
->line('Thanks for your purchase.')
->action('View your order', route('orders.index'));
}
}