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

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