@@ 20-1459 (lines=1440) @@ | ||
17 | * @date 2018/04/06 |
|
18 | * @codeVersion 0.0.1 |
|
19 | */ |
|
20 | class AddShip extends AbstractStructBase |
|
21 | { |
|
22 | /** |
|
23 | * The PCs |
|
24 | * Meta informations extracted from the WSDL |
|
25 | * - maxOccurs: 1 |
|
26 | * - minOccurs: 1 |
|
27 | * |
|
28 | * @var int |
|
29 | */ |
|
30 | public $PCs; |
|
31 | /** |
|
32 | * The passKey |
|
33 | * Meta informations extracted from the WSDL |
|
34 | * - maxOccurs: 1 |
|
35 | * - minOccurs: 0 |
|
36 | * |
|
37 | * @var string |
|
38 | */ |
|
39 | public $passKey; |
|
40 | /** |
|
41 | * The refNo |
|
42 | * Meta informations extracted from the WSDL |
|
43 | * - maxOccurs: 1 |
|
44 | * - minOccurs: 0 |
|
45 | * |
|
46 | * @var string |
|
47 | */ |
|
48 | public $refNo; |
|
49 | /** |
|
50 | * The sentDate |
|
51 | * Meta informations extracted from the WSDL |
|
52 | * - maxOccurs: 1 |
|
53 | * - minOccurs: 0 |
|
54 | * |
|
55 | * @var string |
|
56 | */ |
|
57 | public $sentDate; |
|
58 | /** |
|
59 | * The idNo |
|
60 | * Meta informations extracted from the WSDL |
|
61 | * - maxOccurs: 1 |
|
62 | * - minOccurs: 0 |
|
63 | * |
|
64 | * @var string |
|
65 | */ |
|
66 | public $idNo; |
|
67 | /** |
|
68 | * The cName |
|
69 | * Meta informations extracted from the WSDL |
|
70 | * - maxOccurs: 1 |
|
71 | * - minOccurs: 0 |
|
72 | * |
|
73 | * @var string |
|
74 | */ |
|
75 | public $cName; |
|
76 | /** |
|
77 | * The cntry |
|
78 | * Meta informations extracted from the WSDL |
|
79 | * - maxOccurs: 1 |
|
80 | * - minOccurs: 0 |
|
81 | * |
|
82 | * @var string |
|
83 | */ |
|
84 | public $cntry; |
|
85 | /** |
|
86 | * The cCity |
|
87 | * Meta informations extracted from the WSDL |
|
88 | * - maxOccurs: 1 |
|
89 | * - minOccurs: 0 |
|
90 | * |
|
91 | * @var string |
|
92 | */ |
|
93 | public $cCity; |
|
94 | /** |
|
95 | * The cZip |
|
96 | * Meta informations extracted from the WSDL |
|
97 | * - maxOccurs: 1 |
|
98 | * - minOccurs: 0 |
|
99 | * |
|
100 | * @var string |
|
101 | */ |
|
102 | public $cZip; |
|
103 | /** |
|
104 | * The cPOBox |
|
105 | * Meta informations extracted from the WSDL |
|
106 | * - maxOccurs: 1 |
|
107 | * - minOccurs: 0 |
|
108 | * |
|
109 | * @var string |
|
110 | */ |
|
111 | public $cPOBox; |
|
112 | /** |
|
113 | * The cMobile |
|
114 | * Meta informations extracted from the WSDL |
|
115 | * - maxOccurs: 1 |
|
116 | * - minOccurs: 0 |
|
117 | * |
|
118 | * @var string |
|
119 | */ |
|
120 | public $cMobile; |
|
121 | /** |
|
122 | * The cTel1 |
|
123 | * Meta informations extracted from the WSDL |
|
124 | * - maxOccurs: 1 |
|
125 | * - minOccurs: 0 |
|
126 | * |
|
127 | * @var string |
|
128 | */ |
|
129 | public $cTel1; |
|
130 | /** |
|
131 | * The cTel2 |
|
132 | * Meta informations extracted from the WSDL |
|
133 | * - maxOccurs: 1 |
|
134 | * - minOccurs: 0 |
|
135 | * |
|
136 | * @var string |
|
137 | */ |
|
138 | public $cTel2; |
|
139 | /** |
|
140 | * The cAddr1 |
|
141 | * Meta informations extracted from the WSDL |
|
142 | * - maxOccurs: 1 |
|
143 | * - minOccurs: 0 |
|
144 | * |
|
145 | * @var string |
|
146 | */ |
|
147 | public $cAddr1; |
|
148 | /** |
|
149 | * The cAddr2 |
|
150 | * Meta informations extracted from the WSDL |
|
151 | * - maxOccurs: 1 |
|
152 | * - minOccurs: 0 |
|
153 | * |
|
154 | * @var string |
|
155 | */ |
|
156 | public $cAddr2; |
|
157 | /** |
|
158 | * The shipType |
|
159 | * Meta informations extracted from the WSDL |
|
160 | * - maxOccurs: 1 |
|
161 | * - minOccurs: 0 |
|
162 | * |
|
163 | * @var string |
|
164 | */ |
|
165 | public $shipType; |
|
166 | /** |
|
167 | * The cEmail |
|
168 | * Meta informations extracted from the WSDL |
|
169 | * - maxOccurs: 1 |
|
170 | * - minOccurs: 0 |
|
171 | * |
|
172 | * @var string |
|
173 | */ |
|
174 | public $cEmail; |
|
175 | /** |
|
176 | * The carrValue |
|
177 | * Meta informations extracted from the WSDL |
|
178 | * - maxOccurs: 1 |
|
179 | * - minOccurs: 0 |
|
180 | * |
|
181 | * @var string |
|
182 | */ |
|
183 | public $carrValue; |
|
184 | /** |
|
185 | * The carrCurr |
|
186 | * Meta informations extracted from the WSDL |
|
187 | * - maxOccurs: 1 |
|
188 | * - minOccurs: 0 |
|
189 | * |
|
190 | * @var string |
|
191 | */ |
|
192 | public $carrCurr; |
|
193 | /** |
|
194 | * The codAmt |
|
195 | * Meta informations extracted from the WSDL |
|
196 | * - maxOccurs: 1 |
|
197 | * - minOccurs: 0 |
|
198 | * |
|
199 | * @var string |
|
200 | */ |
|
201 | public $codAmt; |
|
202 | /** |
|
203 | * The weight |
|
204 | * Meta informations extracted from the WSDL |
|
205 | * - maxOccurs: 1 |
|
206 | * - minOccurs: 0 |
|
207 | * |
|
208 | * @var string |
|
209 | */ |
|
210 | public $weight; |
|
211 | /** |
|
212 | * The custVal |
|
213 | * Meta informations extracted from the WSDL |
|
214 | * - maxOccurs: 1 |
|
215 | * - minOccurs: 0 |
|
216 | * |
|
217 | * @var string |
|
218 | */ |
|
219 | public $custVal; |
|
220 | /** |
|
221 | * The custCurr |
|
222 | * Meta informations extracted from the WSDL |
|
223 | * - maxOccurs: 1 |
|
224 | * - minOccurs: 0 |
|
225 | * |
|
226 | * @var string |
|
227 | */ |
|
228 | public $custCurr; |
|
229 | /** |
|
230 | * The insrAmt |
|
231 | * Meta informations extracted from the WSDL |
|
232 | * - maxOccurs: 1 |
|
233 | * - minOccurs: 0 |
|
234 | * |
|
235 | * @var string |
|
236 | */ |
|
237 | public $insrAmt; |
|
238 | /** |
|
239 | * The insrCurr |
|
240 | * Meta informations extracted from the WSDL |
|
241 | * - maxOccurs: 1 |
|
242 | * - minOccurs: 0 |
|
243 | * |
|
244 | * @var string |
|
245 | */ |
|
246 | public $insrCurr; |
|
247 | /** |
|
248 | * The itemDesc |
|
249 | * Meta informations extracted from the WSDL |
|
250 | * - maxOccurs: 1 |
|
251 | * - minOccurs: 0 |
|
252 | * |
|
253 | * @var string |
|
254 | */ |
|
255 | public $itemDesc; |
|
256 | /** |
|
257 | * The sName |
|
258 | * Meta informations extracted from the WSDL |
|
259 | * - maxOccurs: 1 |
|
260 | * - minOccurs: 0 |
|
261 | * |
|
262 | * @var string |
|
263 | */ |
|
264 | public $sName; |
|
265 | /** |
|
266 | * The sContact |
|
267 | * Meta informations extracted from the WSDL |
|
268 | * - maxOccurs: 1 |
|
269 | * - minOccurs: 0 |
|
270 | * |
|
271 | * @var string |
|
272 | */ |
|
273 | public $sContact; |
|
274 | /** |
|
275 | * The sAddr1 |
|
276 | * Meta informations extracted from the WSDL |
|
277 | * - maxOccurs: 1 |
|
278 | * - minOccurs: 0 |
|
279 | * |
|
280 | * @var string |
|
281 | */ |
|
282 | public $sAddr1; |
|
283 | /** |
|
284 | * The sAddr2 |
|
285 | * Meta informations extracted from the WSDL |
|
286 | * - maxOccurs: 1 |
|
287 | * - minOccurs: 0 |
|
288 | * |
|
289 | * @var string |
|
290 | */ |
|
291 | public $sAddr2; |
|
292 | /** |
|
293 | * The sCity |
|
294 | * Meta informations extracted from the WSDL |
|
295 | * - maxOccurs: 1 |
|
296 | * - minOccurs: 0 |
|
297 | * |
|
298 | * @var string |
|
299 | */ |
|
300 | public $sCity; |
|
301 | /** |
|
302 | * The sPhone |
|
303 | * Meta informations extracted from the WSDL |
|
304 | * - maxOccurs: 1 |
|
305 | * - minOccurs: 0 |
|
306 | * |
|
307 | * @var string |
|
308 | */ |
|
309 | public $sPhone; |
|
310 | /** |
|
311 | * The sCntry |
|
312 | * Meta informations extracted from the WSDL |
|
313 | * - maxOccurs: 1 |
|
314 | * - minOccurs: 0 |
|
315 | * |
|
316 | * @var string |
|
317 | */ |
|
318 | public $sCntry; |
|
319 | /** |
|
320 | * The prefDelvDate |
|
321 | * Meta informations extracted from the WSDL |
|
322 | * - maxOccurs: 1 |
|
323 | * - minOccurs: 0 |
|
324 | * |
|
325 | * @var string |
|
326 | */ |
|
327 | public $prefDelvDate; |
|
328 | /** |
|
329 | * The gpsPoints |
|
330 | * Meta informations extracted from the WSDL |
|
331 | * - maxOccurs: 1 |
|
332 | * - minOccurs: 0 |
|
333 | * |
|
334 | * @var string |
|
335 | */ |
|
336 | public $gpsPoints; |
|
337 | ||
338 | /** |
|
339 | * Constructor method for addShip |
|
340 | * |
|
341 | * @uses AddShip::setPCs() |
|
342 | * @uses AddShip::setPassKey() |
|
343 | * @uses AddShip::setRefNo() |
|
344 | * @uses AddShip::setSentDate() |
|
345 | * @uses AddShip::setIdNo() |
|
346 | * @uses AddShip::setCName() |
|
347 | * @uses AddShip::setCntry() |
|
348 | * @uses AddShip::setCCity() |
|
349 | * @uses AddShip::setCZip() |
|
350 | * @uses AddShip::setCPOBox() |
|
351 | * @uses AddShip::setCMobile() |
|
352 | * @uses AddShip::setCTel1() |
|
353 | * @uses AddShip::setCTel2() |
|
354 | * @uses AddShip::setCAddr1() |
|
355 | * @uses AddShip::setCAddr2() |
|
356 | * @uses AddShip::setShipType() |
|
357 | * @uses AddShip::setCEmail() |
|
358 | * @uses AddShip::setCarrValue() |
|
359 | * @uses AddShip::setCarrCurr() |
|
360 | * @uses AddShip::setCodAmt() |
|
361 | * @uses AddShip::setWeight() |
|
362 | * @uses AddShip::setCustVal() |
|
363 | * @uses AddShip::setCustCurr() |
|
364 | * @uses AddShip::setInsrAmt() |
|
365 | * @uses AddShip::setInsrCurr() |
|
366 | * @uses AddShip::setItemDesc() |
|
367 | * @uses AddShip::setSName() |
|
368 | * @uses AddShip::setSContact() |
|
369 | * @uses AddShip::setSAddr1() |
|
370 | * @uses AddShip::setSAddr2() |
|
371 | * @uses AddShip::setSCity() |
|
372 | * @uses AddShip::setSPhone() |
|
373 | * @uses AddShip::setSCntry() |
|
374 | * @uses AddShip::setPrefDelvDate() |
|
375 | * @uses AddShip::setGpsPoints() |
|
376 | * |
|
377 | * @param int $pCs |
|
378 | * @param string $passKey |
|
379 | * @param string $refNo |
|
380 | * @param string $sentDate |
|
381 | * @param string $idNo |
|
382 | * @param string $cName |
|
383 | * @param string $cntry |
|
384 | * @param string $cCity |
|
385 | * @param string $cZip |
|
386 | * @param string $cPOBox |
|
387 | * @param string $cMobile |
|
388 | * @param string $cTel1 |
|
389 | * @param string $cTel2 |
|
390 | * @param string $cAddr1 |
|
391 | * @param string $cAddr2 |
|
392 | * @param string $shipType |
|
393 | * @param string $cEmail |
|
394 | * @param string $carrValue |
|
395 | * @param string $carrCurr |
|
396 | * @param string $codAmt |
|
397 | * @param string $weight |
|
398 | * @param string $custVal |
|
399 | * @param string $custCurr |
|
400 | * @param string $insrAmt |
|
401 | * @param string $insrCurr |
|
402 | * @param string $itemDesc |
|
403 | * @param string $sName |
|
404 | * @param string $sContact |
|
405 | * @param string $sAddr1 |
|
406 | * @param string $sAddr2 |
|
407 | * @param string $sCity |
|
408 | * @param string $sPhone |
|
409 | * @param string $sCntry |
|
410 | * @param string $prefDelvDate |
|
411 | * @param string $gpsPoints |
|
412 | */ |
|
413 | public function __construct($pCs = null, $passKey = null, $refNo = null, $sentDate = null, $idNo = null, $cName = null, $cntry = null, $cCity = null, $cZip = null, $cPOBox = null, $cMobile = null, $cTel1 = null, $cTel2 = null, $cAddr1 = null, $cAddr2 = null, $shipType = null, $cEmail = null, $carrValue = null, $carrCurr = null, $codAmt = null, $weight = null, $custVal = null, $custCurr = null, $insrAmt = null, $insrCurr = null, $itemDesc = null, $sName = null, $sContact = null, $sAddr1 = null, $sAddr2 = null, $sCity = null, $sPhone = null, $sCntry = null, $prefDelvDate = null, $gpsPoints = null) |
|
414 | { |
|
415 | $this |
|
416 | ->setPCs($pCs) |
|
417 | ->setPassKey($passKey) |
|
418 | ->setRefNo($refNo) |
|
419 | ->setSentDate($sentDate) |
|
420 | ->setIdNo($idNo) |
|
421 | ->setCName($cName) |
|
422 | ->setCntry($cntry) |
|
423 | ->setCCity($cCity) |
|
424 | ->setCZip($cZip) |
|
425 | ->setCPOBox($cPOBox) |
|
426 | ->setCMobile($cMobile) |
|
427 | ->setCTel1($cTel1) |
|
428 | ->setCTel2($cTel2) |
|
429 | ->setCAddr1($cAddr1) |
|
430 | ->setCAddr2($cAddr2) |
|
431 | ->setShipType($shipType) |
|
432 | ->setCEmail($cEmail) |
|
433 | ->setCarrValue($carrValue) |
|
434 | ->setCarrCurr($carrCurr) |
|
435 | ->setCodAmt($codAmt) |
|
436 | ->setWeight($weight) |
|
437 | ->setCustVal($custVal) |
|
438 | ->setCustCurr($custCurr) |
|
439 | ->setInsrAmt($insrAmt) |
|
440 | ->setInsrCurr($insrCurr) |
|
441 | ->setItemDesc($itemDesc) |
|
442 | ->setSName($sName) |
|
443 | ->setSContact($sContact) |
|
444 | ->setSAddr1($sAddr1) |
|
445 | ->setSAddr2($sAddr2) |
|
446 | ->setSCity($sCity) |
|
447 | ->setSPhone($sPhone) |
|
448 | ->setSCntry($sCntry) |
|
449 | ->setPrefDelvDate($prefDelvDate) |
|
450 | ->setGpsPoints($gpsPoints); |
|
451 | } |
|
452 | ||
453 | /** |
|
454 | * Get PCs value |
|
455 | * |
|
456 | * @return int |
|
457 | */ |
|
458 | public function getPCs() |
|
459 | { |
|
460 | return $this->PCs; |
|
461 | } |
|
462 | ||
463 | /** |
|
464 | * Set PCs value |
|
465 | * |
|
466 | * @param int $pCs |
|
467 | * |
|
468 | * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShip |
|
469 | */ |
|
470 | public function setPCs($pCs = null) |
|
471 | { |
|
472 | // validation for constraint: int |
|
473 | if (!is_null($pCs) && !is_numeric($pCs)) { |
|
474 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($pCs)), __LINE__); |
|
475 | } |
|
476 | $this->PCs = $pCs; |
|
477 | ||
478 | return $this; |
|
479 | } |
|
480 | ||
481 | /** |
|
482 | * Get passKey value |
|
483 | * |
|
484 | * @return string|null |
|
485 | */ |
|
486 | public function getPassKey() |
|
487 | { |
|
488 | return $this->passKey; |
|
489 | } |
|
490 | ||
491 | /** |
|
492 | * Set passKey value |
|
493 | * |
|
494 | * @param string $passKey |
|
495 | * |
|
496 | * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShip |
|
497 | */ |
|
498 | public function setPassKey($passKey = null) |
|
499 | { |
|
500 | // validation for constraint: string |
|
501 | if (!is_null($passKey) && !is_string($passKey)) { |
|
502 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($passKey)), __LINE__); |
|
503 | } |
|
504 | $this->passKey = $passKey; |
|
505 | ||
506 | return $this; |
|
507 | } |
|
508 | ||
509 | /** |
|
510 | * Get refNo value |
|
511 | * |
|
512 | * @return string|null |
|
513 | */ |
|
514 | public function getRefNo() |
|
515 | { |
|
516 | return $this->refNo; |
|
517 | } |
|
518 | ||
519 | /** |
|
520 | * Set refNo value |
|
521 | * |
|
522 | * @param string $refNo |
|
523 | * |
|
524 | * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShip |
|
525 | */ |
|
526 | public function setRefNo($refNo = null) |
|
527 | { |
|
528 | // validation for constraint: string |
|
529 | if (!is_null($refNo) && !is_string($refNo)) { |
|
530 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($refNo)), __LINE__); |
|
531 | } |
|
532 | $this->refNo = $refNo; |
|
533 | ||
534 | return $this; |
|
535 | } |
|
536 | ||
537 | /** |
|
538 | * Get sentDate value |
|
539 | * |
|
540 | * @return string|null |
|
541 | */ |
|
542 | public function getSentDate() |
|
543 | { |
|
544 | return $this->sentDate; |
|
545 | } |
|
546 | ||
547 | /** |
|
548 | * Set sentDate value |
|
549 | * |
|
550 | * @param string $sentDate |
|
551 | * |
|
552 | * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShip |
|
553 | */ |
|
554 | public function setSentDate($sentDate = null) |
|
555 | { |
|
556 | // validation for constraint: string |
|
557 | if (!is_null($sentDate) && !is_string($sentDate)) { |
|
558 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($sentDate)), __LINE__); |
|
559 | } |
|
560 | $this->sentDate = $sentDate; |
|
561 | ||
562 | return $this; |
|
563 | } |
|
564 | ||
565 | /** |
|
566 | * Get idNo value |
|
567 | * |
|
568 | * @return string|null |
|
569 | */ |
|
570 | public function getIdNo() |
|
571 | { |
|
572 | return $this->idNo; |
|
573 | } |
|
574 | ||
575 | /** |
|
576 | * Set idNo value |
|
577 | * |
|
578 | * @param string $idNo |
|
579 | * |
|
580 | * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShip |
|
581 | */ |
|
582 | public function setIdNo($idNo = null) |
|
583 | { |
|
584 | // validation for constraint: string |
|
585 | if (!is_null($idNo) && !is_string($idNo)) { |
|
586 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($idNo)), __LINE__); |
|
587 | } |
|
588 | $this->idNo = $idNo; |
|
589 | ||
590 | return $this; |
|
591 | } |
|
592 | ||
593 | /** |
|
594 | * Get cName value |
|
595 | * |
|
596 | * @return string|null |
|
597 | */ |
|
598 | public function getCName() |
|
599 | { |
|
600 | return $this->cName; |
|
601 | } |
|
602 | ||
603 | /** |
|
604 | * Set cName value |
|
605 | * |
|
606 | * @param string $cName |
|
607 | * |
|
608 | * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShip |
|
609 | */ |
|
610 | public function setCName($cName = null) |
|
611 | { |
|
612 | // validation for constraint: string |
|
613 | if (!is_null($cName) && !is_string($cName)) { |
|
614 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($cName)), __LINE__); |
|
615 | } |
|
616 | $this->cName = $cName; |
|
617 | ||
618 | return $this; |
|
619 | } |
|
620 | ||
621 | /** |
|
622 | * Get cntry value |
|
623 | * |
|
624 | * @return string|null |
|
625 | */ |
|
626 | public function getCntry() |
|
627 | { |
|
628 | return $this->cntry; |
|
629 | } |
|
630 | ||
631 | /** |
|
632 | * Set cntry value |
|
633 | * |
|
634 | * @param string $cntry |
|
635 | * |
|
636 | * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShip |
|
637 | */ |
|
638 | public function setCntry($cntry = null) |
|
639 | { |
|
640 | // validation for constraint: string |
|
641 | if (!is_null($cntry) && !is_string($cntry)) { |
|
642 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($cntry)), __LINE__); |
|
643 | } |
|
644 | $this->cntry = $cntry; |
|
645 | ||
646 | return $this; |
|
647 | } |
|
648 | ||
649 | /** |
|
650 | * Get cCity value |
|
651 | * |
|
652 | * @return string|null |
|
653 | */ |
|
654 | public function getCCity() |
|
655 | { |
|
656 | return $this->cCity; |
|
657 | } |
|
658 | ||
659 | /** |
|
660 | * Set cCity value |
|
661 | * |
|
662 | * @param string $cCity |
|
663 | * |
|
664 | * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShip |
|
665 | */ |
|
666 | public function setCCity($cCity = null) |
|
667 | { |
|
668 | // validation for constraint: string |
|
669 | if (!is_null($cCity) && !is_string($cCity)) { |
|
670 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($cCity)), __LINE__); |
|
671 | } |
|
672 | $this->cCity = $cCity; |
|
673 | ||
674 | return $this; |
|
675 | } |
|
676 | ||
677 | /** |
|
678 | * Get cZip value |
|
679 | * |
|
680 | * @return string|null |
|
681 | */ |
|
682 | public function getCZip() |
|
683 | { |
|
684 | return $this->cZip; |
|
685 | } |
|
686 | ||
687 | /** |
|
688 | * Set cZip value |
|
689 | * |
|
690 | * @param string $cZip |
|
691 | * |
|
692 | * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShip |
|
693 | */ |
|
694 | public function setCZip($cZip = null) |
|
695 | { |
|
696 | // validation for constraint: string |
|
697 | if (!is_null($cZip) && !is_string($cZip)) { |
|
698 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($cZip)), __LINE__); |
|
699 | } |
|
700 | $this->cZip = $cZip; |
|
701 | ||
702 | return $this; |
|
703 | } |
|
704 | ||
705 | /** |
|
706 | * Get cPOBox value |
|
707 | * |
|
708 | * @return string|null |
|
709 | */ |
|
710 | public function getCPOBox() |
|
711 | { |
|
712 | return $this->cPOBox; |
|
713 | } |
|
714 | ||
715 | /** |
|
716 | * Set cPOBox value |
|
717 | * |
|
718 | * @param string $cPOBox |
|
719 | * |
|
720 | * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShip |
|
721 | */ |
|
722 | public function setCPOBox($cPOBox = null) |
|
723 | { |
|
724 | // validation for constraint: string |
|
725 | if (!is_null($cPOBox) && !is_string($cPOBox)) { |
|
726 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($cPOBox)), __LINE__); |
|
727 | } |
|
728 | $this->cPOBox = $cPOBox; |
|
729 | ||
730 | return $this; |
|
731 | } |
|
732 | ||
733 | /** |
|
734 | * Get cMobile value |
|
735 | * |
|
736 | * @return string|null |
|
737 | */ |
|
738 | public function getCMobile() |
|
739 | { |
|
740 | return $this->cMobile; |
|
741 | } |
|
742 | ||
743 | /** |
|
744 | * Set cMobile value |
|
745 | * |
|
746 | * @param string $cMobile |
|
747 | * |
|
748 | * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShip |
|
749 | */ |
|
750 | public function setCMobile($cMobile = null) |
|
751 | { |
|
752 | // validation for constraint: string |
|
753 | if (!is_null($cMobile) && !is_string($cMobile)) { |
|
754 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($cMobile)), __LINE__); |
|
755 | } |
|
756 | $this->cMobile = $cMobile; |
|
757 | ||
758 | return $this; |
|
759 | } |
|
760 | ||
761 | /** |
|
762 | * Get cTel1 value |
|
763 | * |
|
764 | * @return string|null |
|
765 | */ |
|
766 | public function getCTel1() |
|
767 | { |
|
768 | return $this->cTel1; |
|
769 | } |
|
770 | ||
771 | /** |
|
772 | * Set cTel1 value |
|
773 | * |
|
774 | * @param string $cTel1 |
|
775 | * |
|
776 | * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShip |
|
777 | */ |
|
778 | public function setCTel1($cTel1 = null) |
|
779 | { |
|
780 | // validation for constraint: string |
|
781 | if (!is_null($cTel1) && !is_string($cTel1)) { |
|
782 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($cTel1)), __LINE__); |
|
783 | } |
|
784 | $this->cTel1 = $cTel1; |
|
785 | ||
786 | return $this; |
|
787 | } |
|
788 | ||
789 | /** |
|
790 | * Get cTel2 value |
|
791 | * |
|
792 | * @return string|null |
|
793 | */ |
|
794 | public function getCTel2() |
|
795 | { |
|
796 | return $this->cTel2; |
|
797 | } |
|
798 | ||
799 | /** |
|
800 | * Set cTel2 value |
|
801 | * |
|
802 | * @param string $cTel2 |
|
803 | * |
|
804 | * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShip |
|
805 | */ |
|
806 | public function setCTel2($cTel2 = null) |
|
807 | { |
|
808 | // validation for constraint: string |
|
809 | if (!is_null($cTel2) && !is_string($cTel2)) { |
|
810 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($cTel2)), __LINE__); |
|
811 | } |
|
812 | $this->cTel2 = $cTel2; |
|
813 | ||
814 | return $this; |
|
815 | } |
|
816 | ||
817 | /** |
|
818 | * Get cAddr1 value |
|
819 | * |
|
820 | * @return string|null |
|
821 | */ |
|
822 | public function getCAddr1() |
|
823 | { |
|
824 | return $this->cAddr1; |
|
825 | } |
|
826 | ||
827 | /** |
|
828 | * Set cAddr1 value |
|
829 | * |
|
830 | * @param string $cAddr1 |
|
831 | * |
|
832 | * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShip |
|
833 | */ |
|
834 | public function setCAddr1($cAddr1 = null) |
|
835 | { |
|
836 | // validation for constraint: string |
|
837 | if (!is_null($cAddr1) && !is_string($cAddr1)) { |
|
838 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($cAddr1)), __LINE__); |
|
839 | } |
|
840 | $this->cAddr1 = $cAddr1; |
|
841 | ||
842 | return $this; |
|
843 | } |
|
844 | ||
845 | /** |
|
846 | * Get cAddr2 value |
|
847 | * |
|
848 | * @return string|null |
|
849 | */ |
|
850 | public function getCAddr2() |
|
851 | { |
|
852 | return $this->cAddr2; |
|
853 | } |
|
854 | ||
855 | /** |
|
856 | * Set cAddr2 value |
|
857 | * |
|
858 | * @param string $cAddr2 |
|
859 | * |
|
860 | * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShip |
|
861 | */ |
|
862 | public function setCAddr2($cAddr2 = null) |
|
863 | { |
|
864 | // validation for constraint: string |
|
865 | if (!is_null($cAddr2) && !is_string($cAddr2)) { |
|
866 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($cAddr2)), __LINE__); |
|
867 | } |
|
868 | $this->cAddr2 = $cAddr2; |
|
869 | ||
870 | return $this; |
|
871 | } |
|
872 | ||
873 | /** |
|
874 | * Get shipType value |
|
875 | * |
|
876 | * @return string|null |
|
877 | */ |
|
878 | public function getShipType() |
|
879 | { |
|
880 | return $this->shipType; |
|
881 | } |
|
882 | ||
883 | /** |
|
884 | * Set shipType value |
|
885 | * |
|
886 | * @param string $shipType |
|
887 | * |
|
888 | * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShip |
|
889 | */ |
|
890 | public function setShipType($shipType = null) |
|
891 | { |
|
892 | // validation for constraint: string |
|
893 | if (!is_null($shipType) && !is_string($shipType)) { |
|
894 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($shipType)), __LINE__); |
|
895 | } |
|
896 | $this->shipType = $shipType; |
|
897 | ||
898 | return $this; |
|
899 | } |
|
900 | ||
901 | /** |
|
902 | * Get cEmail value |
|
903 | * |
|
904 | * @return string|null |
|
905 | */ |
|
906 | public function getCEmail() |
|
907 | { |
|
908 | return $this->cEmail; |
|
909 | } |
|
910 | ||
911 | /** |
|
912 | * Set cEmail value |
|
913 | * |
|
914 | * @param string $cEmail |
|
915 | * |
|
916 | * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShip |
|
917 | */ |
|
918 | public function setCEmail($cEmail = null) |
|
919 | { |
|
920 | // validation for constraint: string |
|
921 | if (!is_null($cEmail) && !is_string($cEmail)) { |
|
922 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($cEmail)), __LINE__); |
|
923 | } |
|
924 | $this->cEmail = $cEmail; |
|
925 | ||
926 | return $this; |
|
927 | } |
|
928 | ||
929 | /** |
|
930 | * Get carrValue value |
|
931 | * |
|
932 | * @return string|null |
|
933 | */ |
|
934 | public function getCarrValue() |
|
935 | { |
|
936 | return $this->carrValue; |
|
937 | } |
|
938 | ||
939 | /** |
|
940 | * Set carrValue value |
|
941 | * |
|
942 | * @param string $carrValue |
|
943 | * |
|
944 | * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShip |
|
945 | */ |
|
946 | public function setCarrValue($carrValue = null) |
|
947 | { |
|
948 | // validation for constraint: string |
|
949 | if (!is_null($carrValue) && !is_string($carrValue)) { |
|
950 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($carrValue)), __LINE__); |
|
951 | } |
|
952 | $this->carrValue = $carrValue; |
|
953 | ||
954 | return $this; |
|
955 | } |
|
956 | ||
957 | /** |
|
958 | * Get carrCurr value |
|
959 | * |
|
960 | * @return string|null |
|
961 | */ |
|
962 | public function getCarrCurr() |
|
963 | { |
|
964 | return $this->carrCurr; |
|
965 | } |
|
966 | ||
967 | /** |
|
968 | * Set carrCurr value |
|
969 | * |
|
970 | * @param string $carrCurr |
|
971 | * |
|
972 | * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShip |
|
973 | */ |
|
974 | public function setCarrCurr($carrCurr = null) |
|
975 | { |
|
976 | // validation for constraint: string |
|
977 | if (!is_null($carrCurr) && !is_string($carrCurr)) { |
|
978 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($carrCurr)), __LINE__); |
|
979 | } |
|
980 | $this->carrCurr = $carrCurr; |
|
981 | ||
982 | return $this; |
|
983 | } |
|
984 | ||
985 | /** |
|
986 | * Get codAmt value |
|
987 | * |
|
988 | * @return string|null |
|
989 | */ |
|
990 | public function getCodAmt() |
|
991 | { |
|
992 | return $this->codAmt; |
|
993 | } |
|
994 | ||
995 | /** |
|
996 | * Set codAmt value |
|
997 | * |
|
998 | * @param string $codAmt |
|
999 | * |
|
1000 | * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShip |
|
1001 | */ |
|
1002 | public function setCodAmt($codAmt = null) |
|
1003 | { |
|
1004 | // validation for constraint: string |
|
1005 | if (!is_null($codAmt) && !is_string($codAmt)) { |
|
1006 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($codAmt)), __LINE__); |
|
1007 | } |
|
1008 | $this->codAmt = $codAmt; |
|
1009 | ||
1010 | return $this; |
|
1011 | } |
|
1012 | ||
1013 | /** |
|
1014 | * Get weight value |
|
1015 | * |
|
1016 | * @return string|null |
|
1017 | */ |
|
1018 | public function getWeight() |
|
1019 | { |
|
1020 | return $this->weight; |
|
1021 | } |
|
1022 | ||
1023 | /** |
|
1024 | * Set weight value |
|
1025 | * |
|
1026 | * @param string $weight |
|
1027 | * |
|
1028 | * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShip |
|
1029 | */ |
|
1030 | public function setWeight($weight = null) |
|
1031 | { |
|
1032 | // validation for constraint: string |
|
1033 | if (!is_null($weight) && !is_string($weight)) { |
|
1034 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($weight)), __LINE__); |
|
1035 | } |
|
1036 | $this->weight = $weight; |
|
1037 | ||
1038 | return $this; |
|
1039 | } |
|
1040 | ||
1041 | /** |
|
1042 | * Get custVal value |
|
1043 | * |
|
1044 | * @return string|null |
|
1045 | */ |
|
1046 | public function getCustVal() |
|
1047 | { |
|
1048 | return $this->custVal; |
|
1049 | } |
|
1050 | ||
1051 | /** |
|
1052 | * Set custVal value |
|
1053 | * |
|
1054 | * @param string $custVal |
|
1055 | * |
|
1056 | * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShip |
|
1057 | */ |
|
1058 | public function setCustVal($custVal = null) |
|
1059 | { |
|
1060 | // validation for constraint: string |
|
1061 | if (!is_null($custVal) && !is_string($custVal)) { |
|
1062 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($custVal)), __LINE__); |
|
1063 | } |
|
1064 | $this->custVal = $custVal; |
|
1065 | ||
1066 | return $this; |
|
1067 | } |
|
1068 | ||
1069 | /** |
|
1070 | * Get custCurr value |
|
1071 | * |
|
1072 | * @return string|null |
|
1073 | */ |
|
1074 | public function getCustCurr() |
|
1075 | { |
|
1076 | return $this->custCurr; |
|
1077 | } |
|
1078 | ||
1079 | /** |
|
1080 | * Set custCurr value |
|
1081 | * |
|
1082 | * @param string $custCurr |
|
1083 | * |
|
1084 | * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShip |
|
1085 | */ |
|
1086 | public function setCustCurr($custCurr = null) |
|
1087 | { |
|
1088 | // validation for constraint: string |
|
1089 | if (!is_null($custCurr) && !is_string($custCurr)) { |
|
1090 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($custCurr)), __LINE__); |
|
1091 | } |
|
1092 | $this->custCurr = $custCurr; |
|
1093 | ||
1094 | return $this; |
|
1095 | } |
|
1096 | ||
1097 | /** |
|
1098 | * Get insrAmt value |
|
1099 | * |
|
1100 | * @return string|null |
|
1101 | */ |
|
1102 | public function getInsrAmt() |
|
1103 | { |
|
1104 | return $this->insrAmt; |
|
1105 | } |
|
1106 | ||
1107 | /** |
|
1108 | * Set insrAmt value |
|
1109 | * |
|
1110 | * @param string $insrAmt |
|
1111 | * |
|
1112 | * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShip |
|
1113 | */ |
|
1114 | public function setInsrAmt($insrAmt = null) |
|
1115 | { |
|
1116 | // validation for constraint: string |
|
1117 | if (!is_null($insrAmt) && !is_string($insrAmt)) { |
|
1118 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($insrAmt)), __LINE__); |
|
1119 | } |
|
1120 | $this->insrAmt = $insrAmt; |
|
1121 | ||
1122 | return $this; |
|
1123 | } |
|
1124 | ||
1125 | /** |
|
1126 | * Get insrCurr value |
|
1127 | * |
|
1128 | * @return string|null |
|
1129 | */ |
|
1130 | public function getInsrCurr() |
|
1131 | { |
|
1132 | return $this->insrCurr; |
|
1133 | } |
|
1134 | ||
1135 | /** |
|
1136 | * Set insrCurr value |
|
1137 | * |
|
1138 | * @param string $insrCurr |
|
1139 | * |
|
1140 | * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShip |
|
1141 | */ |
|
1142 | public function setInsrCurr($insrCurr = null) |
|
1143 | { |
|
1144 | // validation for constraint: string |
|
1145 | if (!is_null($insrCurr) && !is_string($insrCurr)) { |
|
1146 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($insrCurr)), __LINE__); |
|
1147 | } |
|
1148 | $this->insrCurr = $insrCurr; |
|
1149 | ||
1150 | return $this; |
|
1151 | } |
|
1152 | ||
1153 | /** |
|
1154 | * Get itemDesc value |
|
1155 | * |
|
1156 | * @return string|null |
|
1157 | */ |
|
1158 | public function getItemDesc() |
|
1159 | { |
|
1160 | return $this->itemDesc; |
|
1161 | } |
|
1162 | ||
1163 | /** |
|
1164 | * Set itemDesc value |
|
1165 | * |
|
1166 | * @param string $itemDesc |
|
1167 | * |
|
1168 | * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShip |
|
1169 | */ |
|
1170 | public function setItemDesc($itemDesc = null) |
|
1171 | { |
|
1172 | // validation for constraint: string |
|
1173 | if (!is_null($itemDesc) && !is_string($itemDesc)) { |
|
1174 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($itemDesc)), __LINE__); |
|
1175 | } |
|
1176 | $this->itemDesc = $itemDesc; |
|
1177 | ||
1178 | return $this; |
|
1179 | } |
|
1180 | ||
1181 | /** |
|
1182 | * Get sName value |
|
1183 | * |
|
1184 | * @return string|null |
|
1185 | */ |
|
1186 | public function getSName() |
|
1187 | { |
|
1188 | return $this->sName; |
|
1189 | } |
|
1190 | ||
1191 | /** |
|
1192 | * Set sName value |
|
1193 | * |
|
1194 | * @param string $sName |
|
1195 | * |
|
1196 | * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShip |
|
1197 | */ |
|
1198 | public function setSName($sName = null) |
|
1199 | { |
|
1200 | // validation for constraint: string |
|
1201 | if (!is_null($sName) && !is_string($sName)) { |
|
1202 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($sName)), __LINE__); |
|
1203 | } |
|
1204 | $this->sName = $sName; |
|
1205 | ||
1206 | return $this; |
|
1207 | } |
|
1208 | ||
1209 | /** |
|
1210 | * Get sContact value |
|
1211 | * |
|
1212 | * @return string|null |
|
1213 | */ |
|
1214 | public function getSContact() |
|
1215 | { |
|
1216 | return $this->sContact; |
|
1217 | } |
|
1218 | ||
1219 | /** |
|
1220 | * Set sContact value |
|
1221 | * |
|
1222 | * @param string $sContact |
|
1223 | * |
|
1224 | * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShip |
|
1225 | */ |
|
1226 | public function setSContact($sContact = null) |
|
1227 | { |
|
1228 | // validation for constraint: string |
|
1229 | if (!is_null($sContact) && !is_string($sContact)) { |
|
1230 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($sContact)), __LINE__); |
|
1231 | } |
|
1232 | $this->sContact = $sContact; |
|
1233 | ||
1234 | return $this; |
|
1235 | } |
|
1236 | ||
1237 | /** |
|
1238 | * Get sAddr1 value |
|
1239 | * |
|
1240 | * @return string|null |
|
1241 | */ |
|
1242 | public function getSAddr1() |
|
1243 | { |
|
1244 | return $this->sAddr1; |
|
1245 | } |
|
1246 | ||
1247 | /** |
|
1248 | * Set sAddr1 value |
|
1249 | * |
|
1250 | * @param string $sAddr1 |
|
1251 | * |
|
1252 | * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShip |
|
1253 | */ |
|
1254 | public function setSAddr1($sAddr1 = null) |
|
1255 | { |
|
1256 | // validation for constraint: string |
|
1257 | if (!is_null($sAddr1) && !is_string($sAddr1)) { |
|
1258 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($sAddr1)), __LINE__); |
|
1259 | } |
|
1260 | $this->sAddr1 = $sAddr1; |
|
1261 | ||
1262 | return $this; |
|
1263 | } |
|
1264 | ||
1265 | /** |
|
1266 | * Get sAddr2 value |
|
1267 | * |
|
1268 | * @return string|null |
|
1269 | */ |
|
1270 | public function getSAddr2() |
|
1271 | { |
|
1272 | return $this->sAddr2; |
|
1273 | } |
|
1274 | ||
1275 | /** |
|
1276 | * Set sAddr2 value |
|
1277 | * |
|
1278 | * @param string $sAddr2 |
|
1279 | * |
|
1280 | * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShip |
|
1281 | */ |
|
1282 | public function setSAddr2($sAddr2 = null) |
|
1283 | { |
|
1284 | // validation for constraint: string |
|
1285 | if (!is_null($sAddr2) && !is_string($sAddr2)) { |
|
1286 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($sAddr2)), __LINE__); |
|
1287 | } |
|
1288 | $this->sAddr2 = $sAddr2; |
|
1289 | ||
1290 | return $this; |
|
1291 | } |
|
1292 | ||
1293 | /** |
|
1294 | * Get sCity value |
|
1295 | * |
|
1296 | * @return string|null |
|
1297 | */ |
|
1298 | public function getSCity() |
|
1299 | { |
|
1300 | return $this->sCity; |
|
1301 | } |
|
1302 | ||
1303 | /** |
|
1304 | * Set sCity value |
|
1305 | * |
|
1306 | * @param string $sCity |
|
1307 | * |
|
1308 | * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShip |
|
1309 | */ |
|
1310 | public function setSCity($sCity = null) |
|
1311 | { |
|
1312 | // validation for constraint: string |
|
1313 | if (!is_null($sCity) && !is_string($sCity)) { |
|
1314 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($sCity)), __LINE__); |
|
1315 | } |
|
1316 | $this->sCity = $sCity; |
|
1317 | ||
1318 | return $this; |
|
1319 | } |
|
1320 | ||
1321 | /** |
|
1322 | * Get sPhone value |
|
1323 | * |
|
1324 | * @return string|null |
|
1325 | */ |
|
1326 | public function getSPhone() |
|
1327 | { |
|
1328 | return $this->sPhone; |
|
1329 | } |
|
1330 | ||
1331 | /** |
|
1332 | * Set sPhone value |
|
1333 | * |
|
1334 | * @param string $sPhone |
|
1335 | * |
|
1336 | * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShip |
|
1337 | */ |
|
1338 | public function setSPhone($sPhone = null) |
|
1339 | { |
|
1340 | // validation for constraint: string |
|
1341 | if (!is_null($sPhone) && !is_string($sPhone)) { |
|
1342 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($sPhone)), __LINE__); |
|
1343 | } |
|
1344 | $this->sPhone = $sPhone; |
|
1345 | ||
1346 | return $this; |
|
1347 | } |
|
1348 | ||
1349 | /** |
|
1350 | * Get sCntry value |
|
1351 | * |
|
1352 | * @return string|null |
|
1353 | */ |
|
1354 | public function getSCntry() |
|
1355 | { |
|
1356 | return $this->sCntry; |
|
1357 | } |
|
1358 | ||
1359 | /** |
|
1360 | * Set sCntry value |
|
1361 | * |
|
1362 | * @param string $sCntry |
|
1363 | * |
|
1364 | * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShip |
|
1365 | */ |
|
1366 | public function setSCntry($sCntry = null) |
|
1367 | { |
|
1368 | // validation for constraint: string |
|
1369 | if (!is_null($sCntry) && !is_string($sCntry)) { |
|
1370 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($sCntry)), __LINE__); |
|
1371 | } |
|
1372 | $this->sCntry = $sCntry; |
|
1373 | ||
1374 | return $this; |
|
1375 | } |
|
1376 | ||
1377 | /** |
|
1378 | * Get prefDelvDate value |
|
1379 | * |
|
1380 | * @return string|null |
|
1381 | */ |
|
1382 | public function getPrefDelvDate() |
|
1383 | { |
|
1384 | return $this->prefDelvDate; |
|
1385 | } |
|
1386 | ||
1387 | /** |
|
1388 | * Set prefDelvDate value |
|
1389 | * |
|
1390 | * @param string $prefDelvDate |
|
1391 | * |
|
1392 | * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShip |
|
1393 | */ |
|
1394 | public function setPrefDelvDate($prefDelvDate = null) |
|
1395 | { |
|
1396 | // validation for constraint: string |
|
1397 | if (!is_null($prefDelvDate) && !is_string($prefDelvDate)) { |
|
1398 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($prefDelvDate)), __LINE__); |
|
1399 | } |
|
1400 | $this->prefDelvDate = $prefDelvDate; |
|
1401 | ||
1402 | return $this; |
|
1403 | } |
|
1404 | ||
1405 | /** |
|
1406 | * Get gpsPoints value |
|
1407 | * |
|
1408 | * @return string|null |
|
1409 | */ |
|
1410 | public function getGpsPoints() |
|
1411 | { |
|
1412 | return $this->gpsPoints; |
|
1413 | } |
|
1414 | ||
1415 | /** |
|
1416 | * Set gpsPoints value |
|
1417 | * |
|
1418 | * @param string $gpsPoints |
|
1419 | * |
|
1420 | * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShip |
|
1421 | */ |
|
1422 | public function setGpsPoints($gpsPoints = null) |
|
1423 | { |
|
1424 | // validation for constraint: string |
|
1425 | if (!is_null($gpsPoints) && !is_string($gpsPoints)) { |
|
1426 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($gpsPoints)), __LINE__); |
|
1427 | } |
|
1428 | $this->gpsPoints = $gpsPoints; |
|
1429 | ||
1430 | return $this; |
|
1431 | } |
|
1432 | ||
1433 | /** |
|
1434 | * Method called when an object has been exported with var_export() functions |
|
1435 | * It allows to return an object instantiated with the values |
|
1436 | * |
|
1437 | * @see AbstractStructBase::__set_state() |
|
1438 | * |
|
1439 | * @uses AbstractStructBase::__set_state() |
|
1440 | * |
|
1441 | * @param array $array the exported values |
|
1442 | * |
|
1443 | * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShip |
|
1444 | */ |
|
1445 | public static function __set_state(array $array) |
|
1446 | { |
|
1447 | return parent::__set_state($array); |
|
1448 | } |
|
1449 | ||
1450 | /** |
|
1451 | * Method returning the class name |
|
1452 | * |
|
1453 | * @return string __CLASS__ |
|
1454 | */ |
|
1455 | public function __toString() |
|
1456 | { |
|
1457 | return __CLASS__; |
|
1458 | } |
|
1459 | } |
|
1460 |
@@ 20-1459 (lines=1440) @@ | ||
17 | * @date 2018/04/06 |
|
18 | * @codeVersion 0.0.1 |
|
19 | */ |
|
20 | class AddShipMPS extends AbstractStructBase |
|
21 | { |
|
22 | /** |
|
23 | * The PCs |
|
24 | * Meta informations extracted from the WSDL |
|
25 | * - maxOccurs: 1 |
|
26 | * - minOccurs: 1 |
|
27 | * |
|
28 | * @var int |
|
29 | */ |
|
30 | public $PCs; |
|
31 | /** |
|
32 | * The passKey |
|
33 | * Meta informations extracted from the WSDL |
|
34 | * - maxOccurs: 1 |
|
35 | * - minOccurs: 0 |
|
36 | * |
|
37 | * @var string |
|
38 | */ |
|
39 | public $passKey; |
|
40 | /** |
|
41 | * The refNo |
|
42 | * Meta informations extracted from the WSDL |
|
43 | * - maxOccurs: 1 |
|
44 | * - minOccurs: 0 |
|
45 | * |
|
46 | * @var string |
|
47 | */ |
|
48 | public $refNo; |
|
49 | /** |
|
50 | * The sentDate |
|
51 | * Meta informations extracted from the WSDL |
|
52 | * - maxOccurs: 1 |
|
53 | * - minOccurs: 0 |
|
54 | * |
|
55 | * @var string |
|
56 | */ |
|
57 | public $sentDate; |
|
58 | /** |
|
59 | * The idNo |
|
60 | * Meta informations extracted from the WSDL |
|
61 | * - maxOccurs: 1 |
|
62 | * - minOccurs: 0 |
|
63 | * |
|
64 | * @var string |
|
65 | */ |
|
66 | public $idNo; |
|
67 | /** |
|
68 | * The cName |
|
69 | * Meta informations extracted from the WSDL |
|
70 | * - maxOccurs: 1 |
|
71 | * - minOccurs: 0 |
|
72 | * |
|
73 | * @var string |
|
74 | */ |
|
75 | public $cName; |
|
76 | /** |
|
77 | * The cntry |
|
78 | * Meta informations extracted from the WSDL |
|
79 | * - maxOccurs: 1 |
|
80 | * - minOccurs: 0 |
|
81 | * |
|
82 | * @var string |
|
83 | */ |
|
84 | public $cntry; |
|
85 | /** |
|
86 | * The cCity |
|
87 | * Meta informations extracted from the WSDL |
|
88 | * - maxOccurs: 1 |
|
89 | * - minOccurs: 0 |
|
90 | * |
|
91 | * @var string |
|
92 | */ |
|
93 | public $cCity; |
|
94 | /** |
|
95 | * The cZip |
|
96 | * Meta informations extracted from the WSDL |
|
97 | * - maxOccurs: 1 |
|
98 | * - minOccurs: 0 |
|
99 | * |
|
100 | * @var string |
|
101 | */ |
|
102 | public $cZip; |
|
103 | /** |
|
104 | * The cPOBox |
|
105 | * Meta informations extracted from the WSDL |
|
106 | * - maxOccurs: 1 |
|
107 | * - minOccurs: 0 |
|
108 | * |
|
109 | * @var string |
|
110 | */ |
|
111 | public $cPOBox; |
|
112 | /** |
|
113 | * The cMobile |
|
114 | * Meta informations extracted from the WSDL |
|
115 | * - maxOccurs: 1 |
|
116 | * - minOccurs: 0 |
|
117 | * |
|
118 | * @var string |
|
119 | */ |
|
120 | public $cMobile; |
|
121 | /** |
|
122 | * The cTel1 |
|
123 | * Meta informations extracted from the WSDL |
|
124 | * - maxOccurs: 1 |
|
125 | * - minOccurs: 0 |
|
126 | * |
|
127 | * @var string |
|
128 | */ |
|
129 | public $cTel1; |
|
130 | /** |
|
131 | * The cTel2 |
|
132 | * Meta informations extracted from the WSDL |
|
133 | * - maxOccurs: 1 |
|
134 | * - minOccurs: 0 |
|
135 | * |
|
136 | * @var string |
|
137 | */ |
|
138 | public $cTel2; |
|
139 | /** |
|
140 | * The cAddr1 |
|
141 | * Meta informations extracted from the WSDL |
|
142 | * - maxOccurs: 1 |
|
143 | * - minOccurs: 0 |
|
144 | * |
|
145 | * @var string |
|
146 | */ |
|
147 | public $cAddr1; |
|
148 | /** |
|
149 | * The cAddr2 |
|
150 | * Meta informations extracted from the WSDL |
|
151 | * - maxOccurs: 1 |
|
152 | * - minOccurs: 0 |
|
153 | * |
|
154 | * @var string |
|
155 | */ |
|
156 | public $cAddr2; |
|
157 | /** |
|
158 | * The shipType |
|
159 | * Meta informations extracted from the WSDL |
|
160 | * - maxOccurs: 1 |
|
161 | * - minOccurs: 0 |
|
162 | * |
|
163 | * @var string |
|
164 | */ |
|
165 | public $shipType; |
|
166 | /** |
|
167 | * The cEmail |
|
168 | * Meta informations extracted from the WSDL |
|
169 | * - maxOccurs: 1 |
|
170 | * - minOccurs: 0 |
|
171 | * |
|
172 | * @var string |
|
173 | */ |
|
174 | public $cEmail; |
|
175 | /** |
|
176 | * The carrValue |
|
177 | * Meta informations extracted from the WSDL |
|
178 | * - maxOccurs: 1 |
|
179 | * - minOccurs: 0 |
|
180 | * |
|
181 | * @var string |
|
182 | */ |
|
183 | public $carrValue; |
|
184 | /** |
|
185 | * The carrCurr |
|
186 | * Meta informations extracted from the WSDL |
|
187 | * - maxOccurs: 1 |
|
188 | * - minOccurs: 0 |
|
189 | * |
|
190 | * @var string |
|
191 | */ |
|
192 | public $carrCurr; |
|
193 | /** |
|
194 | * The codAmt |
|
195 | * Meta informations extracted from the WSDL |
|
196 | * - maxOccurs: 1 |
|
197 | * - minOccurs: 0 |
|
198 | * |
|
199 | * @var string |
|
200 | */ |
|
201 | public $codAmt; |
|
202 | /** |
|
203 | * The weight |
|
204 | * Meta informations extracted from the WSDL |
|
205 | * - maxOccurs: 1 |
|
206 | * - minOccurs: 0 |
|
207 | * |
|
208 | * @var string |
|
209 | */ |
|
210 | public $weight; |
|
211 | /** |
|
212 | * The custVal |
|
213 | * Meta informations extracted from the WSDL |
|
214 | * - maxOccurs: 1 |
|
215 | * - minOccurs: 0 |
|
216 | * |
|
217 | * @var string |
|
218 | */ |
|
219 | public $custVal; |
|
220 | /** |
|
221 | * The custCurr |
|
222 | * Meta informations extracted from the WSDL |
|
223 | * - maxOccurs: 1 |
|
224 | * - minOccurs: 0 |
|
225 | * |
|
226 | * @var string |
|
227 | */ |
|
228 | public $custCurr; |
|
229 | /** |
|
230 | * The insrAmt |
|
231 | * Meta informations extracted from the WSDL |
|
232 | * - maxOccurs: 1 |
|
233 | * - minOccurs: 0 |
|
234 | * |
|
235 | * @var string |
|
236 | */ |
|
237 | public $insrAmt; |
|
238 | /** |
|
239 | * The insrCurr |
|
240 | * Meta informations extracted from the WSDL |
|
241 | * - maxOccurs: 1 |
|
242 | * - minOccurs: 0 |
|
243 | * |
|
244 | * @var string |
|
245 | */ |
|
246 | public $insrCurr; |
|
247 | /** |
|
248 | * The itemDesc |
|
249 | * Meta informations extracted from the WSDL |
|
250 | * - maxOccurs: 1 |
|
251 | * - minOccurs: 0 |
|
252 | * |
|
253 | * @var string |
|
254 | */ |
|
255 | public $itemDesc; |
|
256 | /** |
|
257 | * The sName |
|
258 | * Meta informations extracted from the WSDL |
|
259 | * - maxOccurs: 1 |
|
260 | * - minOccurs: 0 |
|
261 | * |
|
262 | * @var string |
|
263 | */ |
|
264 | public $sName; |
|
265 | /** |
|
266 | * The sContact |
|
267 | * Meta informations extracted from the WSDL |
|
268 | * - maxOccurs: 1 |
|
269 | * - minOccurs: 0 |
|
270 | * |
|
271 | * @var string |
|
272 | */ |
|
273 | public $sContact; |
|
274 | /** |
|
275 | * The sAddr1 |
|
276 | * Meta informations extracted from the WSDL |
|
277 | * - maxOccurs: 1 |
|
278 | * - minOccurs: 0 |
|
279 | * |
|
280 | * @var string |
|
281 | */ |
|
282 | public $sAddr1; |
|
283 | /** |
|
284 | * The sAddr2 |
|
285 | * Meta informations extracted from the WSDL |
|
286 | * - maxOccurs: 1 |
|
287 | * - minOccurs: 0 |
|
288 | * |
|
289 | * @var string |
|
290 | */ |
|
291 | public $sAddr2; |
|
292 | /** |
|
293 | * The sCity |
|
294 | * Meta informations extracted from the WSDL |
|
295 | * - maxOccurs: 1 |
|
296 | * - minOccurs: 0 |
|
297 | * |
|
298 | * @var string |
|
299 | */ |
|
300 | public $sCity; |
|
301 | /** |
|
302 | * The sPhone |
|
303 | * Meta informations extracted from the WSDL |
|
304 | * - maxOccurs: 1 |
|
305 | * - minOccurs: 0 |
|
306 | * |
|
307 | * @var string |
|
308 | */ |
|
309 | public $sPhone; |
|
310 | /** |
|
311 | * The sCntry |
|
312 | * Meta informations extracted from the WSDL |
|
313 | * - maxOccurs: 1 |
|
314 | * - minOccurs: 0 |
|
315 | * |
|
316 | * @var string |
|
317 | */ |
|
318 | public $sCntry; |
|
319 | /** |
|
320 | * The prefDelvDate |
|
321 | * Meta informations extracted from the WSDL |
|
322 | * - maxOccurs: 1 |
|
323 | * - minOccurs: 0 |
|
324 | * |
|
325 | * @var string |
|
326 | */ |
|
327 | public $prefDelvDate; |
|
328 | /** |
|
329 | * The gpsPoints |
|
330 | * Meta informations extracted from the WSDL |
|
331 | * - maxOccurs: 1 |
|
332 | * - minOccurs: 0 |
|
333 | * |
|
334 | * @var string |
|
335 | */ |
|
336 | public $gpsPoints; |
|
337 | ||
338 | /** |
|
339 | * Constructor method for addShipMPS |
|
340 | * |
|
341 | * @uses AddShipMPS::setPCs() |
|
342 | * @uses AddShipMPS::setPassKey() |
|
343 | * @uses AddShipMPS::setRefNo() |
|
344 | * @uses AddShipMPS::setSentDate() |
|
345 | * @uses AddShipMPS::setIdNo() |
|
346 | * @uses AddShipMPS::setCName() |
|
347 | * @uses AddShipMPS::setCntry() |
|
348 | * @uses AddShipMPS::setCCity() |
|
349 | * @uses AddShipMPS::setCZip() |
|
350 | * @uses AddShipMPS::setCPOBox() |
|
351 | * @uses AddShipMPS::setCMobile() |
|
352 | * @uses AddShipMPS::setCTel1() |
|
353 | * @uses AddShipMPS::setCTel2() |
|
354 | * @uses AddShipMPS::setCAddr1() |
|
355 | * @uses AddShipMPS::setCAddr2() |
|
356 | * @uses AddShipMPS::setShipType() |
|
357 | * @uses AddShipMPS::setCEmail() |
|
358 | * @uses AddShipMPS::setCarrValue() |
|
359 | * @uses AddShipMPS::setCarrCurr() |
|
360 | * @uses AddShipMPS::setCodAmt() |
|
361 | * @uses AddShipMPS::setWeight() |
|
362 | * @uses AddShipMPS::setCustVal() |
|
363 | * @uses AddShipMPS::setCustCurr() |
|
364 | * @uses AddShipMPS::setInsrAmt() |
|
365 | * @uses AddShipMPS::setInsrCurr() |
|
366 | * @uses AddShipMPS::setItemDesc() |
|
367 | * @uses AddShipMPS::setSName() |
|
368 | * @uses AddShipMPS::setSContact() |
|
369 | * @uses AddShipMPS::setSAddr1() |
|
370 | * @uses AddShipMPS::setSAddr2() |
|
371 | * @uses AddShipMPS::setSCity() |
|
372 | * @uses AddShipMPS::setSPhone() |
|
373 | * @uses AddShipMPS::setSCntry() |
|
374 | * @uses AddShipMPS::setPrefDelvDate() |
|
375 | * @uses AddShipMPS::setGpsPoints() |
|
376 | * |
|
377 | * @param int $pCs |
|
378 | * @param string $passKey |
|
379 | * @param string $refNo |
|
380 | * @param string $sentDate |
|
381 | * @param string $idNo |
|
382 | * @param string $cName |
|
383 | * @param string $cntry |
|
384 | * @param string $cCity |
|
385 | * @param string $cZip |
|
386 | * @param string $cPOBox |
|
387 | * @param string $cMobile |
|
388 | * @param string $cTel1 |
|
389 | * @param string $cTel2 |
|
390 | * @param string $cAddr1 |
|
391 | * @param string $cAddr2 |
|
392 | * @param string $shipType |
|
393 | * @param string $cEmail |
|
394 | * @param string $carrValue |
|
395 | * @param string $carrCurr |
|
396 | * @param string $codAmt |
|
397 | * @param string $weight |
|
398 | * @param string $custVal |
|
399 | * @param string $custCurr |
|
400 | * @param string $insrAmt |
|
401 | * @param string $insrCurr |
|
402 | * @param string $itemDesc |
|
403 | * @param string $sName |
|
404 | * @param string $sContact |
|
405 | * @param string $sAddr1 |
|
406 | * @param string $sAddr2 |
|
407 | * @param string $sCity |
|
408 | * @param string $sPhone |
|
409 | * @param string $sCntry |
|
410 | * @param string $prefDelvDate |
|
411 | * @param string $gpsPoints |
|
412 | */ |
|
413 | public function __construct($pCs = null, $passKey = null, $refNo = null, $sentDate = null, $idNo = null, $cName = null, $cntry = null, $cCity = null, $cZip = null, $cPOBox = null, $cMobile = null, $cTel1 = null, $cTel2 = null, $cAddr1 = null, $cAddr2 = null, $shipType = null, $cEmail = null, $carrValue = null, $carrCurr = null, $codAmt = null, $weight = null, $custVal = null, $custCurr = null, $insrAmt = null, $insrCurr = null, $itemDesc = null, $sName = null, $sContact = null, $sAddr1 = null, $sAddr2 = null, $sCity = null, $sPhone = null, $sCntry = null, $prefDelvDate = null, $gpsPoints = null) |
|
414 | { |
|
415 | $this |
|
416 | ->setPCs($pCs) |
|
417 | ->setPassKey($passKey) |
|
418 | ->setRefNo($refNo) |
|
419 | ->setSentDate($sentDate) |
|
420 | ->setIdNo($idNo) |
|
421 | ->setCName($cName) |
|
422 | ->setCntry($cntry) |
|
423 | ->setCCity($cCity) |
|
424 | ->setCZip($cZip) |
|
425 | ->setCPOBox($cPOBox) |
|
426 | ->setCMobile($cMobile) |
|
427 | ->setCTel1($cTel1) |
|
428 | ->setCTel2($cTel2) |
|
429 | ->setCAddr1($cAddr1) |
|
430 | ->setCAddr2($cAddr2) |
|
431 | ->setShipType($shipType) |
|
432 | ->setCEmail($cEmail) |
|
433 | ->setCarrValue($carrValue) |
|
434 | ->setCarrCurr($carrCurr) |
|
435 | ->setCodAmt($codAmt) |
|
436 | ->setWeight($weight) |
|
437 | ->setCustVal($custVal) |
|
438 | ->setCustCurr($custCurr) |
|
439 | ->setInsrAmt($insrAmt) |
|
440 | ->setInsrCurr($insrCurr) |
|
441 | ->setItemDesc($itemDesc) |
|
442 | ->setSName($sName) |
|
443 | ->setSContact($sContact) |
|
444 | ->setSAddr1($sAddr1) |
|
445 | ->setSAddr2($sAddr2) |
|
446 | ->setSCity($sCity) |
|
447 | ->setSPhone($sPhone) |
|
448 | ->setSCntry($sCntry) |
|
449 | ->setPrefDelvDate($prefDelvDate) |
|
450 | ->setGpsPoints($gpsPoints); |
|
451 | } |
|
452 | ||
453 | /** |
|
454 | * Get PCs value |
|
455 | * |
|
456 | * @return int |
|
457 | */ |
|
458 | public function getPCs() |
|
459 | { |
|
460 | return $this->PCs; |
|
461 | } |
|
462 | ||
463 | /** |
|
464 | * Set PCs value |
|
465 | * |
|
466 | * @param int $pCs |
|
467 | * |
|
468 | * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShipMPS |
|
469 | */ |
|
470 | public function setPCs($pCs = null) |
|
471 | { |
|
472 | // validation for constraint: int |
|
473 | if (!is_null($pCs) && !is_numeric($pCs)) { |
|
474 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($pCs)), __LINE__); |
|
475 | } |
|
476 | $this->PCs = $pCs; |
|
477 | ||
478 | return $this; |
|
479 | } |
|
480 | ||
481 | /** |
|
482 | * Get passKey value |
|
483 | * |
|
484 | * @return string|null |
|
485 | */ |
|
486 | public function getPassKey() |
|
487 | { |
|
488 | return $this->passKey; |
|
489 | } |
|
490 | ||
491 | /** |
|
492 | * Set passKey value |
|
493 | * |
|
494 | * @param string $passKey |
|
495 | * |
|
496 | * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShipMPS |
|
497 | */ |
|
498 | public function setPassKey($passKey = null) |
|
499 | { |
|
500 | // validation for constraint: string |
|
501 | if (!is_null($passKey) && !is_string($passKey)) { |
|
502 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($passKey)), __LINE__); |
|
503 | } |
|
504 | $this->passKey = $passKey; |
|
505 | ||
506 | return $this; |
|
507 | } |
|
508 | ||
509 | /** |
|
510 | * Get refNo value |
|
511 | * |
|
512 | * @return string|null |
|
513 | */ |
|
514 | public function getRefNo() |
|
515 | { |
|
516 | return $this->refNo; |
|
517 | } |
|
518 | ||
519 | /** |
|
520 | * Set refNo value |
|
521 | * |
|
522 | * @param string $refNo |
|
523 | * |
|
524 | * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShipMPS |
|
525 | */ |
|
526 | public function setRefNo($refNo = null) |
|
527 | { |
|
528 | // validation for constraint: string |
|
529 | if (!is_null($refNo) && !is_string($refNo)) { |
|
530 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($refNo)), __LINE__); |
|
531 | } |
|
532 | $this->refNo = $refNo; |
|
533 | ||
534 | return $this; |
|
535 | } |
|
536 | ||
537 | /** |
|
538 | * Get sentDate value |
|
539 | * |
|
540 | * @return string|null |
|
541 | */ |
|
542 | public function getSentDate() |
|
543 | { |
|
544 | return $this->sentDate; |
|
545 | } |
|
546 | ||
547 | /** |
|
548 | * Set sentDate value |
|
549 | * |
|
550 | * @param string $sentDate |
|
551 | * |
|
552 | * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShipMPS |
|
553 | */ |
|
554 | public function setSentDate($sentDate = null) |
|
555 | { |
|
556 | // validation for constraint: string |
|
557 | if (!is_null($sentDate) && !is_string($sentDate)) { |
|
558 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($sentDate)), __LINE__); |
|
559 | } |
|
560 | $this->sentDate = $sentDate; |
|
561 | ||
562 | return $this; |
|
563 | } |
|
564 | ||
565 | /** |
|
566 | * Get idNo value |
|
567 | * |
|
568 | * @return string|null |
|
569 | */ |
|
570 | public function getIdNo() |
|
571 | { |
|
572 | return $this->idNo; |
|
573 | } |
|
574 | ||
575 | /** |
|
576 | * Set idNo value |
|
577 | * |
|
578 | * @param string $idNo |
|
579 | * |
|
580 | * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShipMPS |
|
581 | */ |
|
582 | public function setIdNo($idNo = null) |
|
583 | { |
|
584 | // validation for constraint: string |
|
585 | if (!is_null($idNo) && !is_string($idNo)) { |
|
586 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($idNo)), __LINE__); |
|
587 | } |
|
588 | $this->idNo = $idNo; |
|
589 | ||
590 | return $this; |
|
591 | } |
|
592 | ||
593 | /** |
|
594 | * Get cName value |
|
595 | * |
|
596 | * @return string|null |
|
597 | */ |
|
598 | public function getCName() |
|
599 | { |
|
600 | return $this->cName; |
|
601 | } |
|
602 | ||
603 | /** |
|
604 | * Set cName value |
|
605 | * |
|
606 | * @param string $cName |
|
607 | * |
|
608 | * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShipMPS |
|
609 | */ |
|
610 | public function setCName($cName = null) |
|
611 | { |
|
612 | // validation for constraint: string |
|
613 | if (!is_null($cName) && !is_string($cName)) { |
|
614 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($cName)), __LINE__); |
|
615 | } |
|
616 | $this->cName = $cName; |
|
617 | ||
618 | return $this; |
|
619 | } |
|
620 | ||
621 | /** |
|
622 | * Get cntry value |
|
623 | * |
|
624 | * @return string|null |
|
625 | */ |
|
626 | public function getCntry() |
|
627 | { |
|
628 | return $this->cntry; |
|
629 | } |
|
630 | ||
631 | /** |
|
632 | * Set cntry value |
|
633 | * |
|
634 | * @param string $cntry |
|
635 | * |
|
636 | * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShipMPS |
|
637 | */ |
|
638 | public function setCntry($cntry = null) |
|
639 | { |
|
640 | // validation for constraint: string |
|
641 | if (!is_null($cntry) && !is_string($cntry)) { |
|
642 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($cntry)), __LINE__); |
|
643 | } |
|
644 | $this->cntry = $cntry; |
|
645 | ||
646 | return $this; |
|
647 | } |
|
648 | ||
649 | /** |
|
650 | * Get cCity value |
|
651 | * |
|
652 | * @return string|null |
|
653 | */ |
|
654 | public function getCCity() |
|
655 | { |
|
656 | return $this->cCity; |
|
657 | } |
|
658 | ||
659 | /** |
|
660 | * Set cCity value |
|
661 | * |
|
662 | * @param string $cCity |
|
663 | * |
|
664 | * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShipMPS |
|
665 | */ |
|
666 | public function setCCity($cCity = null) |
|
667 | { |
|
668 | // validation for constraint: string |
|
669 | if (!is_null($cCity) && !is_string($cCity)) { |
|
670 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($cCity)), __LINE__); |
|
671 | } |
|
672 | $this->cCity = $cCity; |
|
673 | ||
674 | return $this; |
|
675 | } |
|
676 | ||
677 | /** |
|
678 | * Get cZip value |
|
679 | * |
|
680 | * @return string|null |
|
681 | */ |
|
682 | public function getCZip() |
|
683 | { |
|
684 | return $this->cZip; |
|
685 | } |
|
686 | ||
687 | /** |
|
688 | * Set cZip value |
|
689 | * |
|
690 | * @param string $cZip |
|
691 | * |
|
692 | * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShipMPS |
|
693 | */ |
|
694 | public function setCZip($cZip = null) |
|
695 | { |
|
696 | // validation for constraint: string |
|
697 | if (!is_null($cZip) && !is_string($cZip)) { |
|
698 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($cZip)), __LINE__); |
|
699 | } |
|
700 | $this->cZip = $cZip; |
|
701 | ||
702 | return $this; |
|
703 | } |
|
704 | ||
705 | /** |
|
706 | * Get cPOBox value |
|
707 | * |
|
708 | * @return string|null |
|
709 | */ |
|
710 | public function getCPOBox() |
|
711 | { |
|
712 | return $this->cPOBox; |
|
713 | } |
|
714 | ||
715 | /** |
|
716 | * Set cPOBox value |
|
717 | * |
|
718 | * @param string $cPOBox |
|
719 | * |
|
720 | * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShipMPS |
|
721 | */ |
|
722 | public function setCPOBox($cPOBox = null) |
|
723 | { |
|
724 | // validation for constraint: string |
|
725 | if (!is_null($cPOBox) && !is_string($cPOBox)) { |
|
726 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($cPOBox)), __LINE__); |
|
727 | } |
|
728 | $this->cPOBox = $cPOBox; |
|
729 | ||
730 | return $this; |
|
731 | } |
|
732 | ||
733 | /** |
|
734 | * Get cMobile value |
|
735 | * |
|
736 | * @return string|null |
|
737 | */ |
|
738 | public function getCMobile() |
|
739 | { |
|
740 | return $this->cMobile; |
|
741 | } |
|
742 | ||
743 | /** |
|
744 | * Set cMobile value |
|
745 | * |
|
746 | * @param string $cMobile |
|
747 | * |
|
748 | * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShipMPS |
|
749 | */ |
|
750 | public function setCMobile($cMobile = null) |
|
751 | { |
|
752 | // validation for constraint: string |
|
753 | if (!is_null($cMobile) && !is_string($cMobile)) { |
|
754 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($cMobile)), __LINE__); |
|
755 | } |
|
756 | $this->cMobile = $cMobile; |
|
757 | ||
758 | return $this; |
|
759 | } |
|
760 | ||
761 | /** |
|
762 | * Get cTel1 value |
|
763 | * |
|
764 | * @return string|null |
|
765 | */ |
|
766 | public function getCTel1() |
|
767 | { |
|
768 | return $this->cTel1; |
|
769 | } |
|
770 | ||
771 | /** |
|
772 | * Set cTel1 value |
|
773 | * |
|
774 | * @param string $cTel1 |
|
775 | * |
|
776 | * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShipMPS |
|
777 | */ |
|
778 | public function setCTel1($cTel1 = null) |
|
779 | { |
|
780 | // validation for constraint: string |
|
781 | if (!is_null($cTel1) && !is_string($cTel1)) { |
|
782 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($cTel1)), __LINE__); |
|
783 | } |
|
784 | $this->cTel1 = $cTel1; |
|
785 | ||
786 | return $this; |
|
787 | } |
|
788 | ||
789 | /** |
|
790 | * Get cTel2 value |
|
791 | * |
|
792 | * @return string|null |
|
793 | */ |
|
794 | public function getCTel2() |
|
795 | { |
|
796 | return $this->cTel2; |
|
797 | } |
|
798 | ||
799 | /** |
|
800 | * Set cTel2 value |
|
801 | * |
|
802 | * @param string $cTel2 |
|
803 | * |
|
804 | * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShipMPS |
|
805 | */ |
|
806 | public function setCTel2($cTel2 = null) |
|
807 | { |
|
808 | // validation for constraint: string |
|
809 | if (!is_null($cTel2) && !is_string($cTel2)) { |
|
810 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($cTel2)), __LINE__); |
|
811 | } |
|
812 | $this->cTel2 = $cTel2; |
|
813 | ||
814 | return $this; |
|
815 | } |
|
816 | ||
817 | /** |
|
818 | * Get cAddr1 value |
|
819 | * |
|
820 | * @return string|null |
|
821 | */ |
|
822 | public function getCAddr1() |
|
823 | { |
|
824 | return $this->cAddr1; |
|
825 | } |
|
826 | ||
827 | /** |
|
828 | * Set cAddr1 value |
|
829 | * |
|
830 | * @param string $cAddr1 |
|
831 | * |
|
832 | * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShipMPS |
|
833 | */ |
|
834 | public function setCAddr1($cAddr1 = null) |
|
835 | { |
|
836 | // validation for constraint: string |
|
837 | if (!is_null($cAddr1) && !is_string($cAddr1)) { |
|
838 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($cAddr1)), __LINE__); |
|
839 | } |
|
840 | $this->cAddr1 = $cAddr1; |
|
841 | ||
842 | return $this; |
|
843 | } |
|
844 | ||
845 | /** |
|
846 | * Get cAddr2 value |
|
847 | * |
|
848 | * @return string|null |
|
849 | */ |
|
850 | public function getCAddr2() |
|
851 | { |
|
852 | return $this->cAddr2; |
|
853 | } |
|
854 | ||
855 | /** |
|
856 | * Set cAddr2 value |
|
857 | * |
|
858 | * @param string $cAddr2 |
|
859 | * |
|
860 | * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShipMPS |
|
861 | */ |
|
862 | public function setCAddr2($cAddr2 = null) |
|
863 | { |
|
864 | // validation for constraint: string |
|
865 | if (!is_null($cAddr2) && !is_string($cAddr2)) { |
|
866 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($cAddr2)), __LINE__); |
|
867 | } |
|
868 | $this->cAddr2 = $cAddr2; |
|
869 | ||
870 | return $this; |
|
871 | } |
|
872 | ||
873 | /** |
|
874 | * Get shipType value |
|
875 | * |
|
876 | * @return string|null |
|
877 | */ |
|
878 | public function getShipType() |
|
879 | { |
|
880 | return $this->shipType; |
|
881 | } |
|
882 | ||
883 | /** |
|
884 | * Set shipType value |
|
885 | * |
|
886 | * @param string $shipType |
|
887 | * |
|
888 | * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShipMPS |
|
889 | */ |
|
890 | public function setShipType($shipType = null) |
|
891 | { |
|
892 | // validation for constraint: string |
|
893 | if (!is_null($shipType) && !is_string($shipType)) { |
|
894 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($shipType)), __LINE__); |
|
895 | } |
|
896 | $this->shipType = $shipType; |
|
897 | ||
898 | return $this; |
|
899 | } |
|
900 | ||
901 | /** |
|
902 | * Get cEmail value |
|
903 | * |
|
904 | * @return string|null |
|
905 | */ |
|
906 | public function getCEmail() |
|
907 | { |
|
908 | return $this->cEmail; |
|
909 | } |
|
910 | ||
911 | /** |
|
912 | * Set cEmail value |
|
913 | * |
|
914 | * @param string $cEmail |
|
915 | * |
|
916 | * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShipMPS |
|
917 | */ |
|
918 | public function setCEmail($cEmail = null) |
|
919 | { |
|
920 | // validation for constraint: string |
|
921 | if (!is_null($cEmail) && !is_string($cEmail)) { |
|
922 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($cEmail)), __LINE__); |
|
923 | } |
|
924 | $this->cEmail = $cEmail; |
|
925 | ||
926 | return $this; |
|
927 | } |
|
928 | ||
929 | /** |
|
930 | * Get carrValue value |
|
931 | * |
|
932 | * @return string|null |
|
933 | */ |
|
934 | public function getCarrValue() |
|
935 | { |
|
936 | return $this->carrValue; |
|
937 | } |
|
938 | ||
939 | /** |
|
940 | * Set carrValue value |
|
941 | * |
|
942 | * @param string $carrValue |
|
943 | * |
|
944 | * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShipMPS |
|
945 | */ |
|
946 | public function setCarrValue($carrValue = null) |
|
947 | { |
|
948 | // validation for constraint: string |
|
949 | if (!is_null($carrValue) && !is_string($carrValue)) { |
|
950 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($carrValue)), __LINE__); |
|
951 | } |
|
952 | $this->carrValue = $carrValue; |
|
953 | ||
954 | return $this; |
|
955 | } |
|
956 | ||
957 | /** |
|
958 | * Get carrCurr value |
|
959 | * |
|
960 | * @return string|null |
|
961 | */ |
|
962 | public function getCarrCurr() |
|
963 | { |
|
964 | return $this->carrCurr; |
|
965 | } |
|
966 | ||
967 | /** |
|
968 | * Set carrCurr value |
|
969 | * |
|
970 | * @param string $carrCurr |
|
971 | * |
|
972 | * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShipMPS |
|
973 | */ |
|
974 | public function setCarrCurr($carrCurr = null) |
|
975 | { |
|
976 | // validation for constraint: string |
|
977 | if (!is_null($carrCurr) && !is_string($carrCurr)) { |
|
978 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($carrCurr)), __LINE__); |
|
979 | } |
|
980 | $this->carrCurr = $carrCurr; |
|
981 | ||
982 | return $this; |
|
983 | } |
|
984 | ||
985 | /** |
|
986 | * Get codAmt value |
|
987 | * |
|
988 | * @return string|null |
|
989 | */ |
|
990 | public function getCodAmt() |
|
991 | { |
|
992 | return $this->codAmt; |
|
993 | } |
|
994 | ||
995 | /** |
|
996 | * Set codAmt value |
|
997 | * |
|
998 | * @param string $codAmt |
|
999 | * |
|
1000 | * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShipMPS |
|
1001 | */ |
|
1002 | public function setCodAmt($codAmt = null) |
|
1003 | { |
|
1004 | // validation for constraint: string |
|
1005 | if (!is_null($codAmt) && !is_string($codAmt)) { |
|
1006 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($codAmt)), __LINE__); |
|
1007 | } |
|
1008 | $this->codAmt = $codAmt; |
|
1009 | ||
1010 | return $this; |
|
1011 | } |
|
1012 | ||
1013 | /** |
|
1014 | * Get weight value |
|
1015 | * |
|
1016 | * @return string|null |
|
1017 | */ |
|
1018 | public function getWeight() |
|
1019 | { |
|
1020 | return $this->weight; |
|
1021 | } |
|
1022 | ||
1023 | /** |
|
1024 | * Set weight value |
|
1025 | * |
|
1026 | * @param string $weight |
|
1027 | * |
|
1028 | * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShipMPS |
|
1029 | */ |
|
1030 | public function setWeight($weight = null) |
|
1031 | { |
|
1032 | // validation for constraint: string |
|
1033 | if (!is_null($weight) && !is_string($weight)) { |
|
1034 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($weight)), __LINE__); |
|
1035 | } |
|
1036 | $this->weight = $weight; |
|
1037 | ||
1038 | return $this; |
|
1039 | } |
|
1040 | ||
1041 | /** |
|
1042 | * Get custVal value |
|
1043 | * |
|
1044 | * @return string|null |
|
1045 | */ |
|
1046 | public function getCustVal() |
|
1047 | { |
|
1048 | return $this->custVal; |
|
1049 | } |
|
1050 | ||
1051 | /** |
|
1052 | * Set custVal value |
|
1053 | * |
|
1054 | * @param string $custVal |
|
1055 | * |
|
1056 | * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShipMPS |
|
1057 | */ |
|
1058 | public function setCustVal($custVal = null) |
|
1059 | { |
|
1060 | // validation for constraint: string |
|
1061 | if (!is_null($custVal) && !is_string($custVal)) { |
|
1062 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($custVal)), __LINE__); |
|
1063 | } |
|
1064 | $this->custVal = $custVal; |
|
1065 | ||
1066 | return $this; |
|
1067 | } |
|
1068 | ||
1069 | /** |
|
1070 | * Get custCurr value |
|
1071 | * |
|
1072 | * @return string|null |
|
1073 | */ |
|
1074 | public function getCustCurr() |
|
1075 | { |
|
1076 | return $this->custCurr; |
|
1077 | } |
|
1078 | ||
1079 | /** |
|
1080 | * Set custCurr value |
|
1081 | * |
|
1082 | * @param string $custCurr |
|
1083 | * |
|
1084 | * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShipMPS |
|
1085 | */ |
|
1086 | public function setCustCurr($custCurr = null) |
|
1087 | { |
|
1088 | // validation for constraint: string |
|
1089 | if (!is_null($custCurr) && !is_string($custCurr)) { |
|
1090 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($custCurr)), __LINE__); |
|
1091 | } |
|
1092 | $this->custCurr = $custCurr; |
|
1093 | ||
1094 | return $this; |
|
1095 | } |
|
1096 | ||
1097 | /** |
|
1098 | * Get insrAmt value |
|
1099 | * |
|
1100 | * @return string|null |
|
1101 | */ |
|
1102 | public function getInsrAmt() |
|
1103 | { |
|
1104 | return $this->insrAmt; |
|
1105 | } |
|
1106 | ||
1107 | /** |
|
1108 | * Set insrAmt value |
|
1109 | * |
|
1110 | * @param string $insrAmt |
|
1111 | * |
|
1112 | * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShipMPS |
|
1113 | */ |
|
1114 | public function setInsrAmt($insrAmt = null) |
|
1115 | { |
|
1116 | // validation for constraint: string |
|
1117 | if (!is_null($insrAmt) && !is_string($insrAmt)) { |
|
1118 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($insrAmt)), __LINE__); |
|
1119 | } |
|
1120 | $this->insrAmt = $insrAmt; |
|
1121 | ||
1122 | return $this; |
|
1123 | } |
|
1124 | ||
1125 | /** |
|
1126 | * Get insrCurr value |
|
1127 | * |
|
1128 | * @return string|null |
|
1129 | */ |
|
1130 | public function getInsrCurr() |
|
1131 | { |
|
1132 | return $this->insrCurr; |
|
1133 | } |
|
1134 | ||
1135 | /** |
|
1136 | * Set insrCurr value |
|
1137 | * |
|
1138 | * @param string $insrCurr |
|
1139 | * |
|
1140 | * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShipMPS |
|
1141 | */ |
|
1142 | public function setInsrCurr($insrCurr = null) |
|
1143 | { |
|
1144 | // validation for constraint: string |
|
1145 | if (!is_null($insrCurr) && !is_string($insrCurr)) { |
|
1146 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($insrCurr)), __LINE__); |
|
1147 | } |
|
1148 | $this->insrCurr = $insrCurr; |
|
1149 | ||
1150 | return $this; |
|
1151 | } |
|
1152 | ||
1153 | /** |
|
1154 | * Get itemDesc value |
|
1155 | * |
|
1156 | * @return string|null |
|
1157 | */ |
|
1158 | public function getItemDesc() |
|
1159 | { |
|
1160 | return $this->itemDesc; |
|
1161 | } |
|
1162 | ||
1163 | /** |
|
1164 | * Set itemDesc value |
|
1165 | * |
|
1166 | * @param string $itemDesc |
|
1167 | * |
|
1168 | * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShipMPS |
|
1169 | */ |
|
1170 | public function setItemDesc($itemDesc = null) |
|
1171 | { |
|
1172 | // validation for constraint: string |
|
1173 | if (!is_null($itemDesc) && !is_string($itemDesc)) { |
|
1174 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($itemDesc)), __LINE__); |
|
1175 | } |
|
1176 | $this->itemDesc = $itemDesc; |
|
1177 | ||
1178 | return $this; |
|
1179 | } |
|
1180 | ||
1181 | /** |
|
1182 | * Get sName value |
|
1183 | * |
|
1184 | * @return string|null |
|
1185 | */ |
|
1186 | public function getSName() |
|
1187 | { |
|
1188 | return $this->sName; |
|
1189 | } |
|
1190 | ||
1191 | /** |
|
1192 | * Set sName value |
|
1193 | * |
|
1194 | * @param string $sName |
|
1195 | * |
|
1196 | * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShipMPS |
|
1197 | */ |
|
1198 | public function setSName($sName = null) |
|
1199 | { |
|
1200 | // validation for constraint: string |
|
1201 | if (!is_null($sName) && !is_string($sName)) { |
|
1202 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($sName)), __LINE__); |
|
1203 | } |
|
1204 | $this->sName = $sName; |
|
1205 | ||
1206 | return $this; |
|
1207 | } |
|
1208 | ||
1209 | /** |
|
1210 | * Get sContact value |
|
1211 | * |
|
1212 | * @return string|null |
|
1213 | */ |
|
1214 | public function getSContact() |
|
1215 | { |
|
1216 | return $this->sContact; |
|
1217 | } |
|
1218 | ||
1219 | /** |
|
1220 | * Set sContact value |
|
1221 | * |
|
1222 | * @param string $sContact |
|
1223 | * |
|
1224 | * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShipMPS |
|
1225 | */ |
|
1226 | public function setSContact($sContact = null) |
|
1227 | { |
|
1228 | // validation for constraint: string |
|
1229 | if (!is_null($sContact) && !is_string($sContact)) { |
|
1230 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($sContact)), __LINE__); |
|
1231 | } |
|
1232 | $this->sContact = $sContact; |
|
1233 | ||
1234 | return $this; |
|
1235 | } |
|
1236 | ||
1237 | /** |
|
1238 | * Get sAddr1 value |
|
1239 | * |
|
1240 | * @return string|null |
|
1241 | */ |
|
1242 | public function getSAddr1() |
|
1243 | { |
|
1244 | return $this->sAddr1; |
|
1245 | } |
|
1246 | ||
1247 | /** |
|
1248 | * Set sAddr1 value |
|
1249 | * |
|
1250 | * @param string $sAddr1 |
|
1251 | * |
|
1252 | * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShipMPS |
|
1253 | */ |
|
1254 | public function setSAddr1($sAddr1 = null) |
|
1255 | { |
|
1256 | // validation for constraint: string |
|
1257 | if (!is_null($sAddr1) && !is_string($sAddr1)) { |
|
1258 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($sAddr1)), __LINE__); |
|
1259 | } |
|
1260 | $this->sAddr1 = $sAddr1; |
|
1261 | ||
1262 | return $this; |
|
1263 | } |
|
1264 | ||
1265 | /** |
|
1266 | * Get sAddr2 value |
|
1267 | * |
|
1268 | * @return string|null |
|
1269 | */ |
|
1270 | public function getSAddr2() |
|
1271 | { |
|
1272 | return $this->sAddr2; |
|
1273 | } |
|
1274 | ||
1275 | /** |
|
1276 | * Set sAddr2 value |
|
1277 | * |
|
1278 | * @param string $sAddr2 |
|
1279 | * |
|
1280 | * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShipMPS |
|
1281 | */ |
|
1282 | public function setSAddr2($sAddr2 = null) |
|
1283 | { |
|
1284 | // validation for constraint: string |
|
1285 | if (!is_null($sAddr2) && !is_string($sAddr2)) { |
|
1286 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($sAddr2)), __LINE__); |
|
1287 | } |
|
1288 | $this->sAddr2 = $sAddr2; |
|
1289 | ||
1290 | return $this; |
|
1291 | } |
|
1292 | ||
1293 | /** |
|
1294 | * Get sCity value |
|
1295 | * |
|
1296 | * @return string|null |
|
1297 | */ |
|
1298 | public function getSCity() |
|
1299 | { |
|
1300 | return $this->sCity; |
|
1301 | } |
|
1302 | ||
1303 | /** |
|
1304 | * Set sCity value |
|
1305 | * |
|
1306 | * @param string $sCity |
|
1307 | * |
|
1308 | * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShipMPS |
|
1309 | */ |
|
1310 | public function setSCity($sCity = null) |
|
1311 | { |
|
1312 | // validation for constraint: string |
|
1313 | if (!is_null($sCity) && !is_string($sCity)) { |
|
1314 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($sCity)), __LINE__); |
|
1315 | } |
|
1316 | $this->sCity = $sCity; |
|
1317 | ||
1318 | return $this; |
|
1319 | } |
|
1320 | ||
1321 | /** |
|
1322 | * Get sPhone value |
|
1323 | * |
|
1324 | * @return string|null |
|
1325 | */ |
|
1326 | public function getSPhone() |
|
1327 | { |
|
1328 | return $this->sPhone; |
|
1329 | } |
|
1330 | ||
1331 | /** |
|
1332 | * Set sPhone value |
|
1333 | * |
|
1334 | * @param string $sPhone |
|
1335 | * |
|
1336 | * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShipMPS |
|
1337 | */ |
|
1338 | public function setSPhone($sPhone = null) |
|
1339 | { |
|
1340 | // validation for constraint: string |
|
1341 | if (!is_null($sPhone) && !is_string($sPhone)) { |
|
1342 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($sPhone)), __LINE__); |
|
1343 | } |
|
1344 | $this->sPhone = $sPhone; |
|
1345 | ||
1346 | return $this; |
|
1347 | } |
|
1348 | ||
1349 | /** |
|
1350 | * Get sCntry value |
|
1351 | * |
|
1352 | * @return string|null |
|
1353 | */ |
|
1354 | public function getSCntry() |
|
1355 | { |
|
1356 | return $this->sCntry; |
|
1357 | } |
|
1358 | ||
1359 | /** |
|
1360 | * Set sCntry value |
|
1361 | * |
|
1362 | * @param string $sCntry |
|
1363 | * |
|
1364 | * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShipMPS |
|
1365 | */ |
|
1366 | public function setSCntry($sCntry = null) |
|
1367 | { |
|
1368 | // validation for constraint: string |
|
1369 | if (!is_null($sCntry) && !is_string($sCntry)) { |
|
1370 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($sCntry)), __LINE__); |
|
1371 | } |
|
1372 | $this->sCntry = $sCntry; |
|
1373 | ||
1374 | return $this; |
|
1375 | } |
|
1376 | ||
1377 | /** |
|
1378 | * Get prefDelvDate value |
|
1379 | * |
|
1380 | * @return string|null |
|
1381 | */ |
|
1382 | public function getPrefDelvDate() |
|
1383 | { |
|
1384 | return $this->prefDelvDate; |
|
1385 | } |
|
1386 | ||
1387 | /** |
|
1388 | * Set prefDelvDate value |
|
1389 | * |
|
1390 | * @param string $prefDelvDate |
|
1391 | * |
|
1392 | * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShipMPS |
|
1393 | */ |
|
1394 | public function setPrefDelvDate($prefDelvDate = null) |
|
1395 | { |
|
1396 | // validation for constraint: string |
|
1397 | if (!is_null($prefDelvDate) && !is_string($prefDelvDate)) { |
|
1398 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($prefDelvDate)), __LINE__); |
|
1399 | } |
|
1400 | $this->prefDelvDate = $prefDelvDate; |
|
1401 | ||
1402 | return $this; |
|
1403 | } |
|
1404 | ||
1405 | /** |
|
1406 | * Get gpsPoints value |
|
1407 | * |
|
1408 | * @return string|null |
|
1409 | */ |
|
1410 | public function getGpsPoints() |
|
1411 | { |
|
1412 | return $this->gpsPoints; |
|
1413 | } |
|
1414 | ||
1415 | /** |
|
1416 | * Set gpsPoints value |
|
1417 | * |
|
1418 | * @param string $gpsPoints |
|
1419 | * |
|
1420 | * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShipMPS |
|
1421 | */ |
|
1422 | public function setGpsPoints($gpsPoints = null) |
|
1423 | { |
|
1424 | // validation for constraint: string |
|
1425 | if (!is_null($gpsPoints) && !is_string($gpsPoints)) { |
|
1426 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($gpsPoints)), __LINE__); |
|
1427 | } |
|
1428 | $this->gpsPoints = $gpsPoints; |
|
1429 | ||
1430 | return $this; |
|
1431 | } |
|
1432 | ||
1433 | /** |
|
1434 | * Method called when an object has been exported with var_export() functions |
|
1435 | * It allows to return an object instantiated with the values |
|
1436 | * |
|
1437 | * @see AbstractStructBase::__set_state() |
|
1438 | * |
|
1439 | * @uses AbstractStructBase::__set_state() |
|
1440 | * |
|
1441 | * @param array $array the exported values |
|
1442 | * |
|
1443 | * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShipMPS |
|
1444 | */ |
|
1445 | public static function __set_state(array $array) |
|
1446 | { |
|
1447 | return parent::__set_state($array); |
|
1448 | } |
|
1449 | ||
1450 | /** |
|
1451 | * Method returning the class name |
|
1452 | * |
|
1453 | * @return string __CLASS__ |
|
1454 | */ |
|
1455 | public function __toString() |
|
1456 | { |
|
1457 | return __CLASS__; |
|
1458 | } |
|
1459 | } |
|
1460 |