HolderAuthentication   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 39
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 9
dl 0
loc 39
rs 10
c 0
b 0
f 0
wmc 3

3 Methods

Rating   Name   Duplication   Size   Complexity  
A getResult() 0 3 1
A getMessage() 0 3 1
A getXid() 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 HolderAuthentication
11
{
12
    public const RESULT_OK = 'OK';
13
    public const RESULT_NOT_SUPPORTED = 'NOT_SUPPORTED';
14
15
    /**
16
     * @var string|null
17
     * @SerializedName("Result")
18
     * @Type("string")
19
     */
20
    private $result;
21
22
    /**
23
     * @var string|null
24
     * @SerializedName("Message")
25
     * @Type("string")
26
     */
27
    private $message;
28
29
    /**
30
     * @var string|null
31
     * @SerializedName("Xid")
32
     * @Type("string")
33
     */
34
    private $xid;
35
36
    public function getResult(): ?string
37
    {
38
        return $this->result;
39
    }
40
41
    public function getMessage(): ?string
42
    {
43
        return $this->message;
44
    }
45
46
    public function getXid(): ?string
47
    {
48
        return $this->xid;
49
    }
50
}
51