Completed
Push — master ( 505fcc...5760c4 )
by Nicolaas
01:56
created
code/thirdparty/PxPay_Curl.inc.php 1 patch
Doc Comments   +30 added lines patch added patch discarded remove patch
@@ -35,6 +35,10 @@  discard block
 block discarded – undo
35 35
     # Return the value of the specified top-level attribute.
36 36
     # This method can only return attributes of the root element.
37 37
     # If the attribute is not found, return "".
38
+
39
+    /**
40
+     * @param string $attribute
41
+     */
38 42
     public function get_attribute($attribute)
39 43
     {
40 44
         $attributes = $this->xml_value_[0]["attributes"];
@@ -46,6 +50,10 @@  discard block
 block discarded – undo
46 50
     # For example, "Link/ServerOk" refers to the ServerOk element
47 51
     # nested in the Link element (nested in the root element).
48 52
     # If the element is not found, return "".
53
+
54
+    /**
55
+     * @param string $element
56
+     */
49 57
     public function get_element_text($element)
50 58
     {
51 59
         $index = $this->get_element_index($element, 0);
@@ -120,6 +128,10 @@  discard block
 block discarded – undo
120 128
     #******************************************************************************
121 129
     # Create a request for the PxPay interface
122 130
     #******************************************************************************
131
+
132
+    /**
133
+     * @param PxPayRequest $request
134
+     */
123 135
     public function makeRequest($request)
124 136
     {
125 137
         #Validate the Request
@@ -196,6 +208,9 @@  discard block
 block discarded – undo
196 208
         $this->PxPayMessage();
197 209
     }
198 210
 
211
+    /**
212
+     * @param integer $EnableBillAddCard
213
+     */
199 214
     public function setEnableAddBillCard($EnableBillAddCard)
200 215
     {
201 216
         $this->EnableAddBillCard = $EnableBillAddCard;
@@ -298,6 +313,9 @@  discard block
 block discarded – undo
298 313
     {
299 314
     }
300 315
 
316
+    /**
317
+     * @param integer $BillingId
318
+     */
301 319
     public function setBillingId($BillingId)
302 320
     {
303 321
         $this->BillingId = $BillingId;
@@ -314,6 +332,10 @@  discard block
 block discarded – undo
314 332
     {
315 333
         return $this->TxnType;
316 334
     }
335
+
336
+    /**
337
+     * @param string $CurrencyInput
338
+     */
317 339
     public function setCurrencyInput($CurrencyInput)
318 340
     {
319 341
         $this->CurrencyInput = $CurrencyInput;
@@ -326,6 +348,10 @@  discard block
 block discarded – undo
326 348
     {
327 349
         $this->MerchantReference = $MerchantReference;
328 350
     }
351
+
352
+    /**
353
+     * @return integer
354
+     */
329 355
     public function getMerchantReference()
330 356
     {
331 357
         return $this->MerchantReference;
@@ -362,6 +388,10 @@  discard block
 block discarded – undo
362 388
     {
363 389
         $this->TxnData3 = $TxnData3;
364 390
     }
391
+
392
+    /**
393
+     * @param string $TxnId
394
+     */
365 395
     public function setTxnId($TxnId)
366 396
     {
367 397
         $this->TxnId = $TxnId;
Please login to merge, or discard this patch.