CheckResult   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 36
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 7
dl 0
loc 36
rs 10
c 0
b 0
f 0
wmc 3

3 Methods

Rating   Name   Duplication   Size   Complexity  
A getResult() 0 3 1
A getAuthentication() 0 3 1
A getMessage() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Ticketpark\SaferpayJson\Response\Container;
6
7
use JMS\Serializer\Annotation\SerializedName;
8
use JMS\Serializer\Annotation\Type;
9
10
final class CheckResult
11
{
12
    /**
13
     * @var string|null
14
     * @SerializedName("Result")
15
     * @Type("string")
16
     */
17
    private $result;
18
19
    /**
20
     * @var string|null
21
     * @SerializedName("Message")
22
     * @Type("string")
23
     */
24
    private $message;
25
26
    /**
27
     * @var HolderAuthentication|null
28
     * @SerializedName("Authentication")
29
     * @Type("Ticketpark\SaferpayJson\Response\Container\HolderAuthentication")
30
     */
31
    private $authentication;
32
33
    public function getResult(): ?string
34
    {
35
        return $this->result;
36
    }
37
38
    public function getMessage(): ?string
39
    {
40
        return $this->message;
41
    }
42
43
    public function getAuthentication(): ?HolderAuthentication
44
    {
45
        return $this->authentication;
46
    }
47
}
48