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

AliasInsertDirectResponse::getAlias()   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\SecureCardData;
4
5
use JMS\Serializer\Annotation\SerializedName;
6
use JMS\Serializer\Annotation\Type;
7
use Ticketpark\SaferpayJson\Response\Container\Alias;
8
use Ticketpark\SaferpayJson\Response\Container\CheckResult;
9
use Ticketpark\SaferpayJson\Response\Container\PaymentMeans;
10
use Ticketpark\SaferpayJson\Response\Response;
11
12
final class AliasInsertDirectResponse extends Response
13
{
14
    /**
15
     * @var Alias|null
16
     * @SerializedName("Alias")
17
     * @Type("Ticketpark\SaferpayJson\Response\Container\Alias")
18
     */
19
    private $alias;
20
21
    /**
22
     * @var PaymentMeans|null
23
     * @SerializedName("PaymentMeans")
24
     * @Type("Ticketpark\SaferpayJson\Response\Container\PaymentMeans")
25
     */
26
    private $paymentMeans;
27
28
    /**
29
     * @var CheckResult|null
30
     * @SerializedName("CheckResult")
31
     * @Type("Ticketpark\SaferpayJson\Response\Container\CheckResult")
32
     */
33
    private $checkResult;
34
35
    public function getAlias(): ?Alias
36
    {
37
        return $this->alias;
38
    }
39
40
    public function getPaymentMeans(): ?PaymentMeans
41
    {
42
        return $this->paymentMeans;
43
    }
44
45
    public function getCheckResult(): ?CheckResult
46
    {
47
        return $this->checkResult;
48
    }
49
}
50