@@ 20-139 (lines=120) @@ | ||
17 | * @date 2018/04/06 |
|
18 | * @codeVersion 0.0.1 |
|
19 | */ |
|
20 | class GetPDF extends AbstractStructBase |
|
21 | { |
|
22 | /** |
|
23 | * The awbNo |
|
24 | * Meta informations extracted from the WSDL |
|
25 | * - maxOccurs: 1 |
|
26 | * - minOccurs: 0 |
|
27 | * |
|
28 | * @var string |
|
29 | */ |
|
30 | public $awbNo; |
|
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 | /** |
|
42 | * Constructor method for getPDF |
|
43 | * |
|
44 | * @uses GetPDF::setAwbNo() |
|
45 | * @uses GetPDF::setPassKey() |
|
46 | * |
|
47 | * @param string $awbNo |
|
48 | * @param string $passKey |
|
49 | */ |
|
50 | public function __construct($awbNo = null, $passKey = null) |
|
51 | { |
|
52 | $this |
|
53 | ->setAwbNo($awbNo) |
|
54 | ->setPassKey($passKey); |
|
55 | } |
|
56 | ||
57 | /** |
|
58 | * Get awbNo value |
|
59 | * |
|
60 | * @return string|null |
|
61 | */ |
|
62 | public function getAwbNo() |
|
63 | { |
|
64 | return $this->awbNo; |
|
65 | } |
|
66 | ||
67 | /** |
|
68 | * Set awbNo value |
|
69 | * |
|
70 | * @param string $awbNo |
|
71 | * |
|
72 | * @return \Alhoqbani\SmsaWebService\Soap\Type\GetPDF |
|
73 | */ |
|
74 | public function setAwbNo($awbNo = null) |
|
75 | { |
|
76 | // validation for constraint: string |
|
77 | if (!is_null($awbNo) && !is_string($awbNo)) { |
|
78 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($awbNo)), __LINE__); |
|
79 | } |
|
80 | $this->awbNo = $awbNo; |
|
81 | ||
82 | return $this; |
|
83 | } |
|
84 | ||
85 | /** |
|
86 | * Get passKey value |
|
87 | * |
|
88 | * @return string|null |
|
89 | */ |
|
90 | public function getPassKey() |
|
91 | { |
|
92 | return $this->passKey; |
|
93 | } |
|
94 | ||
95 | /** |
|
96 | * Set passKey value |
|
97 | * |
|
98 | * @param string $passKey |
|
99 | * |
|
100 | * @return \Alhoqbani\SmsaWebService\Soap\Type\GetPDF |
|
101 | */ |
|
102 | public function setPassKey($passKey = null) |
|
103 | { |
|
104 | // validation for constraint: string |
|
105 | if (!is_null($passKey) && !is_string($passKey)) { |
|
106 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($passKey)), __LINE__); |
|
107 | } |
|
108 | $this->passKey = $passKey; |
|
109 | ||
110 | return $this; |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Method called when an object has been exported with var_export() functions |
|
115 | * It allows to return an object instantiated with the values |
|
116 | * |
|
117 | * @see AbstractStructBase::__set_state() |
|
118 | * |
|
119 | * @uses AbstractStructBase::__set_state() |
|
120 | * |
|
121 | * @param array $array the exported values |
|
122 | * |
|
123 | * @return \Alhoqbani\SmsaWebService\Soap\Type\GetPDF |
|
124 | */ |
|
125 | public static function __set_state(array $array) |
|
126 | { |
|
127 | return parent::__set_state($array); |
|
128 | } |
|
129 | ||
130 | /** |
|
131 | * Method returning the class name |
|
132 | * |
|
133 | * @return string __CLASS__ |
|
134 | */ |
|
135 | public function __toString() |
|
136 | { |
|
137 | return __CLASS__; |
|
138 | } |
|
139 | } |
|
140 |
@@ 20-139 (lines=120) @@ | ||
17 | * @date 2018/04/06 |
|
18 | * @codeVersion 0.0.1 |
|
19 | */ |
|
20 | class GetPDFSino extends AbstractStructBase |
|
21 | { |
|
22 | /** |
|
23 | * The awbNo |
|
24 | * Meta informations extracted from the WSDL |
|
25 | * - maxOccurs: 1 |
|
26 | * - minOccurs: 0 |
|
27 | * |
|
28 | * @var string |
|
29 | */ |
|
30 | public $awbNo; |
|
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 | /** |
|
42 | * Constructor method for getPDFSino |
|
43 | * |
|
44 | * @uses GetPDFSino::setAwbNo() |
|
45 | * @uses GetPDFSino::setPassKey() |
|
46 | * |
|
47 | * @param string $awbNo |
|
48 | * @param string $passKey |
|
49 | */ |
|
50 | public function __construct($awbNo = null, $passKey = null) |
|
51 | { |
|
52 | $this |
|
53 | ->setAwbNo($awbNo) |
|
54 | ->setPassKey($passKey); |
|
55 | } |
|
56 | ||
57 | /** |
|
58 | * Get awbNo value |
|
59 | * |
|
60 | * @return string|null |
|
61 | */ |
|
62 | public function getAwbNo() |
|
63 | { |
|
64 | return $this->awbNo; |
|
65 | } |
|
66 | ||
67 | /** |
|
68 | * Set awbNo value |
|
69 | * |
|
70 | * @param string $awbNo |
|
71 | * |
|
72 | * @return \Alhoqbani\SmsaWebService\Soap\Type\GetPDFSino |
|
73 | */ |
|
74 | public function setAwbNo($awbNo = null) |
|
75 | { |
|
76 | // validation for constraint: string |
|
77 | if (!is_null($awbNo) && !is_string($awbNo)) { |
|
78 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($awbNo)), __LINE__); |
|
79 | } |
|
80 | $this->awbNo = $awbNo; |
|
81 | ||
82 | return $this; |
|
83 | } |
|
84 | ||
85 | /** |
|
86 | * Get passKey value |
|
87 | * |
|
88 | * @return string|null |
|
89 | */ |
|
90 | public function getPassKey() |
|
91 | { |
|
92 | return $this->passKey; |
|
93 | } |
|
94 | ||
95 | /** |
|
96 | * Set passKey value |
|
97 | * |
|
98 | * @param string $passKey |
|
99 | * |
|
100 | * @return \Alhoqbani\SmsaWebService\Soap\Type\GetPDFSino |
|
101 | */ |
|
102 | public function setPassKey($passKey = null) |
|
103 | { |
|
104 | // validation for constraint: string |
|
105 | if (!is_null($passKey) && !is_string($passKey)) { |
|
106 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($passKey)), __LINE__); |
|
107 | } |
|
108 | $this->passKey = $passKey; |
|
109 | ||
110 | return $this; |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Method called when an object has been exported with var_export() functions |
|
115 | * It allows to return an object instantiated with the values |
|
116 | * |
|
117 | * @see AbstractStructBase::__set_state() |
|
118 | * |
|
119 | * @uses AbstractStructBase::__set_state() |
|
120 | * |
|
121 | * @param array $array the exported values |
|
122 | * |
|
123 | * @return \Alhoqbani\SmsaWebService\Soap\Type\GetPDFSino |
|
124 | */ |
|
125 | public static function __set_state(array $array) |
|
126 | { |
|
127 | return parent::__set_state($array); |
|
128 | } |
|
129 | ||
130 | /** |
|
131 | * Method returning the class name |
|
132 | * |
|
133 | * @return string __CLASS__ |
|
134 | */ |
|
135 | public function __toString() |
|
136 | { |
|
137 | return __CLASS__; |
|
138 | } |
|
139 | } |
|
140 |
@@ 20-139 (lines=120) @@ | ||
17 | * @date 2018/04/06 |
|
18 | * @codeVersion 0.0.1 |
|
19 | */ |
|
20 | class GetRTLRetails extends AbstractStructBase |
|
21 | { |
|
22 | /** |
|
23 | * The cityCode |
|
24 | * Meta informations extracted from the WSDL |
|
25 | * - maxOccurs: 1 |
|
26 | * - minOccurs: 0 |
|
27 | * |
|
28 | * @var string |
|
29 | */ |
|
30 | public $cityCode; |
|
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 | /** |
|
42 | * Constructor method for getRTLRetails |
|
43 | * |
|
44 | * @uses GetRTLRetails::setCityCode() |
|
45 | * @uses GetRTLRetails::setPasskey() |
|
46 | * |
|
47 | * @param string $cityCode |
|
48 | * @param string $passkey |
|
49 | */ |
|
50 | public function __construct($cityCode = null, $passkey = null) |
|
51 | { |
|
52 | $this |
|
53 | ->setCityCode($cityCode) |
|
54 | ->setPasskey($passkey); |
|
55 | } |
|
56 | ||
57 | /** |
|
58 | * Get cityCode value |
|
59 | * |
|
60 | * @return string|null |
|
61 | */ |
|
62 | public function getCityCode() |
|
63 | { |
|
64 | return $this->cityCode; |
|
65 | } |
|
66 | ||
67 | /** |
|
68 | * Set cityCode value |
|
69 | * |
|
70 | * @param string $cityCode |
|
71 | * |
|
72 | * @return \Alhoqbani\SmsaWebService\Soap\Type\GetRTLRetails |
|
73 | */ |
|
74 | public function setCityCode($cityCode = null) |
|
75 | { |
|
76 | // validation for constraint: string |
|
77 | if (!is_null($cityCode) && !is_string($cityCode)) { |
|
78 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($cityCode)), __LINE__); |
|
79 | } |
|
80 | $this->cityCode = $cityCode; |
|
81 | ||
82 | return $this; |
|
83 | } |
|
84 | ||
85 | /** |
|
86 | * Get passkey value |
|
87 | * |
|
88 | * @return string|null |
|
89 | */ |
|
90 | public function getPasskey() |
|
91 | { |
|
92 | return $this->passkey; |
|
93 | } |
|
94 | ||
95 | /** |
|
96 | * Set passkey value |
|
97 | * |
|
98 | * @param string $passkey |
|
99 | * |
|
100 | * @return \Alhoqbani\SmsaWebService\Soap\Type\GetRTLRetails |
|
101 | */ |
|
102 | public function setPasskey($passkey = null) |
|
103 | { |
|
104 | // validation for constraint: string |
|
105 | if (!is_null($passkey) && !is_string($passkey)) { |
|
106 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($passkey)), __LINE__); |
|
107 | } |
|
108 | $this->passkey = $passkey; |
|
109 | ||
110 | return $this; |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Method called when an object has been exported with var_export() functions |
|
115 | * It allows to return an object instantiated with the values |
|
116 | * |
|
117 | * @see AbstractStructBase::__set_state() |
|
118 | * |
|
119 | * @uses AbstractStructBase::__set_state() |
|
120 | * |
|
121 | * @param array $array the exported values |
|
122 | * |
|
123 | * @return \Alhoqbani\SmsaWebService\Soap\Type\GetRTLRetails |
|
124 | */ |
|
125 | public static function __set_state(array $array) |
|
126 | { |
|
127 | return parent::__set_state($array); |
|
128 | } |
|
129 | ||
130 | /** |
|
131 | * Method returning the class name |
|
132 | * |
|
133 | * @return string __CLASS__ |
|
134 | */ |
|
135 | public function __toString() |
|
136 | { |
|
137 | return __CLASS__; |
|
138 | } |
|
139 | } |
|
140 |
@@ 20-139 (lines=120) @@ | ||
17 | * @date 2018/04/06 |
|
18 | * @codeVersion 0.0.1 |
|
19 | */ |
|
20 | class GetShipUpdates extends AbstractStructBase |
|
21 | { |
|
22 | /** |
|
23 | * The rowId |
|
24 | * Meta informations extracted from the WSDL |
|
25 | * - maxOccurs: 1 |
|
26 | * - minOccurs: 1 |
|
27 | * |
|
28 | * @var int |
|
29 | */ |
|
30 | public $rowId; |
|
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 | /** |
|
42 | * Constructor method for getShipUpdates |
|
43 | * |
|
44 | * @uses GetShipUpdates::setRowId() |
|
45 | * @uses GetShipUpdates::setPassKey() |
|
46 | * |
|
47 | * @param int $rowId |
|
48 | * @param string $passKey |
|
49 | */ |
|
50 | public function __construct($rowId = null, $passKey = null) |
|
51 | { |
|
52 | $this |
|
53 | ->setRowId($rowId) |
|
54 | ->setPassKey($passKey); |
|
55 | } |
|
56 | ||
57 | /** |
|
58 | * Get rowId value |
|
59 | * |
|
60 | * @return int |
|
61 | */ |
|
62 | public function getRowId() |
|
63 | { |
|
64 | return $this->rowId; |
|
65 | } |
|
66 | ||
67 | /** |
|
68 | * Set rowId value |
|
69 | * |
|
70 | * @param int $rowId |
|
71 | * |
|
72 | * @return \Alhoqbani\SmsaWebService\Soap\Type\GetShipUpdates |
|
73 | */ |
|
74 | public function setRowId($rowId = null) |
|
75 | { |
|
76 | // validation for constraint: int |
|
77 | if (!is_null($rowId) && !is_numeric($rowId)) { |
|
78 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($rowId)), __LINE__); |
|
79 | } |
|
80 | $this->rowId = $rowId; |
|
81 | ||
82 | return $this; |
|
83 | } |
|
84 | ||
85 | /** |
|
86 | * Get passKey value |
|
87 | * |
|
88 | * @return string|null |
|
89 | */ |
|
90 | public function getPassKey() |
|
91 | { |
|
92 | return $this->passKey; |
|
93 | } |
|
94 | ||
95 | /** |
|
96 | * Set passKey value |
|
97 | * |
|
98 | * @param string $passKey |
|
99 | * |
|
100 | * @return \Alhoqbani\SmsaWebService\Soap\Type\GetShipUpdates |
|
101 | */ |
|
102 | public function setPassKey($passKey = null) |
|
103 | { |
|
104 | // validation for constraint: string |
|
105 | if (!is_null($passKey) && !is_string($passKey)) { |
|
106 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($passKey)), __LINE__); |
|
107 | } |
|
108 | $this->passKey = $passKey; |
|
109 | ||
110 | return $this; |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Method called when an object has been exported with var_export() functions |
|
115 | * It allows to return an object instantiated with the values |
|
116 | * |
|
117 | * @see AbstractStructBase::__set_state() |
|
118 | * |
|
119 | * @uses AbstractStructBase::__set_state() |
|
120 | * |
|
121 | * @param array $array the exported values |
|
122 | * |
|
123 | * @return \Alhoqbani\SmsaWebService\Soap\Type\GetShipUpdates |
|
124 | */ |
|
125 | public static function __set_state(array $array) |
|
126 | { |
|
127 | return parent::__set_state($array); |
|
128 | } |
|
129 | ||
130 | /** |
|
131 | * Method returning the class name |
|
132 | * |
|
133 | * @return string __CLASS__ |
|
134 | */ |
|
135 | public function __toString() |
|
136 | { |
|
137 | return __CLASS__; |
|
138 | } |
|
139 | } |
|
140 |
@@ 20-139 (lines=120) @@ | ||
17 | * @date 2018/04/06 |
|
18 | * @codeVersion 0.0.1 |
|
19 | */ |
|
20 | class GetStatus extends AbstractStructBase |
|
21 | { |
|
22 | /** |
|
23 | * The awbNo |
|
24 | * Meta informations extracted from the WSDL |
|
25 | * - maxOccurs: 1 |
|
26 | * - minOccurs: 0 |
|
27 | * |
|
28 | * @var string |
|
29 | */ |
|
30 | public $awbNo; |
|
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 | /** |
|
42 | * Constructor method for getStatus |
|
43 | * |
|
44 | * @uses GetStatus::setAwbNo() |
|
45 | * @uses GetStatus::setPasskey() |
|
46 | * |
|
47 | * @param string $awbNo |
|
48 | * @param string $passkey |
|
49 | */ |
|
50 | public function __construct($awbNo = null, $passkey = null) |
|
51 | { |
|
52 | $this |
|
53 | ->setAwbNo($awbNo) |
|
54 | ->setPasskey($passkey); |
|
55 | } |
|
56 | ||
57 | /** |
|
58 | * Get awbNo value |
|
59 | * |
|
60 | * @return string|null |
|
61 | */ |
|
62 | public function getAwbNo() |
|
63 | { |
|
64 | return $this->awbNo; |
|
65 | } |
|
66 | ||
67 | /** |
|
68 | * Set awbNo value |
|
69 | * |
|
70 | * @param string $awbNo |
|
71 | * |
|
72 | * @return \Alhoqbani\SmsaWebService\Soap\Type\GetStatus |
|
73 | */ |
|
74 | public function setAwbNo($awbNo = null) |
|
75 | { |
|
76 | // validation for constraint: string |
|
77 | if (!is_null($awbNo) && !is_string($awbNo)) { |
|
78 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($awbNo)), __LINE__); |
|
79 | } |
|
80 | $this->awbNo = $awbNo; |
|
81 | ||
82 | return $this; |
|
83 | } |
|
84 | ||
85 | /** |
|
86 | * Get passkey value |
|
87 | * |
|
88 | * @return string|null |
|
89 | */ |
|
90 | public function getPasskey() |
|
91 | { |
|
92 | return $this->passkey; |
|
93 | } |
|
94 | ||
95 | /** |
|
96 | * Set passkey value |
|
97 | * |
|
98 | * @param string $passkey |
|
99 | * |
|
100 | * @return \Alhoqbani\SmsaWebService\Soap\Type\GetStatus |
|
101 | */ |
|
102 | public function setPasskey($passkey = null) |
|
103 | { |
|
104 | // validation for constraint: string |
|
105 | if (!is_null($passkey) && !is_string($passkey)) { |
|
106 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($passkey)), __LINE__); |
|
107 | } |
|
108 | $this->passkey = $passkey; |
|
109 | ||
110 | return $this; |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Method called when an object has been exported with var_export() functions |
|
115 | * It allows to return an object instantiated with the values |
|
116 | * |
|
117 | * @see AbstractStructBase::__set_state() |
|
118 | * |
|
119 | * @uses AbstractStructBase::__set_state() |
|
120 | * |
|
121 | * @param array $array the exported values |
|
122 | * |
|
123 | * @return \Alhoqbani\SmsaWebService\Soap\Type\GetStatus |
|
124 | */ |
|
125 | public static function __set_state(array $array) |
|
126 | { |
|
127 | return parent::__set_state($array); |
|
128 | } |
|
129 | ||
130 | /** |
|
131 | * Method returning the class name |
|
132 | * |
|
133 | * @return string __CLASS__ |
|
134 | */ |
|
135 | public function __toString() |
|
136 | { |
|
137 | return __CLASS__; |
|
138 | } |
|
139 | } |
|
140 |
@@ 20-139 (lines=120) @@ | ||
17 | * @date 2018/04/06 |
|
18 | * @codeVersion 0.0.1 |
|
19 | */ |
|
20 | class GetStatusByRef extends AbstractStructBase |
|
21 | { |
|
22 | /** |
|
23 | * The refNo |
|
24 | * Meta informations extracted from the WSDL |
|
25 | * - maxOccurs: 1 |
|
26 | * - minOccurs: 0 |
|
27 | * |
|
28 | * @var string |
|
29 | */ |
|
30 | public $refNo; |
|
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 | /** |
|
42 | * Constructor method for getStatusByRef |
|
43 | * |
|
44 | * @uses GetStatusByRef::setRefNo() |
|
45 | * @uses GetStatusByRef::setPasskey() |
|
46 | * |
|
47 | * @param string $refNo |
|
48 | * @param string $passkey |
|
49 | */ |
|
50 | public function __construct($refNo = null, $passkey = null) |
|
51 | { |
|
52 | $this |
|
53 | ->setRefNo($refNo) |
|
54 | ->setPasskey($passkey); |
|
55 | } |
|
56 | ||
57 | /** |
|
58 | * Get refNo value |
|
59 | * |
|
60 | * @return string|null |
|
61 | */ |
|
62 | public function getRefNo() |
|
63 | { |
|
64 | return $this->refNo; |
|
65 | } |
|
66 | ||
67 | /** |
|
68 | * Set refNo value |
|
69 | * |
|
70 | * @param string $refNo |
|
71 | * |
|
72 | * @return \Alhoqbani\SmsaWebService\Soap\Type\GetStatusByRef |
|
73 | */ |
|
74 | public function setRefNo($refNo = null) |
|
75 | { |
|
76 | // validation for constraint: string |
|
77 | if (!is_null($refNo) && !is_string($refNo)) { |
|
78 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($refNo)), __LINE__); |
|
79 | } |
|
80 | $this->refNo = $refNo; |
|
81 | ||
82 | return $this; |
|
83 | } |
|
84 | ||
85 | /** |
|
86 | * Get passkey value |
|
87 | * |
|
88 | * @return string|null |
|
89 | */ |
|
90 | public function getPasskey() |
|
91 | { |
|
92 | return $this->passkey; |
|
93 | } |
|
94 | ||
95 | /** |
|
96 | * Set passkey value |
|
97 | * |
|
98 | * @param string $passkey |
|
99 | * |
|
100 | * @return \Alhoqbani\SmsaWebService\Soap\Type\GetStatusByRef |
|
101 | */ |
|
102 | public function setPasskey($passkey = null) |
|
103 | { |
|
104 | // validation for constraint: string |
|
105 | if (!is_null($passkey) && !is_string($passkey)) { |
|
106 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($passkey)), __LINE__); |
|
107 | } |
|
108 | $this->passkey = $passkey; |
|
109 | ||
110 | return $this; |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Method called when an object has been exported with var_export() functions |
|
115 | * It allows to return an object instantiated with the values |
|
116 | * |
|
117 | * @see AbstractStructBase::__set_state() |
|
118 | * |
|
119 | * @uses AbstractStructBase::__set_state() |
|
120 | * |
|
121 | * @param array $array the exported values |
|
122 | * |
|
123 | * @return \Alhoqbani\SmsaWebService\Soap\Type\GetStatusByRef |
|
124 | */ |
|
125 | public static function __set_state(array $array) |
|
126 | { |
|
127 | return parent::__set_state($array); |
|
128 | } |
|
129 | ||
130 | /** |
|
131 | * Method returning the class name |
|
132 | * |
|
133 | * @return string __CLASS__ |
|
134 | */ |
|
135 | public function __toString() |
|
136 | { |
|
137 | return __CLASS__; |
|
138 | } |
|
139 | } |
|
140 |
@@ 20-139 (lines=120) @@ | ||
17 | * @date 2018/04/06 |
|
18 | * @codeVersion 0.0.1 |
|
19 | */ |
|
20 | class GetTracking extends AbstractStructBase |
|
21 | { |
|
22 | /** |
|
23 | * The awbNo |
|
24 | * Meta informations extracted from the WSDL |
|
25 | * - maxOccurs: 1 |
|
26 | * - minOccurs: 0 |
|
27 | * |
|
28 | * @var string |
|
29 | */ |
|
30 | public $awbNo; |
|
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 | /** |
|
42 | * Constructor method for getTracking |
|
43 | * |
|
44 | * @uses GetTracking::setAwbNo() |
|
45 | * @uses GetTracking::setPasskey() |
|
46 | * |
|
47 | * @param string $awbNo |
|
48 | * @param string $passkey |
|
49 | */ |
|
50 | public function __construct($awbNo = null, $passkey = null) |
|
51 | { |
|
52 | $this |
|
53 | ->setAwbNo($awbNo) |
|
54 | ->setPasskey($passkey); |
|
55 | } |
|
56 | ||
57 | /** |
|
58 | * Get awbNo value |
|
59 | * |
|
60 | * @return string|null |
|
61 | */ |
|
62 | public function getAwbNo() |
|
63 | { |
|
64 | return $this->awbNo; |
|
65 | } |
|
66 | ||
67 | /** |
|
68 | * Set awbNo value |
|
69 | * |
|
70 | * @param string $awbNo |
|
71 | * |
|
72 | * @return \Alhoqbani\SmsaWebService\Soap\Type\GetTracking |
|
73 | */ |
|
74 | public function setAwbNo($awbNo = null) |
|
75 | { |
|
76 | // validation for constraint: string |
|
77 | if (!is_null($awbNo) && !is_string($awbNo)) { |
|
78 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($awbNo)), __LINE__); |
|
79 | } |
|
80 | $this->awbNo = $awbNo; |
|
81 | ||
82 | return $this; |
|
83 | } |
|
84 | ||
85 | /** |
|
86 | * Get passkey value |
|
87 | * |
|
88 | * @return string|null |
|
89 | */ |
|
90 | public function getPasskey() |
|
91 | { |
|
92 | return $this->passkey; |
|
93 | } |
|
94 | ||
95 | /** |
|
96 | * Set passkey value |
|
97 | * |
|
98 | * @param string $passkey |
|
99 | * |
|
100 | * @return \Alhoqbani\SmsaWebService\Soap\Type\GetTracking |
|
101 | */ |
|
102 | public function setPasskey($passkey = null) |
|
103 | { |
|
104 | // validation for constraint: string |
|
105 | if (!is_null($passkey) && !is_string($passkey)) { |
|
106 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($passkey)), __LINE__); |
|
107 | } |
|
108 | $this->passkey = $passkey; |
|
109 | ||
110 | return $this; |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Method called when an object has been exported with var_export() functions |
|
115 | * It allows to return an object instantiated with the values |
|
116 | * |
|
117 | * @see AbstractStructBase::__set_state() |
|
118 | * |
|
119 | * @uses AbstractStructBase::__set_state() |
|
120 | * |
|
121 | * @param array $array the exported values |
|
122 | * |
|
123 | * @return \Alhoqbani\SmsaWebService\Soap\Type\GetTracking |
|
124 | */ |
|
125 | public static function __set_state(array $array) |
|
126 | { |
|
127 | return parent::__set_state($array); |
|
128 | } |
|
129 | ||
130 | /** |
|
131 | * Method returning the class name |
|
132 | * |
|
133 | * @return string __CLASS__ |
|
134 | */ |
|
135 | public function __toString() |
|
136 | { |
|
137 | return __CLASS__; |
|
138 | } |
|
139 | } |
|
140 |
@@ 20-139 (lines=120) @@ | ||
17 | * @date 2018/04/06 |
|
18 | * @codeVersion 0.0.1 |
|
19 | */ |
|
20 | class GetTrackingByRef extends AbstractStructBase |
|
21 | { |
|
22 | /** |
|
23 | * The refNo |
|
24 | * Meta informations extracted from the WSDL |
|
25 | * - maxOccurs: 1 |
|
26 | * - minOccurs: 0 |
|
27 | * |
|
28 | * @var string |
|
29 | */ |
|
30 | public $refNo; |
|
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 | /** |
|
42 | * Constructor method for getTrackingByRef |
|
43 | * |
|
44 | * @uses GetTrackingByRef::setRefNo() |
|
45 | * @uses GetTrackingByRef::setPasskey() |
|
46 | * |
|
47 | * @param string $refNo |
|
48 | * @param string $passkey |
|
49 | */ |
|
50 | public function __construct($refNo = null, $passkey = null) |
|
51 | { |
|
52 | $this |
|
53 | ->setRefNo($refNo) |
|
54 | ->setPasskey($passkey); |
|
55 | } |
|
56 | ||
57 | /** |
|
58 | * Get refNo value |
|
59 | * |
|
60 | * @return string|null |
|
61 | */ |
|
62 | public function getRefNo() |
|
63 | { |
|
64 | return $this->refNo; |
|
65 | } |
|
66 | ||
67 | /** |
|
68 | * Set refNo value |
|
69 | * |
|
70 | * @param string $refNo |
|
71 | * |
|
72 | * @return \Alhoqbani\SmsaWebService\Soap\Type\GetTrackingByRef |
|
73 | */ |
|
74 | public function setRefNo($refNo = null) |
|
75 | { |
|
76 | // validation for constraint: string |
|
77 | if (!is_null($refNo) && !is_string($refNo)) { |
|
78 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($refNo)), __LINE__); |
|
79 | } |
|
80 | $this->refNo = $refNo; |
|
81 | ||
82 | return $this; |
|
83 | } |
|
84 | ||
85 | /** |
|
86 | * Get passkey value |
|
87 | * |
|
88 | * @return string|null |
|
89 | */ |
|
90 | public function getPasskey() |
|
91 | { |
|
92 | return $this->passkey; |
|
93 | } |
|
94 | ||
95 | /** |
|
96 | * Set passkey value |
|
97 | * |
|
98 | * @param string $passkey |
|
99 | * |
|
100 | * @return \Alhoqbani\SmsaWebService\Soap\Type\GetTrackingByRef |
|
101 | */ |
|
102 | public function setPasskey($passkey = null) |
|
103 | { |
|
104 | // validation for constraint: string |
|
105 | if (!is_null($passkey) && !is_string($passkey)) { |
|
106 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($passkey)), __LINE__); |
|
107 | } |
|
108 | $this->passkey = $passkey; |
|
109 | ||
110 | return $this; |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Method called when an object has been exported with var_export() functions |
|
115 | * It allows to return an object instantiated with the values |
|
116 | * |
|
117 | * @see AbstractStructBase::__set_state() |
|
118 | * |
|
119 | * @uses AbstractStructBase::__set_state() |
|
120 | * |
|
121 | * @param array $array the exported values |
|
122 | * |
|
123 | * @return \Alhoqbani\SmsaWebService\Soap\Type\GetTrackingByRef |
|
124 | */ |
|
125 | public static function __set_state(array $array) |
|
126 | { |
|
127 | return parent::__set_state($array); |
|
128 | } |
|
129 | ||
130 | /** |
|
131 | * Method returning the class name |
|
132 | * |
|
133 | * @return string __CLASS__ |
|
134 | */ |
|
135 | public function __toString() |
|
136 | { |
|
137 | return __CLASS__; |
|
138 | } |
|
139 | } |
|
140 |
@@ 20-139 (lines=120) @@ | ||
17 | * @date 2018/04/06 |
|
18 | * @codeVersion 0.0.1 |
|
19 | */ |
|
20 | class GetTrackingwithRef extends AbstractStructBase |
|
21 | { |
|
22 | /** |
|
23 | * The awbNo |
|
24 | * Meta informations extracted from the WSDL |
|
25 | * - maxOccurs: 1 |
|
26 | * - minOccurs: 0 |
|
27 | * |
|
28 | * @var string |
|
29 | */ |
|
30 | public $awbNo; |
|
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 | /** |
|
42 | * Constructor method for getTrackingwithRef |
|
43 | * |
|
44 | * @uses GetTrackingwithRef::setAwbNo() |
|
45 | * @uses GetTrackingwithRef::setPasskey() |
|
46 | * |
|
47 | * @param string $awbNo |
|
48 | * @param string $passkey |
|
49 | */ |
|
50 | public function __construct($awbNo = null, $passkey = null) |
|
51 | { |
|
52 | $this |
|
53 | ->setAwbNo($awbNo) |
|
54 | ->setPasskey($passkey); |
|
55 | } |
|
56 | ||
57 | /** |
|
58 | * Get awbNo value |
|
59 | * |
|
60 | * @return string|null |
|
61 | */ |
|
62 | public function getAwbNo() |
|
63 | { |
|
64 | return $this->awbNo; |
|
65 | } |
|
66 | ||
67 | /** |
|
68 | * Set awbNo value |
|
69 | * |
|
70 | * @param string $awbNo |
|
71 | * |
|
72 | * @return \Alhoqbani\SmsaWebService\Soap\Type\GetTrackingwithRef |
|
73 | */ |
|
74 | public function setAwbNo($awbNo = null) |
|
75 | { |
|
76 | // validation for constraint: string |
|
77 | if (!is_null($awbNo) && !is_string($awbNo)) { |
|
78 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($awbNo)), __LINE__); |
|
79 | } |
|
80 | $this->awbNo = $awbNo; |
|
81 | ||
82 | return $this; |
|
83 | } |
|
84 | ||
85 | /** |
|
86 | * Get passkey value |
|
87 | * |
|
88 | * @return string|null |
|
89 | */ |
|
90 | public function getPasskey() |
|
91 | { |
|
92 | return $this->passkey; |
|
93 | } |
|
94 | ||
95 | /** |
|
96 | * Set passkey value |
|
97 | * |
|
98 | * @param string $passkey |
|
99 | * |
|
100 | * @return \Alhoqbani\SmsaWebService\Soap\Type\GetTrackingwithRef |
|
101 | */ |
|
102 | public function setPasskey($passkey = null) |
|
103 | { |
|
104 | // validation for constraint: string |
|
105 | if (!is_null($passkey) && !is_string($passkey)) { |
|
106 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($passkey)), __LINE__); |
|
107 | } |
|
108 | $this->passkey = $passkey; |
|
109 | ||
110 | return $this; |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Method called when an object has been exported with var_export() functions |
|
115 | * It allows to return an object instantiated with the values |
|
116 | * |
|
117 | * @see AbstractStructBase::__set_state() |
|
118 | * |
|
119 | * @uses AbstractStructBase::__set_state() |
|
120 | * |
|
121 | * @param array $array the exported values |
|
122 | * |
|
123 | * @return \Alhoqbani\SmsaWebService\Soap\Type\GetTrackingwithRef |
|
124 | */ |
|
125 | public static function __set_state(array $array) |
|
126 | { |
|
127 | return parent::__set_state($array); |
|
128 | } |
|
129 | ||
130 | /** |
|
131 | * Method returning the class name |
|
132 | * |
|
133 | * @return string __CLASS__ |
|
134 | */ |
|
135 | public function __toString() |
|
136 | { |
|
137 | return __CLASS__; |
|
138 | } |
|
139 | } |
|
140 |
@@ 20-139 (lines=120) @@ | ||
17 | * @date 2018/04/06 |
|
18 | * @codeVersion 0.0.1 |
|
19 | */ |
|
20 | class StoShipment extends AbstractStructBase |
|
21 | { |
|
22 | /** |
|
23 | * The awbNo |
|
24 | * Meta informations extracted from the WSDL |
|
25 | * - maxOccurs: 1 |
|
26 | * - minOccurs: 0 |
|
27 | * |
|
28 | * @var string |
|
29 | */ |
|
30 | public $awbNo; |
|
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 | /** |
|
42 | * Constructor method for stoShipment |
|
43 | * |
|
44 | * @uses StoShipment::setAwbNo() |
|
45 | * @uses StoShipment::setPasskey() |
|
46 | * |
|
47 | * @param string $awbNo |
|
48 | * @param string $passkey |
|
49 | */ |
|
50 | public function __construct($awbNo = null, $passkey = null) |
|
51 | { |
|
52 | $this |
|
53 | ->setAwbNo($awbNo) |
|
54 | ->setPasskey($passkey); |
|
55 | } |
|
56 | ||
57 | /** |
|
58 | * Get awbNo value |
|
59 | * |
|
60 | * @return string|null |
|
61 | */ |
|
62 | public function getAwbNo() |
|
63 | { |
|
64 | return $this->awbNo; |
|
65 | } |
|
66 | ||
67 | /** |
|
68 | * Set awbNo value |
|
69 | * |
|
70 | * @param string $awbNo |
|
71 | * |
|
72 | * @return \Alhoqbani\SmsaWebService\Soap\Type\StoShipment |
|
73 | */ |
|
74 | public function setAwbNo($awbNo = null) |
|
75 | { |
|
76 | // validation for constraint: string |
|
77 | if (!is_null($awbNo) && !is_string($awbNo)) { |
|
78 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($awbNo)), __LINE__); |
|
79 | } |
|
80 | $this->awbNo = $awbNo; |
|
81 | ||
82 | return $this; |
|
83 | } |
|
84 | ||
85 | /** |
|
86 | * Get passkey value |
|
87 | * |
|
88 | * @return string|null |
|
89 | */ |
|
90 | public function getPasskey() |
|
91 | { |
|
92 | return $this->passkey; |
|
93 | } |
|
94 | ||
95 | /** |
|
96 | * Set passkey value |
|
97 | * |
|
98 | * @param string $passkey |
|
99 | * |
|
100 | * @return \Alhoqbani\SmsaWebService\Soap\Type\StoShipment |
|
101 | */ |
|
102 | public function setPasskey($passkey = null) |
|
103 | { |
|
104 | // validation for constraint: string |
|
105 | if (!is_null($passkey) && !is_string($passkey)) { |
|
106 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($passkey)), __LINE__); |
|
107 | } |
|
108 | $this->passkey = $passkey; |
|
109 | ||
110 | return $this; |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Method called when an object has been exported with var_export() functions |
|
115 | * It allows to return an object instantiated with the values |
|
116 | * |
|
117 | * @see AbstractStructBase::__set_state() |
|
118 | * |
|
119 | * @uses AbstractStructBase::__set_state() |
|
120 | * |
|
121 | * @param array $array the exported values |
|
122 | * |
|
123 | * @return \Alhoqbani\SmsaWebService\Soap\Type\StoShipment |
|
124 | */ |
|
125 | public static function __set_state(array $array) |
|
126 | { |
|
127 | return parent::__set_state($array); |
|
128 | } |
|
129 | ||
130 | /** |
|
131 | * Method returning the class name |
|
132 | * |
|
133 | * @return string __CLASS__ |
|
134 | */ |
|
135 | public function __toString() |
|
136 | { |
|
137 | return __CLASS__; |
|
138 | } |
|
139 | } |
|
140 |