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