CheckResult::getMessage()   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 CheckResult
11
{
12
    /**
13
     * @var string|null
14
     * @SerializedName("Result")
15
     * @Type("string")
16
     */
17
    private $result;
18
19
    /**
20
     * @var string|null
21
     * @SerializedName("Message")
22
     * @Type("string")
23
     */
24
    private $message;
25
26
    /**
27
     * @var HolderAuthentication|null
28
     * @SerializedName("Authentication")
29
     * @Type("Ticketpark\SaferpayJson\Response\Container\HolderAuthentication")
30
     */
31
    private $authentication;
32
33
    public function getResult(): ?string
34
    {
35
        return $this->result;
36
    }
37
38
    public function getMessage(): ?string
39
    {
40
        return $this->message;
41
    }
42
43
    public function getAuthentication(): ?HolderAuthentication
44
    {
45
        return $this->authentication;
46
    }
47
}
48