Liability   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 isLiabilityShift() 0 3 1
A getLiableEntity() 0 3 1
A getThreeDs() 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 Liability
11
{
12
    /**
13
     * @var bool|null
14
     * @SerializedName("LiabilityShift")
15
     * @Type("boolean")
16
     */
17
    private $liabilityShift;
18
19
    /**
20
     * @var string|null
21
     * @SerializedName("LiableEntity")
22
     * @Type("string")
23
     */
24
    private $liableEntity;
25
26
    /**
27
     * @var ThreeDs|null
28
     * @SerializedName("ThreeDs")
29
     * @Type("Ticketpark\SaferpayJson\Response\Container\ThreeDs")
30
     */
31
    private $threeDs;
32
33
    public function isLiabilityShift(): ?bool
34
    {
35
        return $this->liabilityShift;
36
    }
37
38
    public function getLiableEntity(): ?string
39
    {
40
        return $this->liableEntity;
41
    }
42
43
    public function getThreeDs(): ?ThreeDs
44
    {
45
        return $this->threeDs;
46
    }
47
}
48