| @@ 20-179 (lines=160) @@ | ||
| 17 | * @date 2018/04/06 |
|
| 18 | * @codeVersion 0.0.1 |
|
| 19 | */ |
|
| 20 | class CancelShipment 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 | * The reas |
|
| 42 | * Meta informations extracted from the WSDL |
|
| 43 | * - maxOccurs: 1 |
|
| 44 | * - minOccurs: 0 |
|
| 45 | * |
|
| 46 | * @var string |
|
| 47 | */ |
|
| 48 | public $reas; |
|
| 49 | ||
| 50 | /** |
|
| 51 | * Constructor method for cancelShipment |
|
| 52 | * |
|
| 53 | * @uses CancelShipment::setAwbNo() |
|
| 54 | * @uses CancelShipment::setPasskey() |
|
| 55 | * @uses CancelShipment::setReas() |
|
| 56 | * |
|
| 57 | * @param string $awbNo |
|
| 58 | * @param string $passkey |
|
| 59 | * @param string $reas |
|
| 60 | */ |
|
| 61 | public function __construct($awbNo = null, $passkey = null, $reas = null) |
|
| 62 | { |
|
| 63 | $this |
|
| 64 | ->setAwbNo($awbNo) |
|
| 65 | ->setPasskey($passkey) |
|
| 66 | ->setReas($reas); |
|
| 67 | } |
|
| 68 | ||
| 69 | /** |
|
| 70 | * Get awbNo value |
|
| 71 | * |
|
| 72 | * @return string|null |
|
| 73 | */ |
|
| 74 | public function getAwbNo() |
|
| 75 | { |
|
| 76 | return $this->awbNo; |
|
| 77 | } |
|
| 78 | ||
| 79 | /** |
|
| 80 | * Set awbNo value |
|
| 81 | * |
|
| 82 | * @param string $awbNo |
|
| 83 | * |
|
| 84 | * @return \Alhoqbani\SmsaWebService\Soap\Type\CancelShipment |
|
| 85 | */ |
|
| 86 | public function setAwbNo($awbNo = null) |
|
| 87 | { |
|
| 88 | // validation for constraint: string |
|
| 89 | if (!is_null($awbNo) && !is_string($awbNo)) { |
|
| 90 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($awbNo)), __LINE__); |
|
| 91 | } |
|
| 92 | $this->awbNo = $awbNo; |
|
| 93 | ||
| 94 | return $this; |
|
| 95 | } |
|
| 96 | ||
| 97 | /** |
|
| 98 | * Get passkey value |
|
| 99 | * |
|
| 100 | * @return string|null |
|
| 101 | */ |
|
| 102 | public function getPasskey() |
|
| 103 | { |
|
| 104 | return $this->passkey; |
|
| 105 | } |
|
| 106 | ||
| 107 | /** |
|
| 108 | * Set passkey value |
|
| 109 | * |
|
| 110 | * @param string $passkey |
|
| 111 | * |
|
| 112 | * @return \Alhoqbani\SmsaWebService\Soap\Type\CancelShipment |
|
| 113 | */ |
|
| 114 | public function setPasskey($passkey = null) |
|
| 115 | { |
|
| 116 | // validation for constraint: string |
|
| 117 | if (!is_null($passkey) && !is_string($passkey)) { |
|
| 118 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($passkey)), __LINE__); |
|
| 119 | } |
|
| 120 | $this->passkey = $passkey; |
|
| 121 | ||
| 122 | return $this; |
|
| 123 | } |
|
| 124 | ||
| 125 | /** |
|
| 126 | * Get reas value |
|
| 127 | * |
|
| 128 | * @return string|null |
|
| 129 | */ |
|
| 130 | public function getReas() |
|
| 131 | { |
|
| 132 | return $this->reas; |
|
| 133 | } |
|
| 134 | ||
| 135 | /** |
|
| 136 | * Set reas value |
|
| 137 | * |
|
| 138 | * @param string $reas |
|
| 139 | * |
|
| 140 | * @return \Alhoqbani\SmsaWebService\Soap\Type\CancelShipment |
|
| 141 | */ |
|
| 142 | public function setReas($reas = null) |
|
| 143 | { |
|
| 144 | // validation for constraint: string |
|
| 145 | if (!is_null($reas) && !is_string($reas)) { |
|
| 146 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($reas)), __LINE__); |
|
| 147 | } |
|
| 148 | $this->reas = $reas; |
|
| 149 | ||
| 150 | return $this; |
|
| 151 | } |
|
| 152 | ||
| 153 | /** |
|
| 154 | * Method called when an object has been exported with var_export() functions |
|
| 155 | * It allows to return an object instantiated with the values |
|
| 156 | * |
|
| 157 | * @see AbstractStructBase::__set_state() |
|
| 158 | * |
|
| 159 | * @uses AbstractStructBase::__set_state() |
|
| 160 | * |
|
| 161 | * @param array $array the exported values |
|
| 162 | * |
|
| 163 | * @return \Alhoqbani\SmsaWebService\Soap\Type\CancelShipment |
|
| 164 | */ |
|
| 165 | public static function __set_state(array $array) |
|
| 166 | { |
|
| 167 | return parent::__set_state($array); |
|
| 168 | } |
|
| 169 | ||
| 170 | /** |
|
| 171 | * Method returning the class name |
|
| 172 | * |
|
| 173 | * @return string __CLASS__ |
|
| 174 | */ |
|
| 175 | public function __toString() |
|
| 176 | { |
|
| 177 | return __CLASS__; |
|
| 178 | } |
|
| 179 | } |
|
| 180 | ||
| @@ 20-179 (lines=160) @@ | ||
| 17 | * @date 2018/04/06 |
|
| 18 | * @codeVersion 0.0.1 |
|
| 19 | */ |
|
| 20 | class GetPDFBr 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 | * The forwrdr |
|
| 42 | * Meta informations extracted from the WSDL |
|
| 43 | * - maxOccurs: 1 |
|
| 44 | * - minOccurs: 0 |
|
| 45 | * |
|
| 46 | * @var string |
|
| 47 | */ |
|
| 48 | public $forwrdr; |
|
| 49 | ||
| 50 | /** |
|
| 51 | * Constructor method for getPDFBr |
|
| 52 | * |
|
| 53 | * @uses GetPDFBr::setAwbNo() |
|
| 54 | * @uses GetPDFBr::setPassKey() |
|
| 55 | * @uses GetPDFBr::setForwrdr() |
|
| 56 | * |
|
| 57 | * @param string $awbNo |
|
| 58 | * @param string $passKey |
|
| 59 | * @param string $forwrdr |
|
| 60 | */ |
|
| 61 | public function __construct($awbNo = null, $passKey = null, $forwrdr = null) |
|
| 62 | { |
|
| 63 | $this |
|
| 64 | ->setAwbNo($awbNo) |
|
| 65 | ->setPassKey($passKey) |
|
| 66 | ->setForwrdr($forwrdr); |
|
| 67 | } |
|
| 68 | ||
| 69 | /** |
|
| 70 | * Get awbNo value |
|
| 71 | * |
|
| 72 | * @return string|null |
|
| 73 | */ |
|
| 74 | public function getAwbNo() |
|
| 75 | { |
|
| 76 | return $this->awbNo; |
|
| 77 | } |
|
| 78 | ||
| 79 | /** |
|
| 80 | * Set awbNo value |
|
| 81 | * |
|
| 82 | * @param string $awbNo |
|
| 83 | * |
|
| 84 | * @return \Alhoqbani\SmsaWebService\Soap\Type\GetPDFBr |
|
| 85 | */ |
|
| 86 | public function setAwbNo($awbNo = null) |
|
| 87 | { |
|
| 88 | // validation for constraint: string |
|
| 89 | if (!is_null($awbNo) && !is_string($awbNo)) { |
|
| 90 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($awbNo)), __LINE__); |
|
| 91 | } |
|
| 92 | $this->awbNo = $awbNo; |
|
| 93 | ||
| 94 | return $this; |
|
| 95 | } |
|
| 96 | ||
| 97 | /** |
|
| 98 | * Get passKey value |
|
| 99 | * |
|
| 100 | * @return string|null |
|
| 101 | */ |
|
| 102 | public function getPassKey() |
|
| 103 | { |
|
| 104 | return $this->passKey; |
|
| 105 | } |
|
| 106 | ||
| 107 | /** |
|
| 108 | * Set passKey value |
|
| 109 | * |
|
| 110 | * @param string $passKey |
|
| 111 | * |
|
| 112 | * @return \Alhoqbani\SmsaWebService\Soap\Type\GetPDFBr |
|
| 113 | */ |
|
| 114 | public function setPassKey($passKey = null) |
|
| 115 | { |
|
| 116 | // validation for constraint: string |
|
| 117 | if (!is_null($passKey) && !is_string($passKey)) { |
|
| 118 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($passKey)), __LINE__); |
|
| 119 | } |
|
| 120 | $this->passKey = $passKey; |
|
| 121 | ||
| 122 | return $this; |
|
| 123 | } |
|
| 124 | ||
| 125 | /** |
|
| 126 | * Get forwrdr value |
|
| 127 | * |
|
| 128 | * @return string|null |
|
| 129 | */ |
|
| 130 | public function getForwrdr() |
|
| 131 | { |
|
| 132 | return $this->forwrdr; |
|
| 133 | } |
|
| 134 | ||
| 135 | /** |
|
| 136 | * Set forwrdr value |
|
| 137 | * |
|
| 138 | * @param string $forwrdr |
|
| 139 | * |
|
| 140 | * @return \Alhoqbani\SmsaWebService\Soap\Type\GetPDFBr |
|
| 141 | */ |
|
| 142 | public function setForwrdr($forwrdr = null) |
|
| 143 | { |
|
| 144 | // validation for constraint: string |
|
| 145 | if (!is_null($forwrdr) && !is_string($forwrdr)) { |
|
| 146 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($forwrdr)), __LINE__); |
|
| 147 | } |
|
| 148 | $this->forwrdr = $forwrdr; |
|
| 149 | ||
| 150 | return $this; |
|
| 151 | } |
|
| 152 | ||
| 153 | /** |
|
| 154 | * Method called when an object has been exported with var_export() functions |
|
| 155 | * It allows to return an object instantiated with the values |
|
| 156 | * |
|
| 157 | * @see AbstractStructBase::__set_state() |
|
| 158 | * |
|
| 159 | * @uses AbstractStructBase::__set_state() |
|
| 160 | * |
|
| 161 | * @param array $array the exported values |
|
| 162 | * |
|
| 163 | * @return \Alhoqbani\SmsaWebService\Soap\Type\GetPDFBr |
|
| 164 | */ |
|
| 165 | public static function __set_state(array $array) |
|
| 166 | { |
|
| 167 | return parent::__set_state($array); |
|
| 168 | } |
|
| 169 | ||
| 170 | /** |
|
| 171 | * Method returning the class name |
|
| 172 | * |
|
| 173 | * @return string __CLASS__ |
|
| 174 | */ |
|
| 175 | public function __toString() |
|
| 176 | { |
|
| 177 | return __CLASS__; |
|
| 178 | } |
|
| 179 | } |
|
| 180 | ||
| @@ 20-179 (lines=160) @@ | ||
| 17 | * @date 2018/04/06 |
|
| 18 | * @codeVersion 0.0.1 |
|
| 19 | */ |
|
| 20 | class OrderLineItem extends AbstractStructBase |
|
| 21 | { |
|
| 22 | /** |
|
| 23 | * The iSKU |
|
| 24 | * Meta informations extracted from the WSDL |
|
| 25 | * - maxOccurs: 1 |
|
| 26 | * - minOccurs: 0 |
|
| 27 | * |
|
| 28 | * @var string |
|
| 29 | */ |
|
| 30 | public $iSKU; |
|
| 31 | /** |
|
| 32 | * The iQty |
|
| 33 | * Meta informations extracted from the WSDL |
|
| 34 | * - maxOccurs: 1 |
|
| 35 | * - minOccurs: 0 |
|
| 36 | * |
|
| 37 | * @var string |
|
| 38 | */ |
|
| 39 | public $iQty; |
|
| 40 | /** |
|
| 41 | * The iSerial |
|
| 42 | * Meta informations extracted from the WSDL |
|
| 43 | * - maxOccurs: 1 |
|
| 44 | * - minOccurs: 0 |
|
| 45 | * |
|
| 46 | * @var string |
|
| 47 | */ |
|
| 48 | public $iSerial; |
|
| 49 | ||
| 50 | /** |
|
| 51 | * Constructor method for OrderLineItem |
|
| 52 | * |
|
| 53 | * @uses OrderLineItem::setISKU() |
|
| 54 | * @uses OrderLineItem::setIQty() |
|
| 55 | * @uses OrderLineItem::setISerial() |
|
| 56 | * |
|
| 57 | * @param string $iSKU |
|
| 58 | * @param string $iQty |
|
| 59 | * @param string $iSerial |
|
| 60 | */ |
|
| 61 | public function __construct($iSKU = null, $iQty = null, $iSerial = null) |
|
| 62 | { |
|
| 63 | $this |
|
| 64 | ->setISKU($iSKU) |
|
| 65 | ->setIQty($iQty) |
|
| 66 | ->setISerial($iSerial); |
|
| 67 | } |
|
| 68 | ||
| 69 | /** |
|
| 70 | * Get iSKU value |
|
| 71 | * |
|
| 72 | * @return string|null |
|
| 73 | */ |
|
| 74 | public function getISKU() |
|
| 75 | { |
|
| 76 | return $this->iSKU; |
|
| 77 | } |
|
| 78 | ||
| 79 | /** |
|
| 80 | * Set iSKU value |
|
| 81 | * |
|
| 82 | * @param string $iSKU |
|
| 83 | * |
|
| 84 | * @return \Alhoqbani\SmsaWebService\Soap\Type\OrderLineItem |
|
| 85 | */ |
|
| 86 | public function setISKU($iSKU = null) |
|
| 87 | { |
|
| 88 | // validation for constraint: string |
|
| 89 | if (!is_null($iSKU) && !is_string($iSKU)) { |
|
| 90 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($iSKU)), __LINE__); |
|
| 91 | } |
|
| 92 | $this->iSKU = $iSKU; |
|
| 93 | ||
| 94 | return $this; |
|
| 95 | } |
|
| 96 | ||
| 97 | /** |
|
| 98 | * Get iQty value |
|
| 99 | * |
|
| 100 | * @return string|null |
|
| 101 | */ |
|
| 102 | public function getIQty() |
|
| 103 | { |
|
| 104 | return $this->iQty; |
|
| 105 | } |
|
| 106 | ||
| 107 | /** |
|
| 108 | * Set iQty value |
|
| 109 | * |
|
| 110 | * @param string $iQty |
|
| 111 | * |
|
| 112 | * @return \Alhoqbani\SmsaWebService\Soap\Type\OrderLineItem |
|
| 113 | */ |
|
| 114 | public function setIQty($iQty = null) |
|
| 115 | { |
|
| 116 | // validation for constraint: string |
|
| 117 | if (!is_null($iQty) && !is_string($iQty)) { |
|
| 118 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($iQty)), __LINE__); |
|
| 119 | } |
|
| 120 | $this->iQty = $iQty; |
|
| 121 | ||
| 122 | return $this; |
|
| 123 | } |
|
| 124 | ||
| 125 | /** |
|
| 126 | * Get iSerial value |
|
| 127 | * |
|
| 128 | * @return string|null |
|
| 129 | */ |
|
| 130 | public function getISerial() |
|
| 131 | { |
|
| 132 | return $this->iSerial; |
|
| 133 | } |
|
| 134 | ||
| 135 | /** |
|
| 136 | * Set iSerial value |
|
| 137 | * |
|
| 138 | * @param string $iSerial |
|
| 139 | * |
|
| 140 | * @return \Alhoqbani\SmsaWebService\Soap\Type\OrderLineItem |
|
| 141 | */ |
|
| 142 | public function setISerial($iSerial = null) |
|
| 143 | { |
|
| 144 | // validation for constraint: string |
|
| 145 | if (!is_null($iSerial) && !is_string($iSerial)) { |
|
| 146 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($iSerial)), __LINE__); |
|
| 147 | } |
|
| 148 | $this->iSerial = $iSerial; |
|
| 149 | ||
| 150 | return $this; |
|
| 151 | } |
|
| 152 | ||
| 153 | /** |
|
| 154 | * Method called when an object has been exported with var_export() functions |
|
| 155 | * It allows to return an object instantiated with the values |
|
| 156 | * |
|
| 157 | * @see AbstractStructBase::__set_state() |
|
| 158 | * |
|
| 159 | * @uses AbstractStructBase::__set_state() |
|
| 160 | * |
|
| 161 | * @param array $array the exported values |
|
| 162 | * |
|
| 163 | * @return \Alhoqbani\SmsaWebService\Soap\Type\OrderLineItem |
|
| 164 | */ |
|
| 165 | public static function __set_state(array $array) |
|
| 166 | { |
|
| 167 | return parent::__set_state($array); |
|
| 168 | } |
|
| 169 | ||
| 170 | /** |
|
| 171 | * Method returning the class name |
|
| 172 | * |
|
| 173 | * @return string __CLASS__ |
|
| 174 | */ |
|
| 175 | public function __toString() |
|
| 176 | { |
|
| 177 | return __CLASS__; |
|
| 178 | } |
|
| 179 | } |
|
| 180 | ||