ThreeDs   A
last analyzed

Complexity

Total Complexity 4

Size/Duplication

Total Lines 48
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 9
dl 0
loc 48
rs 10
c 0
b 0
f 0
wmc 4

4 Methods

Rating   Name   Duplication   Size   Complexity  
A isLiabilityShift() 0 3 1
A getVerificationValue() 0 3 1
A isAuthenticated() 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 ThreeDs
11
{
12
    /**
13
     * @var bool|null
14
     * @SerializedName("Authenticated")
15
     * @Type("boolean")
16
     */
17
    private $authenticated;
18
19
    /**
20
     * @var bool|null
21
     * @SerializedName("LiabilityShift")
22
     * @Type("boolean")
23
     */
24
    private $liabilityShift;
25
26
    /**
27
     * @var string|null
28
     * @SerializedName("Xid")
29
     * @Type("string")
30
     */
31
    private $xid;
32
33
    /**
34
     * @var string|null
35
     * @SerializedName("VerificationValue")
36
     * @Type("string")
37
     */
38
    private $verificationValue;
39
40
    public function isAuthenticated(): ?bool
41
    {
42
        return $this->authenticated;
43
    }
44
45
    public function isLiabilityShift(): ?bool
46
    {
47
        return $this->liabilityShift;
48
    }
49
50
    public function getXid(): ?string
51
    {
52
        return $this->xid;
53
    }
54
55
    public function getVerificationValue(): ?string
56
    {
57
        return $this->verificationValue;
58
    }
59
}
60