1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
namespace Ovh\StructType; |
4
|
|
|
|
5
|
|
|
use \WsdlToPhp\PackageBase\AbstractStructBase; |
6
|
|
|
|
7
|
|
|
/** |
8
|
|
|
* This class stands for telephonyNumberOrder StructType |
9
|
|
|
* @subpackage Structs |
10
|
|
|
* @author WsdlToPhp <[email protected]> |
11
|
|
|
*/ |
12
|
|
|
class TelephonyNumberOrder extends AbstractStructBase |
13
|
|
|
{ |
14
|
|
|
/** |
15
|
|
|
* The session |
16
|
|
|
* Meta information extracted from the WSDL |
17
|
|
|
* - nillable: true |
18
|
|
|
* @var string |
19
|
|
|
*/ |
20
|
|
|
public $session; |
21
|
|
|
/** |
22
|
|
|
* The billingAccount |
23
|
|
|
* Meta information extracted from the WSDL |
24
|
|
|
* - nillable: true |
25
|
|
|
* @var string |
26
|
|
|
*/ |
27
|
|
|
public $billingAccount; |
28
|
|
|
/** |
29
|
|
|
* The aliasNumber |
30
|
|
|
* Meta information extracted from the WSDL |
31
|
|
|
* - nillable: true |
32
|
|
|
* @var string |
33
|
|
|
*/ |
34
|
|
|
public $aliasNumber; |
35
|
|
|
/** |
36
|
|
|
* The prefix |
37
|
|
|
* Meta information extracted from the WSDL |
38
|
|
|
* - nillable: true |
39
|
|
|
* @var string |
40
|
|
|
*/ |
41
|
|
|
public $prefix; |
42
|
|
|
/** |
43
|
|
|
* The country |
44
|
|
|
* Meta information extracted from the WSDL |
45
|
|
|
* - nillable: true |
46
|
|
|
* @var string |
47
|
|
|
*/ |
48
|
|
|
public $country; |
49
|
|
|
/** |
50
|
|
|
* The name |
51
|
|
|
* Meta information extracted from the WSDL |
52
|
|
|
* - nillable: true |
53
|
|
|
* @var string |
54
|
|
|
*/ |
55
|
|
|
public $name; |
56
|
|
|
/** |
57
|
|
|
* The firstname |
58
|
|
|
* Meta information extracted from the WSDL |
59
|
|
|
* - nillable: true |
60
|
|
|
* @var string |
61
|
|
|
*/ |
62
|
|
|
public $firstname; |
63
|
|
|
/** |
64
|
|
|
* The streetName |
65
|
|
|
* Meta information extracted from the WSDL |
66
|
|
|
* - nillable: true |
67
|
|
|
* @var string |
68
|
|
|
*/ |
69
|
|
|
public $streetName; |
70
|
|
|
/** |
71
|
|
|
* The streetNumber |
72
|
|
|
* Meta information extracted from the WSDL |
73
|
|
|
* - nillable: true |
74
|
|
|
* @var string |
75
|
|
|
*/ |
76
|
|
|
public $streetNumber; |
77
|
|
|
/** |
78
|
|
|
* The zip |
79
|
|
|
* Meta information extracted from the WSDL |
80
|
|
|
* - nillable: true |
81
|
|
|
* @var string |
82
|
|
|
*/ |
83
|
|
|
public $zip; |
84
|
|
|
/** |
85
|
|
|
* The city |
86
|
|
|
* Meta information extracted from the WSDL |
87
|
|
|
* - nillable: true |
88
|
|
|
* @var string |
89
|
|
|
*/ |
90
|
|
|
public $city; |
91
|
|
|
/** |
92
|
|
|
* The email |
93
|
|
|
* Meta information extracted from the WSDL |
94
|
|
|
* - nillable: true |
95
|
|
|
* @var string |
96
|
|
|
*/ |
97
|
|
|
public $email; |
98
|
|
|
/** |
99
|
|
|
* The numberToReserve |
100
|
|
|
* Meta information extracted from the WSDL |
101
|
|
|
* - nillable: true |
102
|
|
|
* @var string |
103
|
|
|
*/ |
104
|
|
|
public $numberToReserve; |
105
|
|
|
/** |
106
|
|
|
* The procedureId |
107
|
|
|
* Meta information extracted from the WSDL |
108
|
|
|
* - nillable: true |
109
|
|
|
* @var int |
110
|
|
|
*/ |
111
|
|
|
public $procedureId; |
112
|
|
|
/** |
113
|
|
|
* The legalForm |
114
|
|
|
* Meta information extracted from the WSDL |
115
|
|
|
* - nillable: true |
116
|
|
|
* @var string |
117
|
|
|
*/ |
118
|
|
|
public $legalForm; |
119
|
|
|
/** |
120
|
|
|
* The siret |
121
|
|
|
* Meta information extracted from the WSDL |
122
|
|
|
* - nillable: true |
123
|
|
|
* @var string |
124
|
|
|
*/ |
125
|
|
|
public $siret; |
126
|
|
|
/** |
127
|
|
|
* The ape |
128
|
|
|
* Meta information extracted from the WSDL |
129
|
|
|
* - nillable: true |
130
|
|
|
* @var string |
131
|
|
|
*/ |
132
|
|
|
public $ape; |
133
|
|
|
/** |
134
|
|
|
* The socialNomination |
135
|
|
|
* Meta information extracted from the WSDL |
136
|
|
|
* - nillable: true |
137
|
|
|
* @var string |
138
|
|
|
*/ |
139
|
|
|
public $socialNomination; |
140
|
|
|
/** |
141
|
|
|
* The displayUniversalDirectory |
142
|
|
|
* Meta information extracted from the WSDL |
143
|
|
|
* - nillable: true |
144
|
|
|
* @var string |
145
|
|
|
*/ |
146
|
|
|
public $displayUniversalDirectory; |
147
|
|
|
/** |
148
|
|
|
* The retractation |
149
|
|
|
* Meta information extracted from the WSDL |
150
|
|
|
* - nillable: true |
151
|
|
|
* @var string |
152
|
|
|
*/ |
153
|
|
|
public $retractation; |
154
|
|
|
/** |
155
|
|
|
* Constructor method for telephonyNumberOrder |
156
|
|
|
* @uses TelephonyNumberOrder::setSession() |
157
|
|
|
* @uses TelephonyNumberOrder::setBillingAccount() |
158
|
|
|
* @uses TelephonyNumberOrder::setAliasNumber() |
159
|
|
|
* @uses TelephonyNumberOrder::setPrefix() |
160
|
|
|
* @uses TelephonyNumberOrder::setCountry() |
161
|
|
|
* @uses TelephonyNumberOrder::setName() |
162
|
|
|
* @uses TelephonyNumberOrder::setFirstname() |
163
|
|
|
* @uses TelephonyNumberOrder::setStreetName() |
164
|
|
|
* @uses TelephonyNumberOrder::setStreetNumber() |
165
|
|
|
* @uses TelephonyNumberOrder::setZip() |
166
|
|
|
* @uses TelephonyNumberOrder::setCity() |
167
|
|
|
* @uses TelephonyNumberOrder::setEmail() |
168
|
|
|
* @uses TelephonyNumberOrder::setNumberToReserve() |
169
|
|
|
* @uses TelephonyNumberOrder::setProcedureId() |
170
|
|
|
* @uses TelephonyNumberOrder::setLegalForm() |
171
|
|
|
* @uses TelephonyNumberOrder::setSiret() |
172
|
|
|
* @uses TelephonyNumberOrder::setApe() |
173
|
|
|
* @uses TelephonyNumberOrder::setSocialNomination() |
174
|
|
|
* @uses TelephonyNumberOrder::setDisplayUniversalDirectory() |
175
|
|
|
* @uses TelephonyNumberOrder::setRetractation() |
176
|
|
|
* @param string $session |
177
|
|
|
* @param string $billingAccount |
178
|
|
|
* @param string $aliasNumber |
179
|
|
|
* @param string $prefix |
180
|
|
|
* @param string $country |
181
|
|
|
* @param string $name |
182
|
|
|
* @param string $firstname |
183
|
|
|
* @param string $streetName |
184
|
|
|
* @param string $streetNumber |
185
|
|
|
* @param string $zip |
186
|
|
|
* @param string $city |
187
|
|
|
* @param string $email |
188
|
|
|
* @param string $numberToReserve |
189
|
|
|
* @param int $procedureId |
190
|
|
|
* @param string $legalForm |
191
|
|
|
* @param string $siret |
192
|
|
|
* @param string $ape |
193
|
|
|
* @param string $socialNomination |
194
|
|
|
* @param string $displayUniversalDirectory |
195
|
|
|
* @param string $retractation |
196
|
|
|
*/ |
197
|
|
|
public function __construct($session = null, $billingAccount = null, $aliasNumber = null, $prefix = null, $country = null, $name = null, $firstname = null, $streetName = null, $streetNumber = null, $zip = null, $city = null, $email = null, $numberToReserve = null, $procedureId = null, $legalForm = null, $siret = null, $ape = null, $socialNomination = null, $displayUniversalDirectory = null, $retractation = null) |
198
|
|
|
{ |
199
|
|
|
$this |
200
|
|
|
->setSession($session) |
201
|
|
|
->setBillingAccount($billingAccount) |
202
|
|
|
->setAliasNumber($aliasNumber) |
203
|
|
|
->setPrefix($prefix) |
204
|
|
|
->setCountry($country) |
205
|
|
|
->setName($name) |
206
|
|
|
->setFirstname($firstname) |
207
|
|
|
->setStreetName($streetName) |
208
|
|
|
->setStreetNumber($streetNumber) |
209
|
|
|
->setZip($zip) |
210
|
|
|
->setCity($city) |
211
|
|
|
->setEmail($email) |
212
|
|
|
->setNumberToReserve($numberToReserve) |
213
|
|
|
->setProcedureId($procedureId) |
214
|
|
|
->setLegalForm($legalForm) |
215
|
|
|
->setSiret($siret) |
216
|
|
|
->setApe($ape) |
217
|
|
|
->setSocialNomination($socialNomination) |
218
|
|
|
->setDisplayUniversalDirectory($displayUniversalDirectory) |
219
|
|
|
->setRetractation($retractation); |
220
|
|
|
} |
221
|
|
|
/** |
222
|
|
|
* Get session value |
223
|
|
|
* @return string|null |
224
|
|
|
*/ |
225
|
|
|
public function getSession() |
226
|
|
|
{ |
227
|
|
|
return $this->session; |
228
|
|
|
} |
229
|
|
|
/** |
230
|
|
|
* Set session value |
231
|
|
|
* @param string $session |
232
|
|
|
* @return \Ovh\StructType\TelephonyNumberOrder |
233
|
|
|
*/ |
234
|
|
|
public function setSession($session = null) |
235
|
|
|
{ |
236
|
|
|
// validation for constraint: string |
237
|
|
|
if (!is_null($session) && !is_string($session)) { |
|
|
|
|
238
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($session, true), gettype($session)), __LINE__); |
239
|
|
|
} |
240
|
|
|
$this->session = $session; |
241
|
|
|
return $this; |
242
|
|
|
} |
243
|
|
|
/** |
244
|
|
|
* Get billingAccount value |
245
|
|
|
* @return string|null |
246
|
|
|
*/ |
247
|
|
|
public function getBillingAccount() |
248
|
|
|
{ |
249
|
|
|
return $this->billingAccount; |
250
|
|
|
} |
251
|
|
|
/** |
252
|
|
|
* Set billingAccount value |
253
|
|
|
* @param string $billingAccount |
254
|
|
|
* @return \Ovh\StructType\TelephonyNumberOrder |
255
|
|
|
*/ |
256
|
|
|
public function setBillingAccount($billingAccount = null) |
257
|
|
|
{ |
258
|
|
|
// validation for constraint: string |
259
|
|
|
if (!is_null($billingAccount) && !is_string($billingAccount)) { |
|
|
|
|
260
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($billingAccount, true), gettype($billingAccount)), __LINE__); |
261
|
|
|
} |
262
|
|
|
$this->billingAccount = $billingAccount; |
263
|
|
|
return $this; |
264
|
|
|
} |
265
|
|
|
/** |
266
|
|
|
* Get aliasNumber value |
267
|
|
|
* @return string|null |
268
|
|
|
*/ |
269
|
|
|
public function getAliasNumber() |
270
|
|
|
{ |
271
|
|
|
return $this->aliasNumber; |
272
|
|
|
} |
273
|
|
|
/** |
274
|
|
|
* Set aliasNumber value |
275
|
|
|
* @param string $aliasNumber |
276
|
|
|
* @return \Ovh\StructType\TelephonyNumberOrder |
277
|
|
|
*/ |
278
|
|
|
public function setAliasNumber($aliasNumber = null) |
279
|
|
|
{ |
280
|
|
|
// validation for constraint: string |
281
|
|
|
if (!is_null($aliasNumber) && !is_string($aliasNumber)) { |
|
|
|
|
282
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($aliasNumber, true), gettype($aliasNumber)), __LINE__); |
283
|
|
|
} |
284
|
|
|
$this->aliasNumber = $aliasNumber; |
285
|
|
|
return $this; |
286
|
|
|
} |
287
|
|
|
/** |
288
|
|
|
* Get prefix value |
289
|
|
|
* @return string|null |
290
|
|
|
*/ |
291
|
|
|
public function getPrefix() |
292
|
|
|
{ |
293
|
|
|
return $this->prefix; |
294
|
|
|
} |
295
|
|
|
/** |
296
|
|
|
* Set prefix value |
297
|
|
|
* @param string $prefix |
298
|
|
|
* @return \Ovh\StructType\TelephonyNumberOrder |
299
|
|
|
*/ |
300
|
|
|
public function setPrefix($prefix = null) |
301
|
|
|
{ |
302
|
|
|
// validation for constraint: string |
303
|
|
|
if (!is_null($prefix) && !is_string($prefix)) { |
|
|
|
|
304
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($prefix, true), gettype($prefix)), __LINE__); |
305
|
|
|
} |
306
|
|
|
$this->prefix = $prefix; |
307
|
|
|
return $this; |
308
|
|
|
} |
309
|
|
|
/** |
310
|
|
|
* Get country value |
311
|
|
|
* @return string|null |
312
|
|
|
*/ |
313
|
|
|
public function getCountry() |
314
|
|
|
{ |
315
|
|
|
return $this->country; |
316
|
|
|
} |
317
|
|
|
/** |
318
|
|
|
* Set country value |
319
|
|
|
* @param string $country |
320
|
|
|
* @return \Ovh\StructType\TelephonyNumberOrder |
321
|
|
|
*/ |
322
|
|
|
public function setCountry($country = null) |
323
|
|
|
{ |
324
|
|
|
// validation for constraint: string |
325
|
|
|
if (!is_null($country) && !is_string($country)) { |
|
|
|
|
326
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($country, true), gettype($country)), __LINE__); |
327
|
|
|
} |
328
|
|
|
$this->country = $country; |
329
|
|
|
return $this; |
330
|
|
|
} |
331
|
|
|
/** |
332
|
|
|
* Get name value |
333
|
|
|
* @return string|null |
334
|
|
|
*/ |
335
|
|
|
public function getName() |
336
|
|
|
{ |
337
|
|
|
return $this->name; |
338
|
|
|
} |
339
|
|
|
/** |
340
|
|
|
* Set name value |
341
|
|
|
* @param string $name |
342
|
|
|
* @return \Ovh\StructType\TelephonyNumberOrder |
343
|
|
|
*/ |
344
|
|
|
public function setName($name = null) |
345
|
|
|
{ |
346
|
|
|
// validation for constraint: string |
347
|
|
|
if (!is_null($name) && !is_string($name)) { |
|
|
|
|
348
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($name, true), gettype($name)), __LINE__); |
349
|
|
|
} |
350
|
|
|
$this->name = $name; |
351
|
|
|
return $this; |
352
|
|
|
} |
353
|
|
|
/** |
354
|
|
|
* Get firstname value |
355
|
|
|
* @return string|null |
356
|
|
|
*/ |
357
|
|
|
public function getFirstname() |
358
|
|
|
{ |
359
|
|
|
return $this->firstname; |
360
|
|
|
} |
361
|
|
|
/** |
362
|
|
|
* Set firstname value |
363
|
|
|
* @param string $firstname |
364
|
|
|
* @return \Ovh\StructType\TelephonyNumberOrder |
365
|
|
|
*/ |
366
|
|
|
public function setFirstname($firstname = null) |
367
|
|
|
{ |
368
|
|
|
// validation for constraint: string |
369
|
|
|
if (!is_null($firstname) && !is_string($firstname)) { |
|
|
|
|
370
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($firstname, true), gettype($firstname)), __LINE__); |
371
|
|
|
} |
372
|
|
|
$this->firstname = $firstname; |
373
|
|
|
return $this; |
374
|
|
|
} |
375
|
|
|
/** |
376
|
|
|
* Get streetName value |
377
|
|
|
* @return string|null |
378
|
|
|
*/ |
379
|
|
|
public function getStreetName() |
380
|
|
|
{ |
381
|
|
|
return $this->streetName; |
382
|
|
|
} |
383
|
|
|
/** |
384
|
|
|
* Set streetName value |
385
|
|
|
* @param string $streetName |
386
|
|
|
* @return \Ovh\StructType\TelephonyNumberOrder |
387
|
|
|
*/ |
388
|
|
|
public function setStreetName($streetName = null) |
389
|
|
|
{ |
390
|
|
|
// validation for constraint: string |
391
|
|
|
if (!is_null($streetName) && !is_string($streetName)) { |
|
|
|
|
392
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($streetName, true), gettype($streetName)), __LINE__); |
393
|
|
|
} |
394
|
|
|
$this->streetName = $streetName; |
395
|
|
|
return $this; |
396
|
|
|
} |
397
|
|
|
/** |
398
|
|
|
* Get streetNumber value |
399
|
|
|
* @return string|null |
400
|
|
|
*/ |
401
|
|
|
public function getStreetNumber() |
402
|
|
|
{ |
403
|
|
|
return $this->streetNumber; |
404
|
|
|
} |
405
|
|
|
/** |
406
|
|
|
* Set streetNumber value |
407
|
|
|
* @param string $streetNumber |
408
|
|
|
* @return \Ovh\StructType\TelephonyNumberOrder |
409
|
|
|
*/ |
410
|
|
|
public function setStreetNumber($streetNumber = null) |
411
|
|
|
{ |
412
|
|
|
// validation for constraint: string |
413
|
|
|
if (!is_null($streetNumber) && !is_string($streetNumber)) { |
|
|
|
|
414
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($streetNumber, true), gettype($streetNumber)), __LINE__); |
415
|
|
|
} |
416
|
|
|
$this->streetNumber = $streetNumber; |
417
|
|
|
return $this; |
418
|
|
|
} |
419
|
|
|
/** |
420
|
|
|
* Get zip value |
421
|
|
|
* @return string|null |
422
|
|
|
*/ |
423
|
|
|
public function getZip() |
424
|
|
|
{ |
425
|
|
|
return $this->zip; |
426
|
|
|
} |
427
|
|
|
/** |
428
|
|
|
* Set zip value |
429
|
|
|
* @param string $zip |
430
|
|
|
* @return \Ovh\StructType\TelephonyNumberOrder |
431
|
|
|
*/ |
432
|
|
|
public function setZip($zip = null) |
433
|
|
|
{ |
434
|
|
|
// validation for constraint: string |
435
|
|
|
if (!is_null($zip) && !is_string($zip)) { |
|
|
|
|
436
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($zip, true), gettype($zip)), __LINE__); |
437
|
|
|
} |
438
|
|
|
$this->zip = $zip; |
439
|
|
|
return $this; |
440
|
|
|
} |
441
|
|
|
/** |
442
|
|
|
* Get city value |
443
|
|
|
* @return string|null |
444
|
|
|
*/ |
445
|
|
|
public function getCity() |
446
|
|
|
{ |
447
|
|
|
return $this->city; |
448
|
|
|
} |
449
|
|
|
/** |
450
|
|
|
* Set city value |
451
|
|
|
* @param string $city |
452
|
|
|
* @return \Ovh\StructType\TelephonyNumberOrder |
453
|
|
|
*/ |
454
|
|
|
public function setCity($city = null) |
455
|
|
|
{ |
456
|
|
|
// validation for constraint: string |
457
|
|
|
if (!is_null($city) && !is_string($city)) { |
|
|
|
|
458
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($city, true), gettype($city)), __LINE__); |
459
|
|
|
} |
460
|
|
|
$this->city = $city; |
461
|
|
|
return $this; |
462
|
|
|
} |
463
|
|
|
/** |
464
|
|
|
* Get email value |
465
|
|
|
* @return string|null |
466
|
|
|
*/ |
467
|
|
|
public function getEmail() |
468
|
|
|
{ |
469
|
|
|
return $this->email; |
470
|
|
|
} |
471
|
|
|
/** |
472
|
|
|
* Set email value |
473
|
|
|
* @param string $email |
474
|
|
|
* @return \Ovh\StructType\TelephonyNumberOrder |
475
|
|
|
*/ |
476
|
|
|
public function setEmail($email = null) |
477
|
|
|
{ |
478
|
|
|
// validation for constraint: string |
479
|
|
|
if (!is_null($email) && !is_string($email)) { |
|
|
|
|
480
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($email, true), gettype($email)), __LINE__); |
481
|
|
|
} |
482
|
|
|
$this->email = $email; |
483
|
|
|
return $this; |
484
|
|
|
} |
485
|
|
|
/** |
486
|
|
|
* Get numberToReserve value |
487
|
|
|
* @return string|null |
488
|
|
|
*/ |
489
|
|
|
public function getNumberToReserve() |
490
|
|
|
{ |
491
|
|
|
return $this->numberToReserve; |
492
|
|
|
} |
493
|
|
|
/** |
494
|
|
|
* Set numberToReserve value |
495
|
|
|
* @param string $numberToReserve |
496
|
|
|
* @return \Ovh\StructType\TelephonyNumberOrder |
497
|
|
|
*/ |
498
|
|
|
public function setNumberToReserve($numberToReserve = null) |
499
|
|
|
{ |
500
|
|
|
// validation for constraint: string |
501
|
|
|
if (!is_null($numberToReserve) && !is_string($numberToReserve)) { |
|
|
|
|
502
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($numberToReserve, true), gettype($numberToReserve)), __LINE__); |
503
|
|
|
} |
504
|
|
|
$this->numberToReserve = $numberToReserve; |
505
|
|
|
return $this; |
506
|
|
|
} |
507
|
|
|
/** |
508
|
|
|
* Get procedureId value |
509
|
|
|
* @return int|null |
510
|
|
|
*/ |
511
|
|
|
public function getProcedureId() |
512
|
|
|
{ |
513
|
|
|
return $this->procedureId; |
514
|
|
|
} |
515
|
|
|
/** |
516
|
|
|
* Set procedureId value |
517
|
|
|
* @param int $procedureId |
518
|
|
|
* @return \Ovh\StructType\TelephonyNumberOrder |
519
|
|
|
*/ |
520
|
|
|
public function setProcedureId($procedureId = null) |
521
|
|
|
{ |
522
|
|
|
// validation for constraint: int |
523
|
|
|
if (!is_null($procedureId) && !(is_int($procedureId) || ctype_digit($procedureId))) { |
|
|
|
|
524
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide an integer value, %s given', var_export($procedureId, true), gettype($procedureId)), __LINE__); |
525
|
|
|
} |
526
|
|
|
$this->procedureId = $procedureId; |
527
|
|
|
return $this; |
528
|
|
|
} |
529
|
|
|
/** |
530
|
|
|
* Get legalForm value |
531
|
|
|
* @return string|null |
532
|
|
|
*/ |
533
|
|
|
public function getLegalForm() |
534
|
|
|
{ |
535
|
|
|
return $this->legalForm; |
536
|
|
|
} |
537
|
|
|
/** |
538
|
|
|
* Set legalForm value |
539
|
|
|
* @param string $legalForm |
540
|
|
|
* @return \Ovh\StructType\TelephonyNumberOrder |
541
|
|
|
*/ |
542
|
|
|
public function setLegalForm($legalForm = null) |
543
|
|
|
{ |
544
|
|
|
// validation for constraint: string |
545
|
|
|
if (!is_null($legalForm) && !is_string($legalForm)) { |
|
|
|
|
546
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($legalForm, true), gettype($legalForm)), __LINE__); |
547
|
|
|
} |
548
|
|
|
$this->legalForm = $legalForm; |
549
|
|
|
return $this; |
550
|
|
|
} |
551
|
|
|
/** |
552
|
|
|
* Get siret value |
553
|
|
|
* @return string|null |
554
|
|
|
*/ |
555
|
|
|
public function getSiret() |
556
|
|
|
{ |
557
|
|
|
return $this->siret; |
558
|
|
|
} |
559
|
|
|
/** |
560
|
|
|
* Set siret value |
561
|
|
|
* @param string $siret |
562
|
|
|
* @return \Ovh\StructType\TelephonyNumberOrder |
563
|
|
|
*/ |
564
|
|
|
public function setSiret($siret = null) |
565
|
|
|
{ |
566
|
|
|
// validation for constraint: string |
567
|
|
|
if (!is_null($siret) && !is_string($siret)) { |
|
|
|
|
568
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($siret, true), gettype($siret)), __LINE__); |
569
|
|
|
} |
570
|
|
|
$this->siret = $siret; |
571
|
|
|
return $this; |
572
|
|
|
} |
573
|
|
|
/** |
574
|
|
|
* Get ape value |
575
|
|
|
* @return string|null |
576
|
|
|
*/ |
577
|
|
|
public function getApe() |
578
|
|
|
{ |
579
|
|
|
return $this->ape; |
580
|
|
|
} |
581
|
|
|
/** |
582
|
|
|
* Set ape value |
583
|
|
|
* @param string $ape |
584
|
|
|
* @return \Ovh\StructType\TelephonyNumberOrder |
585
|
|
|
*/ |
586
|
|
|
public function setApe($ape = null) |
587
|
|
|
{ |
588
|
|
|
// validation for constraint: string |
589
|
|
|
if (!is_null($ape) && !is_string($ape)) { |
|
|
|
|
590
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($ape, true), gettype($ape)), __LINE__); |
591
|
|
|
} |
592
|
|
|
$this->ape = $ape; |
593
|
|
|
return $this; |
594
|
|
|
} |
595
|
|
|
/** |
596
|
|
|
* Get socialNomination value |
597
|
|
|
* @return string|null |
598
|
|
|
*/ |
599
|
|
|
public function getSocialNomination() |
600
|
|
|
{ |
601
|
|
|
return $this->socialNomination; |
602
|
|
|
} |
603
|
|
|
/** |
604
|
|
|
* Set socialNomination value |
605
|
|
|
* @param string $socialNomination |
606
|
|
|
* @return \Ovh\StructType\TelephonyNumberOrder |
607
|
|
|
*/ |
608
|
|
|
public function setSocialNomination($socialNomination = null) |
609
|
|
|
{ |
610
|
|
|
// validation for constraint: string |
611
|
|
|
if (!is_null($socialNomination) && !is_string($socialNomination)) { |
|
|
|
|
612
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($socialNomination, true), gettype($socialNomination)), __LINE__); |
613
|
|
|
} |
614
|
|
|
$this->socialNomination = $socialNomination; |
615
|
|
|
return $this; |
616
|
|
|
} |
617
|
|
|
/** |
618
|
|
|
* Get displayUniversalDirectory value |
619
|
|
|
* @return string|null |
620
|
|
|
*/ |
621
|
|
|
public function getDisplayUniversalDirectory() |
622
|
|
|
{ |
623
|
|
|
return $this->displayUniversalDirectory; |
624
|
|
|
} |
625
|
|
|
/** |
626
|
|
|
* Set displayUniversalDirectory value |
627
|
|
|
* @param string $displayUniversalDirectory |
628
|
|
|
* @return \Ovh\StructType\TelephonyNumberOrder |
629
|
|
|
*/ |
630
|
|
|
public function setDisplayUniversalDirectory($displayUniversalDirectory = null) |
631
|
|
|
{ |
632
|
|
|
// validation for constraint: string |
633
|
|
|
if (!is_null($displayUniversalDirectory) && !is_string($displayUniversalDirectory)) { |
|
|
|
|
634
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($displayUniversalDirectory, true), gettype($displayUniversalDirectory)), __LINE__); |
635
|
|
|
} |
636
|
|
|
$this->displayUniversalDirectory = $displayUniversalDirectory; |
637
|
|
|
return $this; |
638
|
|
|
} |
639
|
|
|
/** |
640
|
|
|
* Get retractation value |
641
|
|
|
* @return string|null |
642
|
|
|
*/ |
643
|
|
|
public function getRetractation() |
644
|
|
|
{ |
645
|
|
|
return $this->retractation; |
646
|
|
|
} |
647
|
|
|
/** |
648
|
|
|
* Set retractation value |
649
|
|
|
* @param string $retractation |
650
|
|
|
* @return \Ovh\StructType\TelephonyNumberOrder |
651
|
|
|
*/ |
652
|
|
|
public function setRetractation($retractation = null) |
653
|
|
|
{ |
654
|
|
|
// validation for constraint: string |
655
|
|
|
if (!is_null($retractation) && !is_string($retractation)) { |
|
|
|
|
656
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($retractation, true), gettype($retractation)), __LINE__); |
657
|
|
|
} |
658
|
|
|
$this->retractation = $retractation; |
659
|
|
|
return $this; |
660
|
|
|
} |
661
|
|
|
} |
662
|
|
|
|