LeadConvert::getBypassContactDedupeCheck()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 3
rs 10
1
<?php
2
3
namespace SForce\Wsdl;
4
5
class LeadConvert
6
{
7
    /**
8
     * @var ID
9
     */
10
    protected $accountId = null;
11
12
    /**
13
     * @var sObject
14
     */
15
    protected $accountRecord = null;
16
17
    /**
18
     * @var boolean
19
     */
20
    protected $bypassAccountDedupeCheck = null;
21
22
    /**
23
     * @var boolean
24
     */
25
    protected $bypassContactDedupeCheck = null;
26
27
    /**
28
     * @var ID
29
     */
30
    protected $contactId = null;
31
32
    /**
33
     * @var sObject
34
     */
35
    protected $contactRecord = null;
36
37
    /**
38
     * @var string
39
     */
40
    protected $convertedStatus = null;
41
42
    /**
43
     * @var boolean
44
     */
45
    protected $doNotCreateOpportunity = null;
46
47
    /**
48
     * @var ID
49
     */
50
    protected $leadId = null;
51
52
    /**
53
     * @var ID
54
     */
55
    protected $opportunityId = null;
56
57
    /**
58
     * @var string
59
     */
60
    protected $opportunityName = null;
61
62
    /**
63
     * @var sObject
64
     */
65
    protected $opportunityRecord = null;
66
67
    /**
68
     * @var boolean
69
     */
70
    protected $overwriteLeadSource = null;
71
72
    /**
73
     * @var ID
74
     */
75
    protected $ownerId = null;
76
77
    /**
78
     * @var boolean
79
     */
80
    protected $sendNotificationEmail = null;
81
82
    /**
83
     * @param string $convertedStatus
84
     * @param boolean $doNotCreateOpportunity
85
     * @param ID $leadId
86
     * @param boolean $overwriteLeadSource
87
     * @param boolean $sendNotificationEmail
88
     */
89
    public function __construct($convertedStatus = null, $doNotCreateOpportunity = null, $leadId = null, $overwriteLeadSource = null, $sendNotificationEmail = null)
90
    {
91
        $this->convertedStatus = $convertedStatus;
92
        $this->doNotCreateOpportunity = $doNotCreateOpportunity;
93
        $this->leadId = $leadId;
94
        $this->overwriteLeadSource = $overwriteLeadSource;
95
        $this->sendNotificationEmail = $sendNotificationEmail;
96
    }
97
98
    /**
99
     * @return ID
100
     */
101
    public function getAccountId()
102
    {
103
        return $this->accountId;
104
    }
105
106
    /**
107
     * @param ID $accountId
108
     * @return \SForce\Wsdl\LeadConvert
109
     */
110
    public function setAccountId($accountId)
111
    {
112
        $this->accountId = $accountId;
113
        return $this;
114
    }
115
116
    /**
117
     * @return sObject
118
     */
119
    public function getAccountRecord()
120
    {
121
        return $this->accountRecord;
122
    }
123
124
    /**
125
     * @param sObject $accountRecord
126
     * @return \SForce\Wsdl\LeadConvert
127
     */
128
    public function setAccountRecord($accountRecord)
129
    {
130
        $this->accountRecord = $accountRecord;
131
        return $this;
132
    }
133
134
    /**
135
     * @return boolean
136
     */
137
    public function getBypassAccountDedupeCheck()
138
    {
139
        return $this->bypassAccountDedupeCheck;
140
    }
141
142
    /**
143
     * @param boolean $bypassAccountDedupeCheck
144
     * @return \SForce\Wsdl\LeadConvert
145
     */
146
    public function setBypassAccountDedupeCheck($bypassAccountDedupeCheck)
147
    {
148
        $this->bypassAccountDedupeCheck = $bypassAccountDedupeCheck;
149
        return $this;
150
    }
151
152
    /**
153
     * @return boolean
154
     */
155
    public function getBypassContactDedupeCheck()
156
    {
157
        return $this->bypassContactDedupeCheck;
158
    }
159
160
    /**
161
     * @param boolean $bypassContactDedupeCheck
162
     * @return \SForce\Wsdl\LeadConvert
163
     */
164
    public function setBypassContactDedupeCheck($bypassContactDedupeCheck)
165
    {
166
        $this->bypassContactDedupeCheck = $bypassContactDedupeCheck;
167
        return $this;
168
    }
169
170
    /**
171
     * @return ID
172
     */
173
    public function getContactId()
174
    {
175
        return $this->contactId;
176
    }
177
178
    /**
179
     * @param ID $contactId
180
     * @return \SForce\Wsdl\LeadConvert
181
     */
182
    public function setContactId($contactId)
183
    {
184
        $this->contactId = $contactId;
185
        return $this;
186
    }
187
188
    /**
189
     * @return sObject
190
     */
191
    public function getContactRecord()
192
    {
193
        return $this->contactRecord;
194
    }
195
196
    /**
197
     * @param sObject $contactRecord
198
     * @return \SForce\Wsdl\LeadConvert
199
     */
200
    public function setContactRecord($contactRecord)
201
    {
202
        $this->contactRecord = $contactRecord;
203
        return $this;
204
    }
205
206
    /**
207
     * @return string
208
     */
209
    public function getConvertedStatus()
210
    {
211
        return $this->convertedStatus;
212
    }
213
214
    /**
215
     * @param string $convertedStatus
216
     * @return \SForce\Wsdl\LeadConvert
217
     */
218
    public function setConvertedStatus($convertedStatus)
219
    {
220
        $this->convertedStatus = $convertedStatus;
221
        return $this;
222
    }
223
224
    /**
225
     * @return boolean
226
     */
227
    public function getDoNotCreateOpportunity()
228
    {
229
        return $this->doNotCreateOpportunity;
230
    }
231
232
    /**
233
     * @param boolean $doNotCreateOpportunity
234
     * @return \SForce\Wsdl\LeadConvert
235
     */
236
    public function setDoNotCreateOpportunity($doNotCreateOpportunity)
237
    {
238
        $this->doNotCreateOpportunity = $doNotCreateOpportunity;
239
        return $this;
240
    }
241
242
    /**
243
     * @return ID
244
     */
245
    public function getLeadId()
246
    {
247
        return $this->leadId;
248
    }
249
250
    /**
251
     * @param ID $leadId
252
     * @return \SForce\Wsdl\LeadConvert
253
     */
254
    public function setLeadId($leadId)
255
    {
256
        $this->leadId = $leadId;
257
        return $this;
258
    }
259
260
    /**
261
     * @return ID
262
     */
263
    public function getOpportunityId()
264
    {
265
        return $this->opportunityId;
266
    }
267
268
    /**
269
     * @param ID $opportunityId
270
     * @return \SForce\Wsdl\LeadConvert
271
     */
272
    public function setOpportunityId($opportunityId)
273
    {
274
        $this->opportunityId = $opportunityId;
275
        return $this;
276
    }
277
278
    /**
279
     * @return string
280
     */
281
    public function getOpportunityName()
282
    {
283
        return $this->opportunityName;
284
    }
285
286
    /**
287
     * @param string $opportunityName
288
     * @return \SForce\Wsdl\LeadConvert
289
     */
290
    public function setOpportunityName($opportunityName)
291
    {
292
        $this->opportunityName = $opportunityName;
293
        return $this;
294
    }
295
296
    /**
297
     * @return sObject
298
     */
299
    public function getOpportunityRecord()
300
    {
301
        return $this->opportunityRecord;
302
    }
303
304
    /**
305
     * @param sObject $opportunityRecord
306
     * @return \SForce\Wsdl\LeadConvert
307
     */
308
    public function setOpportunityRecord($opportunityRecord)
309
    {
310
        $this->opportunityRecord = $opportunityRecord;
311
        return $this;
312
    }
313
314
    /**
315
     * @return boolean
316
     */
317
    public function getOverwriteLeadSource()
318
    {
319
        return $this->overwriteLeadSource;
320
    }
321
322
    /**
323
     * @param boolean $overwriteLeadSource
324
     * @return \SForce\Wsdl\LeadConvert
325
     */
326
    public function setOverwriteLeadSource($overwriteLeadSource)
327
    {
328
        $this->overwriteLeadSource = $overwriteLeadSource;
329
        return $this;
330
    }
331
332
    /**
333
     * @return ID
334
     */
335
    public function getOwnerId()
336
    {
337
        return $this->ownerId;
338
    }
339
340
    /**
341
     * @param ID $ownerId
342
     * @return \SForce\Wsdl\LeadConvert
343
     */
344
    public function setOwnerId($ownerId)
345
    {
346
        $this->ownerId = $ownerId;
347
        return $this;
348
    }
349
350
    /**
351
     * @return boolean
352
     */
353
    public function getSendNotificationEmail()
354
    {
355
        return $this->sendNotificationEmail;
356
    }
357
358
    /**
359
     * @param boolean $sendNotificationEmail
360
     * @return \SForce\Wsdl\LeadConvert
361
     */
362
    public function setSendNotificationEmail($sendNotificationEmail)
363
    {
364
        $this->sendNotificationEmail = $sendNotificationEmail;
365
        return $this;
366
    }
367
}
368