RetrievePaymentResponse   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
eloc 2
c 1
b 0
f 0
dl 0
loc 8
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A setResult() 0 3 1
1
<?php
2
3
/**
4
 * PHP version 5.4 and 8
5
 *
6
 * @category  ResponseEntity
7
 * @package   Payever\Payments
8
 * @author    payever GmbH <[email protected]>
9
 * @author    Andrey Puhovsky <[email protected]>
10
 * @copyright 2017-2021 payever GmbH
11
 * @license   MIT <https://opensource.org/licenses/MIT>
12
 * @link      https://docs.payever.org/shopsystems/api/getting-started
13
 */
14
15
namespace Payever\ExternalIntegration\Payments\Http\ResponseEntity;
16
17
use Payever\ExternalIntegration\Core\Http\ResponseEntity;
18
use Payever\ExternalIntegration\Payments\Http\MessageEntity\RetrievePaymentResultEntity;
19
20
/**
21
 * This class represents Retrieve Payment ResponseInterface Entity
22
 */
23
class RetrievePaymentResponse extends ResponseEntity
24
{
25
    /**
26
     * {@inheritdoc}
27
     */
28
    public function setResult($result)
29
    {
30
        $this->result = new RetrievePaymentResultEntity($result);
31
    }
32
}
33