|
1
|
|
|
<?php |
|
2
|
|
|
|
|
3
|
|
|
namespace ColissimoPickupPoint\ServiceType; |
|
4
|
|
|
|
|
5
|
|
|
use \SoapClient\SoapClientBase; |
|
6
|
|
|
|
|
7
|
|
|
/** |
|
8
|
|
|
* This class stands for Find ServiceType |
|
9
|
|
|
* @subpackage Services |
|
10
|
|
|
* @author WsdlToPhp <[email protected]> |
|
11
|
|
|
*/ |
|
12
|
|
|
class Find extends SoapClientBase |
|
13
|
|
|
{ |
|
14
|
|
|
/** |
|
15
|
|
|
* Method to call the operation originally named findRDVPointRetraitAcheminement |
|
16
|
|
|
* @uses SoapClientBase::getSoapClient() |
|
17
|
|
|
* @uses SoapClientBase::setResult() |
|
18
|
|
|
* @uses SoapClientBase::getResult() |
|
19
|
|
|
* @uses SoapClientBase::saveLastError() |
|
20
|
|
|
* @param \ColissimoPickupPoint\StructType\FindRDVPointRetraitAcheminement $parameters |
|
21
|
|
|
* @return \ColissimoPickupPoint\StructType\FindRDVPointRetraitAcheminementResponse|bool |
|
22
|
|
|
*/ |
|
23
|
|
|
public function findRDVPointRetraitAcheminement(\ColissimoPickupPoint\StructType\FindRDVPointRetraitAcheminement $parameters) |
|
24
|
|
|
{ |
|
25
|
|
|
try { |
|
26
|
|
|
$this->setResult($this->getSoapClient()->__soapCall('findRDVPointRetraitAcheminement', array( |
|
27
|
|
|
$parameters, |
|
28
|
|
|
), array(), array(), $this->outputHeaders)); |
|
29
|
|
|
return $this->getResult(); |
|
|
|
|
|
|
30
|
|
|
} catch (\SoapFault $soapFault) { |
|
31
|
|
|
$this->saveLastError(__METHOD__, $soapFault); |
|
32
|
|
|
return false; |
|
33
|
|
|
} |
|
34
|
|
|
} |
|
35
|
|
|
/** |
|
36
|
|
|
* Method to call the operation originally named |
|
37
|
|
|
* findRDVPointRetraitAcheminementByToken |
|
38
|
|
|
* @uses SoapClientBase::getSoapClient() |
|
39
|
|
|
* @uses SoapClientBase::setResult() |
|
40
|
|
|
* @uses SoapClientBase::getResult() |
|
41
|
|
|
* @uses SoapClientBase::saveLastError() |
|
42
|
|
|
* @param \ColissimoPickupPoint\StructType\FindRDVPointRetraitAcheminementByToken $parameters |
|
43
|
|
|
* @return \ColissimoPickupPoint\StructType\FindRDVPointRetraitAcheminementByTokenResponse|bool |
|
44
|
|
|
*/ |
|
45
|
|
|
public function findRDVPointRetraitAcheminementByToken(\ColissimoPickupPoint\StructType\FindRDVPointRetraitAcheminementByToken $parameters) |
|
46
|
|
|
{ |
|
47
|
|
|
try { |
|
48
|
|
|
$this->setResult($this->getSoapClient()->__soapCall('findRDVPointRetraitAcheminementByToken', array( |
|
49
|
|
|
$parameters, |
|
50
|
|
|
), array(), array(), $this->outputHeaders)); |
|
51
|
|
|
return $this->getResult(); |
|
|
|
|
|
|
52
|
|
|
} catch (\SoapFault $soapFault) { |
|
53
|
|
|
$this->saveLastError(__METHOD__, $soapFault); |
|
54
|
|
|
return false; |
|
55
|
|
|
} |
|
56
|
|
|
} |
|
57
|
|
|
/** |
|
58
|
|
|
* Method to call the operation originally named findPointRetraitAcheminementByID |
|
59
|
|
|
* @uses SoapClientBase::getSoapClient() |
|
60
|
|
|
* @uses SoapClientBase::setResult() |
|
61
|
|
|
* @uses SoapClientBase::getResult() |
|
62
|
|
|
* @uses SoapClientBase::saveLastError() |
|
63
|
|
|
* @param \ColissimoPickupPoint\StructType\FindPointRetraitAcheminementByID $parameters |
|
64
|
|
|
* @return \ColissimoPickupPoint\StructType\FindPointRetraitAcheminementByIDResponse|bool |
|
65
|
|
|
*/ |
|
66
|
|
|
public function findPointRetraitAcheminementByID(\ColissimoPickupPoint\StructType\FindPointRetraitAcheminementByID $parameters) |
|
67
|
|
|
{ |
|
68
|
|
|
try { |
|
69
|
|
|
$this->setResult($this->getSoapClient()->__soapCall('findPointRetraitAcheminementByID', array( |
|
70
|
|
|
$parameters, |
|
71
|
|
|
), array(), array(), $this->outputHeaders)); |
|
72
|
|
|
return $this->getResult(); |
|
|
|
|
|
|
73
|
|
|
} catch (\SoapFault $soapFault) { |
|
74
|
|
|
$this->saveLastError(__METHOD__, $soapFault); |
|
75
|
|
|
return false; |
|
76
|
|
|
} |
|
77
|
|
|
} |
|
78
|
|
|
/** |
|
79
|
|
|
* Returns the result |
|
80
|
|
|
* @see SoapClientBase::getResult() |
|
81
|
|
|
* @return \ColissimoPickupPoint\StructType\FindPointRetraitAcheminementByIDResponse|\ColissimoPickupPoint\StructType\FindRDVPointRetraitAcheminementByTokenResponse|\ColissimoPickupPoint\StructType\FindRDVPointRetraitAcheminementResponse |
|
82
|
|
|
*/ |
|
83
|
|
|
public function getResult() |
|
84
|
|
|
{ |
|
85
|
|
|
return parent::getResult(); |
|
86
|
|
|
} |
|
87
|
|
|
} |
|
88
|
|
|
|