1 | <?php |
||
22 | class SmsMessageCallbackEvent extends Event |
||
23 | { |
||
24 | /** |
||
25 | * @var CallbackRequest $callbackRequest Callback request |
||
26 | */ |
||
27 | private $callbackRequest; |
||
28 | |||
29 | /** |
||
30 | * Constructor. |
||
31 | * |
||
32 | * @param CallbackRequest $callbackRequest Callback request |
||
33 | */ |
||
34 | public function __construct(CallbackRequest $callbackRequest) |
||
38 | |||
39 | /** |
||
40 | * Get event. |
||
41 | * |
||
42 | * @return string Event |
||
43 | */ |
||
44 | public function getEvent() |
||
48 | |||
49 | /** |
||
50 | * Get to. |
||
51 | * |
||
52 | * @return Identity To |
||
53 | */ |
||
54 | public function getTo() |
||
58 | |||
59 | /** |
||
60 | * Get from. |
||
61 | * |
||
62 | * @return Identity From |
||
63 | */ |
||
64 | public function getFrom() |
||
68 | |||
69 | /** |
||
70 | * Get message. |
||
71 | * |
||
72 | * @return string Message |
||
73 | */ |
||
74 | public function getMessage() |
||
78 | |||
79 | /** |
||
80 | * Get timestamp. |
||
81 | * |
||
82 | * @return \DateTime Timestamp |
||
83 | */ |
||
84 | public function getTimestamp() |
||
88 | |||
89 | /** |
||
90 | * Get version. |
||
91 | * |
||
92 | * @return int Version |
||
93 | */ |
||
94 | public function getVersion() |
||
98 | } |
||
99 |