@@ -34,6 +34,10 @@ discard block |
||
34 | 34 | # Return the value of the specified top-level attribute. |
35 | 35 | # This method can only return attributes of the root element. |
36 | 36 | # If the attribute is not found, return "". |
37 | + |
|
38 | + /** |
|
39 | + * @param string $attribute |
|
40 | + */ |
|
37 | 41 | public function get_attribute($attribute) |
38 | 42 | { |
39 | 43 | $attributes = $this->xml_value_[0]["attributes"]; |
@@ -45,6 +49,10 @@ discard block |
||
45 | 49 | # For example, "Link/ServerOk" refers to the ServerOk element |
46 | 50 | # nested in the Link element (nested in the root element). |
47 | 51 | # If the element is not found, return "". |
52 | + |
|
53 | + /** |
|
54 | + * @param string $element |
|
55 | + */ |
|
48 | 56 | public function get_element_text($element) |
49 | 57 | { |
50 | 58 | $index = $this->get_element_index($element, 0); |
@@ -119,6 +127,10 @@ discard block |
||
119 | 127 | #****************************************************************************** |
120 | 128 | # Create a request for the PxPay interface |
121 | 129 | #****************************************************************************** |
130 | + |
|
131 | + /** |
|
132 | + * @param PxPayRequest $request |
|
133 | + */ |
|
122 | 134 | public function makeRequest($request) |
123 | 135 | { |
124 | 136 | #Validate the Request |
@@ -195,6 +207,9 @@ discard block |
||
195 | 207 | parent::__construct(); |
196 | 208 | } |
197 | 209 | |
210 | + /** |
|
211 | + * @param integer $EnableBillAddCard |
|
212 | + */ |
|
198 | 213 | public function setEnableAddBillCard($EnableBillAddCard) |
199 | 214 | { |
200 | 215 | $this->EnableAddBillCard = $EnableBillAddCard; |
@@ -297,6 +312,9 @@ discard block |
||
297 | 312 | { |
298 | 313 | } |
299 | 314 | |
315 | + /** |
|
316 | + * @param integer $BillingId |
|
317 | + */ |
|
300 | 318 | public function setBillingId($BillingId) |
301 | 319 | { |
302 | 320 | $this->BillingId = $BillingId; |
@@ -313,6 +331,10 @@ discard block |
||
313 | 331 | { |
314 | 332 | return $this->TxnType; |
315 | 333 | } |
334 | + |
|
335 | + /** |
|
336 | + * @param string $CurrencyInput |
|
337 | + */ |
|
316 | 338 | public function setCurrencyInput($CurrencyInput) |
317 | 339 | { |
318 | 340 | $this->CurrencyInput = $CurrencyInput; |
@@ -325,6 +347,10 @@ discard block |
||
325 | 347 | { |
326 | 348 | $this->MerchantReference = $MerchantReference; |
327 | 349 | } |
350 | + |
|
351 | + /** |
|
352 | + * @return integer |
|
353 | + */ |
|
328 | 354 | public function getMerchantReference() |
329 | 355 | { |
330 | 356 | return $this->MerchantReference; |
@@ -361,6 +387,10 @@ discard block |
||
361 | 387 | { |
362 | 388 | $this->TxnData3 = $TxnData3; |
363 | 389 | } |
390 | + |
|
391 | + /** |
|
392 | + * @param string $TxnId |
|
393 | + */ |
|
364 | 394 | public function setTxnId($TxnId) |
365 | 395 | { |
366 | 396 | $this->TxnId = $TxnId; |