Completed
Push — master ( c76259...7eb777 )
by Dmitry
01:52
created
src/Provider31/Response/Check.php 1 patch
Indentation   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -16,35 +16,35 @@
 block discarded – undo
16 16
 
17 17
 final class Check extends Response
18 18
 {
19
-	/**
19
+        /**
20 20
          *      Check constructor
21 21
          *
22 22
          *      @param AccountInfo $accountinfo account information set
23 23
          */
24
-	function __construct(AccountInfo $accountinfo) {
25
-		parent::__construct();
24
+        function __construct(AccountInfo $accountinfo) {
25
+                parent::__construct();
26 26
 		
27
-		$this->setElementValue('StatusCode', 0);
28
-		$this->setElementValue('StatusDetail', 'checked');
27
+                $this->setElementValue('StatusCode', 0);
28
+                $this->setElementValue('StatusDetail', 'checked');
29 29
 		
30
-		$this->create_AccountInfo($accountinfo);
31
-	}
30
+                $this->create_AccountInfo($accountinfo);
31
+        }
32 32
 	
33
-	/**
33
+        /**
34 34
          *      Create AccountInfo node with child nodes
35 35
          *
36 36
          *      @param AccountInfo $accountinfo account information set
37 37
          */
38
-	public function create_AccountInfo($accountinfo)
39
-	{
40
-		if (isset($this->AccountInfo)) return;
38
+        public function create_AccountInfo($accountinfo)
39
+        {
40
+                if (isset($this->AccountInfo)) return;
41 41
 		
42
-		$this->AccountInfo = self::createElement('AccountInfo');
43
-		$this->Response->appendChild($this->AccountInfo);
42
+                $this->AccountInfo = self::createElement('AccountInfo');
43
+                $this->Response->appendChild($this->AccountInfo);
44 44
 		
45
-		foreach($accountinfo as $parameter=>$value)
46
-		{
47
-			$this->AccountInfo->appendChild(self::createElement($parameter, $value));
48
-		}
49
-	}
45
+                foreach($accountinfo as $parameter=>$value)
46
+                {
47
+                        $this->AccountInfo->appendChild(self::createElement($parameter, $value));
48
+                }
49
+        }
50 50
 }
Please login to merge, or discard this patch.
src/Provider31/Response/Confirm.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -15,30 +15,30 @@
 block discarded – undo
15 15
 
16 16
 final class Confirm extends Response
17 17
 {
18
-	/**
18
+        /**
19 19
          *      Confirm constructor
20 20
          *
21 21
          *      @param string $orderdate
22 22
          */
23
-	function __construct($orderdate) {
24
-		parent::__construct();
23
+        function __construct($orderdate) {
24
+                parent::__construct();
25 25
 		
26
-		$this->setElementValue('StatusCode', 0);
27
-		$this->setElementValue('StatusDetail', 'checked');
26
+                $this->setElementValue('StatusCode', 0);
27
+                $this->setElementValue('StatusDetail', 'checked');
28 28
 		
29
-		$this->create_OrderDate($orderdate);
30
-	}
29
+                $this->create_OrderDate($orderdate);
30
+        }
31 31
 	
32
-	/**
32
+        /**
33 33
          *      Create OrderDate node
34 34
          *
35 35
          *      @param string $orderdate
36 36
          */
37
-	public function create_OrderDate($orderdate)
38
-	{
39
-		if (isset($this->OrderDate)) return;
37
+        public function create_OrderDate($orderdate)
38
+        {
39
+                if (isset($this->OrderDate)) return;
40 40
 		
41
-		$this->OrderDate = self::createElement('OrderDate', $orderdate);
42
-		$this->Response->appendChild($this->OrderDate);
43
-	}
41
+                $this->OrderDate = self::createElement('OrderDate', $orderdate);
42
+                $this->Response->appendChild($this->OrderDate);
43
+        }
44 44
 }
Please login to merge, or discard this patch.
src/Provider31/Response/Cancel.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -15,30 +15,30 @@
 block discarded – undo
15 15
 
16 16
 final class Cancel extends Response
17 17
 {
18
-	/**
18
+        /**
19 19
          *      Cancel constructor
20 20
          *
21 21
          *      @param string $orderdate
22 22
          */
23
-	function __construct($canceldate) {
24
-		parent::__construct();
23
+        function __construct($canceldate) {
24
+                parent::__construct();
25 25
 		
26
-		$this->setElementValue('StatusCode', 0);
27
-		$this->setElementValue('StatusDetail', 'checked');
26
+                $this->setElementValue('StatusCode', 0);
27
+                $this->setElementValue('StatusDetail', 'checked');
28 28
 		
29
-		$this->create_CancelDate($canceldate);
30
-	}
29
+                $this->create_CancelDate($canceldate);
30
+        }
31 31
 	
32
-	/**
32
+        /**
33 33
          *      Create CancelDate node
34 34
          *
35 35
          *      @param string $canceldate
36 36
          */
37
-	public function create_CancelDate($canceldate)
38
-	{
39
-		if (isset($this->CancelDate)) return;
37
+        public function create_CancelDate($canceldate)
38
+        {
39
+                if (isset($this->CancelDate)) return;
40 40
 		
41
-		$this->CancelDate = self::createElement('CancelDate', $canceldate);
42
-		$this->Response->appendChild($this->CancelDate);
43
-	}
41
+                $this->CancelDate = self::createElement('CancelDate', $canceldate);
42
+                $this->Response->appendChild($this->CancelDate);
43
+        }
44 44
 }
Please login to merge, or discard this patch.
src/Provider31/Response/Payment.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -15,30 +15,30 @@
 block discarded – undo
15 15
 
16 16
 final class Payment extends Response
17 17
 {
18
-	/**
18
+        /**
19 19
          *      Payment constructor
20 20
          *
21 21
          *      @param string $paymentid
22 22
          */
23
-	function __construct($paymentid) {
24
-		parent::__construct();
23
+        function __construct($paymentid) {
24
+                parent::__construct();
25 25
 		
26
-		$this->setElementValue('StatusCode', 0);
27
-		$this->setElementValue('StatusDetail', 'checked');
26
+                $this->setElementValue('StatusCode', 0);
27
+                $this->setElementValue('StatusDetail', 'checked');
28 28
 		
29
-		$this->create_PaymentId($paymentid);
30
-	}
29
+                $this->create_PaymentId($paymentid);
30
+        }
31 31
 	
32
-	/**
32
+        /**
33 33
          *      Create PaymentId node
34 34
          *
35 35
          *      @param string $paymentid
36 36
          */
37
-	public function create_PaymentId($paymentid)
38
-	{
39
-		if (isset($this->PaymentId)) return;
37
+        public function create_PaymentId($paymentid)
38
+        {
39
+                if (isset($this->PaymentId)) return;
40 40
 		
41
-		$this->PaymentId = self::createElement('PaymentId', $paymentid);
42
-		$this->Response->appendChild($this->PaymentId);
43
-	}
41
+                $this->PaymentId = self::createElement('PaymentId', $paymentid);
42
+                $this->Response->appendChild($this->PaymentId);
43
+        }
44 44
 }
Please login to merge, or discard this patch.
src/Provider31/Response/ErrorInfo.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -15,16 +15,16 @@
 block discarded – undo
15 15
 
16 16
 final class ErrorInfo extends Response
17 17
 {
18
-	/**
18
+        /**
19 19
          *      ErrorInfo constructor
20 20
          *
21 21
          *      @param integer $code Error code
22 22
          *      @param string $message Error message text
23 23
          */
24
-	function __construct($code, $message) {
25
-		parent::__construct();
24
+        function __construct($code, $message) {
25
+                parent::__construct();
26 26
 		
27
-		$this->setElementValue('StatusCode', $code);
28
-		$this->setElementValue('StatusDetail', $message);
29
-	}
27
+                $this->setElementValue('StatusCode', $code);
28
+                $this->setElementValue('StatusDetail', $message);
29
+        }
30 30
 }
Please login to merge, or discard this patch.