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

AliasInsertDirectResponse   A

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 getPaymentMeans() 0 3 1
A getAlias() 0 3 1
A getCheckResult() 0 3 1
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