province abbreviation patch - issue 724
[civicrm-core.git] / CRM / SMS / Message.php
CommitLineData
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
caed3ddc 16 */
caed3ddc
SL
17class CRM_SMS_Message {
18
19 /**
caed3ddc 20 * What address is this SMS message coming from.
9f266042 21 *
22 * @var string
caed3ddc
SL
23 */
24 public $from = '';
25
26
27 /**
caed3ddc 28 * What address is this SMS message going to.
9f266042 29 *
30 * @var string
caed3ddc
SL
31 */
32 public $to = '';
33
34 /**
9f266042 35 * Contact ID that is matched to the From address.
36 *
37 * @var int
caed3ddc
SL
38 */
39 public $fromContactID = NULL;
40
41 /**
9f266042 42 * Contact ID that is matched to the To address.
43 *
44 * @var int
caed3ddc
SL
45 */
46 public $toContactID = NULL;
47
48 /**
9f266042 49 * Body content of the message.
50 *
51 * @var string
caed3ddc
SL
52 */
53 public $body = '';
54
55 /**
9f266042 56 * Trackable ID in the system to match to.
57 *
58 * @var int
caed3ddc
SL
59 */
60 public $trackID = NULL;
61
62}