-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLead.php
More file actions
228 lines (198 loc) · 3.1 KB
/
Lead.php
File metadata and controls
228 lines (198 loc) · 3.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
<?php namespace Zoho\CRM\Entities;
use Zoho\CRM\Wrapper\Element;
/**
* Entity for leads inside Zoho
* This class only have default parameters
*
* @package Zoho\CRM\Entities
* @version 1.0.0
*/
class Lead extends Element
{
/**
* Zoho CRM user to whom the Lead is assigned.
*
* @var string
*/
public $Lead_Owner;
/**
* Salutation for the lead
*
* @var string
*/
public $Salutation;
/**
* First name of the lead
*
* @var string
*/
public $First_Name;
/**
* The job position of the lead
*
* @var string
*/
public $Title;
/**
* Last name of the lead
*
* @var string
*/
public $Last_Name;
/**
* Name of the company where the lead is working.
* This field is a mandatory
*
* @var string
*/
public $Company;
/**
* Source of the lead, that is, from where the lead is generated
*
* @var string
*/
public $Lead_Souce;
/**
* Industry to which the lead belongs
*
* @var string
*/
public $Industry;
/**
* Annual revenue of the company where the lead is working
*
* @var integer
*/
public $Annual_Revenue;
/**
* Phone number of the lead
*
* @var string
*/
public $Phone;
/**
* Modile number of the lead
*
* @var string
*/
public $Mobile;
/**
* Fax number of the lead
*
* @var string
*/
public $Fax;
/**
* Email address of the lead
*
* @var string
*/
public $Email;
/**
* Secundary email address of the lead
*
* @var string
*/
public $Secundary_Email;
/**
* Skype ID of the lead. Currently skype ID
* can be in the range of 6 to 32 characters
*
* @var string
*/
public $Skype_ID;
/**
* Web site of the lead
*
* @var string
*/
public $Website;
/**
* Status of the lead
*
* @var string
*/
public $Lead_Status;
/**
* Rating of the lead
*
* @var string
*/
public $Rating;
/**
* Number of employees in lead's company
*
* @var integer
*/
public $No_of_Employees;
/**
* Remove leads from your mailing list so that they will
* not receive any emails from your Zoho CRM account
*
* @var string
*/
public $Email_Opt_Out;
/**
* Campaign related to the Lead
*
* @var string
*/
public $Campaing_Source;
/**
* Street address of the lead
*
* @var string
*/
public $Street;
/**
* Name of the city where the lead lives
*
* @var string
*/
public $City;
/**
* Name of the state where the lead lives
*
* @var string
*/
public $State;
/**
* Postal code of the lead's address
*
* @var string
*/
public $Zip_Code;
/**
* Name of the lead's country
*
* @var string
*/
public $Country;
/**
* Other details about the lead
*
* @var string
*/
public $Description;
/**
* Getter
*
* @return mixed
*/
public function __get($property)
{
return isset($this->$property)?$this->$property :null;
}
/**
* Setter
*
* @param string $property Name of the property to set the value
* @param mixed $value Value for the property
* @return mixed
*/
public function __set($property, $value)
{
$this->$property = $value;
return $this->$property;
}
}