NotificationRequest::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 Notification Request.
16
 * 
17
 * https://www.interkassa.com/documentation-sci/#sci-pay-notify
18
 */
19
class NotificationRequest extends AbstractRequest
20
{
21
	/**
22
	 * Send the request with specified data.
23
	 *
24
	 * @param mixed $data The data to send
25
	 *
26
	 * @return NotificationResponse
27
	 */
28
	public function sendData( $data )
29
	{
30
		return $this->response = new NotificationResponse( $this, $data );
31
	}
32
33
}
34