CompletePurchaseRequest   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 2

Importance

Changes 0
Metric Value
wmc 1
lcom 1
cbo 2
dl 0
loc 16
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A sendData() 0 4 1
1
<?php
2
3
/**
4
 * InterKassa driver for the Omnipay PHP payment processing library
5
 *
6
 * @link      https://github.com/ange007/omnipay-interkassa
7
 * @package   omnipay-interkassa
8
 * @license   MIT
9
 * @copyright Copyright (c) 2017, ange007 ( original author: HiQDev - http://hiqdev.com/ )
10
 */
11
12
namespace Omnipay\InterKassa\Message;
13
14
/**
15
 * InterKassa Complete Purchase Request.
16
 * 
17
 * https://www.interkassa.com/documentation-sci/#sci-page-return
18
 */
19
class CompletePurchaseRequest extends AbstractRequest
20
{
21
22
	/**
23
	 * Send the request with specified data.
24
	 *
25
	 * @param mixed $data The data to send
26
	 *
27
	 * @return CompletePurchaseResponse
28
	 */
29
	public function sendData( $data )
30
	{
31
		return $this->response = new CompletePurchaseResponse( $this, $data );
32
	}
33
34
}
35