Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
Contact
n/a
0 / 0
n/a
0 / 0
0
n/a
0 / 0
1<?php
2/**
3 * Contact Entity.
4 *
5 * @package automattic/jetpack-crm
6 */
7
8namespace Automattic\Jetpack\CRM\Entities;
9
10/**
11 * Contact class.
12 *
13 * @since 6.2.0
14 */
15class Contact {
16
17    /**
18     * The DB ID of the object.
19     *
20     * @var int
21     */
22    public $id = -1;
23
24    /**
25     * The owner of the object.
26     *
27     * @var int
28     */
29    public $owner = -1;
30
31    /**
32     * The contact status.
33     *
34     * @var string
35     */
36    public $status = '';
37
38    /**
39     * The contact email.
40     *
41     * @var string
42     */
43    public $email = '';
44
45    /**
46     * The contact prefix.
47     *
48     * @var string
49     */
50    public $prefix = '';
51
52    /**
53     * The contact first name.
54     *
55     * @var string
56     */
57    public $fname = '';
58
59    /**
60     * The contact last name.
61     *
62     * @var string
63     */
64    public $lname = '';
65
66    /**
67     * The contact address line 1.
68     *
69     * @var string
70     */
71    public $addr1 = '';
72
73    /**
74     * The contact address line 2.
75     *
76     * @var string
77     */
78    public $addr2 = '';
79
80    /**
81     * The contact city.
82     *
83     * @var string
84     */
85    public $city = '';
86
87    /**
88     * The contact county.
89     *
90     * @var string
91     */
92    public $county = '';
93
94    /**
95     * The contact postcode.
96     *
97     * @var string
98     */
99    public $postcode = '';
100
101    /**
102     * The contact country.
103     *
104     * @var string
105     */
106    public $country = '';
107
108    /**
109     * The contact second address line 1.
110     *
111     * @var string
112     */
113    public $secaddr_addr1 = '';
114
115    /**
116     * The contact second address line 2.
117     *
118     * @var string
119     */
120    public $secaddr_addr2 = '';
121
122    /**
123     * The contact second city.
124     *
125     * @var string
126     */
127    public $secaddr_city = '';
128
129    /**
130     * The contact second county.
131     *
132     * @var string
133     */
134    public $secaddr_county = '';
135
136    /**
137     * The contact second postcode.
138     *
139     * @var string
140     */
141    public $secaddr_postcode = '';
142
143    /**
144     * The contact second country.
145     *
146     * @var string
147     */
148    public $secaddr_country = '';
149
150    /**
151     * The contact home telephone.
152     *
153     * @var string
154     */
155    public $hometel = '';
156
157    /**
158     * The contact work telephone.
159     *
160     * @var string
161     */
162    public $worktel = '';
163
164    /**
165     * The contact mobile telephone.
166     *
167     * @var string
168     */
169    public $mobtel = '';
170
171    /**
172     * The contact WordPress ID.
173     *
174     * @var int
175     */
176    public $wpid = -1;
177
178    /**
179     * The contact avatar.
180     *
181     * @var string
182     */
183    public $avatar = '';
184
185    /**
186     * The contact twitter.
187     *
188     * @var string
189     */
190    public $tw = '';
191
192    /**
193     * The contact Linkedin.
194     *
195     * @var string
196     */
197    public $li = '';
198
199    /**
200     * The contact Facebook.
201     *
202     * @var string
203     */
204    public $fb = '';
205
206    /**
207     * The contact created timestamp.
208     *
209     * @var int|null
210     */
211    public $created = null;
212
213    /**
214     * The contact last updated timestamp.
215     *
216     * @var int|null
217     */
218    public $lastupdated = null;
219
220    /**
221     * The contact last contacted timestamp.
222     *
223     * @var int|null
224     */
225    public $lastcontacted = null;
226
227    /**
228     * The contact meta.
229     *
230     * @var array
231     */
232    public $meta = array();
233
234    /**
235     * The contact tags.
236     *
237     * @var array
238     */
239    public $tags = array();
240
241    /**
242     * Custom fields.
243     *
244     * @var array Custom fields.
245     */
246    public $custom_fields = array();
247}