IdentityInterface.php 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Sales\Model\Order\Email\Container;
  7. use Magento\Store\Model\Store;
  8. /**
  9. * Interface \Magento\Sales\Model\Order\Email\Container\IdentityInterface
  10. *
  11. */
  12. interface IdentityInterface
  13. {
  14. /**
  15. * @return bool
  16. */
  17. public function isEnabled();
  18. /**
  19. * @return array|bool
  20. */
  21. public function getEmailCopyTo();
  22. /**
  23. * @return mixed
  24. */
  25. public function getCopyMethod();
  26. /**
  27. * @return mixed
  28. */
  29. public function getGuestTemplateId();
  30. /**
  31. * @return mixed
  32. */
  33. public function getTemplateId();
  34. /**
  35. * @return mixed
  36. */
  37. public function getEmailIdentity();
  38. /**
  39. * @return string
  40. */
  41. public function getCustomerEmail();
  42. /**
  43. * @return string
  44. */
  45. public function getCustomerName();
  46. /**
  47. * @return Store
  48. */
  49. public function getStore();
  50. /**
  51. * @param Store $store
  52. * @return mixed
  53. */
  54. public function setStore(Store $store);
  55. /**
  56. * @param string $email
  57. * @return mixed
  58. */
  59. public function setCustomerEmail($email);
  60. /**
  61. * @param string $name
  62. * @return mixed
  63. */
  64. public function setCustomerName($name);
  65. }