AliasUpdateResponse   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 24
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 5
dl 0
loc 24
rs 10
c 1
b 0
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
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\PaymentMeans;
11
use Ticketpark\SaferpayJson\Response\Response;
12
13
final class AliasUpdateResponse extends Response
14
{
15
    /**
16
     * @var Alias|null
17
     * @SerializedName("Alias")
18
     * @Type("Ticketpark\SaferpayJson\Response\Container\Alias")
19
     */
20
    private $alias;
21
22
    /**
23
     * @var PaymentMeans|null
24
     * @SerializedName("PaymentMeans")
25
     * @Type("Ticketpark\SaferpayJson\Response\Container\PaymentMeans")
26
     */
27
    private $paymentMeans;
28
29
    public function getAlias(): ?Alias
30
    {
31
        return $this->alias;
32
    }
33
34
    public function getPaymentMeans(): ?PaymentMeans
35
    {
36
        return $this->paymentMeans;
37
    }
38
}
39