|
- <?php
-
- namespace App\Email\Members;
-
- use App\Kintone\Models\Customer;
- use App\Kintone\Models\SeasonTicketContract;
- use App\Kintone\Models\StickerReOrderApplication;
-
- class StickerReOrderNotice extends Members
- {
-
- public function __construct(
- protected Customer $customer,
- private SeasonTicketContract $seasonTicketContract,
- private StickerReOrderApplication $app
- ) {
- parent::__construct($customer);
- }
-
- public function getTemplateName(): string
- {
- return 'emails.members.sticker_re_order_notice';
- }
-
- public function getSubject(): string
- {
- return "シール再発行申請受付のお知らせ";
- }
-
- public function getMemberParams(): array
- {
- return [
- 'parking_name' => $this->app->parkingName,
- 'zip_code' => $this->customer->zipCode,
- 'address' => $this->customer->address,
- 'reason' => $this->app->reason,
- 'memo' => $this->app->memo,
- ];
- }
- }
|