timing, [ 'package' => $this->localizedPackageName(), ]), ); } public function content(): Content { return new Content( view: 'emails.abandoned-checkout', with: [ 'user' => $this->user, 'package' => $this->package, 'packageName' => $this->localizedPackageName(), 'timing' => $this->timing, 'resumeUrl' => $this->resumeUrl, ], ); } public function attachments(): array { return []; } private function localizedPackageName(): string { $locale = $this->locale ?? app()->getLocale(); return $this->package->getNameForLocale($locale); } }