| 1 | <?php |
||
| 12 | abstract class AbstractCallTrackingMessage implements MessageInterface |
||
| 13 | { |
||
| 14 | use SiteAwareMessageTrait; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var string |
||
| 18 | */ |
||
| 19 | private $name; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @var string|null |
||
| 23 | */ |
||
| 24 | private $phoneDid; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @var string |
||
| 28 | */ |
||
| 29 | private $phoneDestination; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @var bool |
||
| 33 | */ |
||
| 34 | private $callerId; |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @return string |
||
| 38 | */ |
||
| 39 | public function getName(): string |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @param string $name |
||
| 46 | */ |
||
| 47 | public function setName(string $name) |
||
| 51 | |||
| 52 | /** |
||
| 53 | * @return null|string |
||
| 54 | */ |
||
| 55 | public function getPhoneDid() |
||
| 59 | |||
| 60 | /** |
||
| 61 | * @param null|string $phoneDid |
||
| 62 | */ |
||
| 63 | public function setPhoneDid(string $phoneDid = null) |
||
| 67 | |||
| 68 | /** |
||
| 69 | * @return string |
||
| 70 | */ |
||
| 71 | public function getPhoneDestination(): string |
||
| 75 | |||
| 76 | /** |
||
| 77 | * @param string $phoneDestination |
||
| 78 | */ |
||
| 79 | public function setPhoneDestination(string $phoneDestination) |
||
| 83 | |||
| 84 | /** |
||
| 85 | * @return boolean |
||
| 86 | */ |
||
| 87 | public function hasCallerId(): bool |
||
| 91 | |||
| 92 | /** |
||
| 93 | * @param boolean $callerId |
||
| 94 | */ |
||
| 95 | public function setCallerId(bool $callerId) |
||
| 99 | } |
||
| 100 |