Passed
Push — master ( 5addfc...e8c424 )
by Manuel
59s queued 11s
created

CheckResult   A

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