| 1 | <?php |
| 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 | */ |
| 11 | |
| 12 | /** |
| 13 | * |
| 14 | * @package CRM |
| 15 | * @copyright CiviCRM LLC https://civicrm.org/licensing |
| 16 | */ |
| 17 | class CRM_SMS_Message { |
| 18 | |
| 19 | /** |
| 20 | * What address is this SMS message coming from. |
| 21 | * |
| 22 | * @var string |
| 23 | */ |
| 24 | public $from = ''; |
| 25 | |
| 26 | |
| 27 | /** |
| 28 | * What address is this SMS message going to. |
| 29 | * |
| 30 | * @var string |
| 31 | */ |
| 32 | public $to = ''; |
| 33 | |
| 34 | /** |
| 35 | * Contact ID that is matched to the From address. |
| 36 | * |
| 37 | * @var int |
| 38 | */ |
| 39 | public $fromContactID = NULL; |
| 40 | |
| 41 | /** |
| 42 | * Contact ID that is matched to the To address. |
| 43 | * |
| 44 | * @var int |
| 45 | */ |
| 46 | public $toContactID = NULL; |
| 47 | |
| 48 | /** |
| 49 | * Body content of the message. |
| 50 | * |
| 51 | * @var string |
| 52 | */ |
| 53 | public $body = ''; |
| 54 | |
| 55 | /** |
| 56 | * Trackable ID in the system to match to. |
| 57 | * |
| 58 | * @var int |
| 59 | */ |
| 60 | public $trackID = NULL; |
| 61 | |
| 62 | } |