You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 satır
999B

  1. <?php
  2. namespace App\Email\Members;
  3. use App\Kintone\Models\Customer;
  4. use App\Kintone\Models\SeasonTicketContract;
  5. use App\Kintone\Models\UserInfoUpdateApplication;
  6. class UserInfoUpdateOrderApprove extends Members
  7. {
  8. public function __construct(
  9. private UserInfoUpdateApplication $app,
  10. ?Customer $customer = null,
  11. ) {
  12. if ($customer === null) {
  13. $customer = $app->getCustomer();
  14. }
  15. parent::__construct($customer);
  16. }
  17. public function getTemplateName(): string
  18. {
  19. return 'emails.members.user_info_update_order_approve';
  20. }
  21. public function getSubject(): string
  22. {
  23. return "利用者情報変更完了のお知らせ";
  24. }
  25. public function getMemberParams(): array
  26. {
  27. return [
  28. 'zip_code' => $this->app->zipCodeAfter,
  29. 'address' => $this->app->addressAfter,
  30. 'phone_no' => $this->app->phoneNoAfter,
  31. 'memo' => $this->app->memo,
  32. ];
  33. }
  34. }