1 <?php
2 /* --------------------------------------------------------------
3 EmailContactInterface.php 2015-01-29 gm
4 Gambio GmbH
5 http://www.gambio.de
6 Copyright (c) 2015 Gambio GmbH
7 Released under the GNU General Public License (Version 2)
8 [http://www.gnu.org/licenses/gpl-2.0.html]
9 --------------------------------------------------------------
10 */
11
12 /**
13 * Interface EmailContactInterface
14 *
15 * @category System
16 * @package Email
17 * @subpackage Interfaces
18 */
19 interface EmailContactInterface
20 {
21 /**
22 * Returns an email address.
23 *
24 * @return string E-Mail address.
25 */
26 public function getEmailAddress();
27
28
29 /**
30 * Sets an email address.
31 *
32 * @param EmailAddressInterface $emailAddress E-Mail address.
33 */
34 public function setEmailAddress(EmailAddressInterface $emailAddress);
35
36
37 /**
38 * Returns the contact name of an email.
39 *
40 * @return string E-Mail contact name.
41 */
42 public function getContactName();
43
44
45 /**
46 * Sets the contact name of an email.
47 *
48 * @param ContactNameInterface $contactName E-Mail contact name.
49 */
50 public function setContactName(ContactNameInterface $contactName);
51
52
53 /**
54 * Returns the contact type of an email.
55 *
56 * @return ContactTypeInterface E-Mail contact type.
57 */
58 public function getContactType();
59
60
61 /**
62 * Sets the contact type of an email.
63 *
64 * @param ContactTypeInterface $contactType E-Mail contact type.
65 */
66 public function setContactType(ContactTypeInterface $contactType);
67 }