Liability::getLiableEntity()   A
last analyzed

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
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