Commit | Line | Data |
---|---|---|
caed3ddc | 1 | <?php |
bc77d7c0 TO |
2 | /* |
3 | +--------------------------------------------------------------------+ | |
4 | | Copyright CiviCRM LLC. All rights reserved. | | |
5 | | | | |
6 | | This work is published under the GNU AGPLv3 license with some | | |
7 | | permitted exceptions and without any warranty. For full license | | |
8 | | and copyright information, see https://civicrm.org/licensing | | |
9 | +--------------------------------------------------------------------+ | |
10 | */ | |
caed3ddc SL |
11 | |
12 | /** | |
bc77d7c0 TO |
13 | * |
14 | * @package CRM | |
15 | * @copyright CiviCRM LLC https://civicrm.org/licensing | |
16 | * $Id$ | |
17 | * | |
caed3ddc | 18 | */ |
caed3ddc SL |
19 | class CRM_SMS_Message { |
20 | ||
21 | /** | |
caed3ddc | 22 | * What address is this SMS message coming from. |
9f266042 | 23 | * |
24 | * @var string | |
caed3ddc SL |
25 | */ |
26 | public $from = ''; | |
27 | ||
28 | ||
29 | /** | |
caed3ddc | 30 | * What address is this SMS message going to. |
9f266042 | 31 | * |
32 | * @var string | |
caed3ddc SL |
33 | */ |
34 | public $to = ''; | |
35 | ||
36 | /** | |
9f266042 | 37 | * Contact ID that is matched to the From address. |
38 | * | |
39 | * @var int | |
caed3ddc SL |
40 | */ |
41 | public $fromContactID = NULL; | |
42 | ||
43 | /** | |
9f266042 | 44 | * Contact ID that is matched to the To address. |
45 | * | |
46 | * @var int | |
caed3ddc SL |
47 | */ |
48 | public $toContactID = NULL; | |
49 | ||
50 | /** | |
9f266042 | 51 | * Body content of the message. |
52 | * | |
53 | * @var string | |
caed3ddc SL |
54 | */ |
55 | public $body = ''; | |
56 | ||
57 | /** | |
9f266042 | 58 | * Trackable ID in the system to match to. |
59 | * | |
60 | * @var int | |
caed3ddc SL |
61 | */ |
62 | public $trackID = NULL; | |
63 | ||
64 | } |