CompletePurchaseRequest::sendData()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 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