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

HolderAuthentication::getMessage()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
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 HolderAuthentication
9
{
10
    const RESULT_OK = 'OK';
11
    const RESULT_NOT_SUPPORTED = 'NOT_SUPPORTED';
12
13
    /**
14
     * @var string|null
15
     * @SerializedName("Result")
16
     * @Type("string")
17
     */
18
    private $result;
19
20
    /**
21
     * @var string|null
22
     * @SerializedName("Message")
23
     * @Type("string")
24
     */
25
    private $message;
26
27
    /**
28
     * @var string|null
29
     * @SerializedName("Xid")
30
     * @Type("string")
31
     */
32
    private $xid;
33
34
    public function getResult(): ?string
35
    {
36
        return $this->result;
37
    }
38
39
    public function getMessage(): ?string
40
    {
41
        return $this->message;
42
    }
43
44
    public function getXid(): ?string
45
    {
46
        return $this->xid;
47
    }
48
}
49