AuthorizeReferencedResponse   A
last analyzed

Complexity

Total Complexity 4

Size/Duplication

Total Lines 48
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 9
dl 0
loc 48
rs 10
c 0
b 0
f 0
wmc 4

4 Methods

Rating   Name   Duplication   Size   Complexity  
A getPaymentMeans() 0 3 1
A getDcc() 0 3 1
A getTransaction() 0 3 1
A getPayer() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Ticketpark\SaferpayJson\Response\Transaction;
6
7
use JMS\Serializer\Annotation\SerializedName;
8
use JMS\Serializer\Annotation\Type;
9
use Ticketpark\SaferpayJson\Response\Container\Dcc;
10
use Ticketpark\SaferpayJson\Response\Container\Payer;
11
use Ticketpark\SaferpayJson\Response\Container\PaymentMeans;
12
use Ticketpark\SaferpayJson\Response\Container\Transaction;
13
use Ticketpark\SaferpayJson\Response\Response;
14
15
final class AuthorizeReferencedResponse extends Response
16
{
17
    /**
18
     * @var Transaction|null
19
     * @SerializedName("Transaction")
20
     * @Type("Ticketpark\SaferpayJson\Response\Container\Transaction")
21
     */
22
    private $transaction;
23
24
    /**
25
     * @var PaymentMeans|null
26
     * @SerializedName("PaymentMeans")
27
     * @Type("Ticketpark\SaferpayJson\Response\Container\PaymentMeans")
28
     */
29
    private $paymentMeans;
30
31
    /**
32
     * @var Payer|null
33
     * @SerializedName("Payer")
34
     * @Type("Ticketpark\SaferpayJson\Response\Container\Payer")
35
     */
36
    private $payer;
37
38
    /**
39
     * @var Dcc|null
40
     * @SerializedName("Dcc")
41
     * @Type("Ticketpark\SaferpayJson\Response\Container\Dcc")
42
     */
43
    private $dcc;
44
45
    public function getTransaction(): ?Transaction
46
    {
47
        return $this->transaction;
48
    }
49
50
    public function getPaymentMeans(): ?PaymentMeans
51
    {
52
        return $this->paymentMeans;
53
    }
54
55
    public function getPayer(): ?Payer
56
    {
57
        return $this->payer;
58
    }
59
60
    public function getDcc(): ?Dcc
61
    {
62
        return $this->dcc;
63
    }
64
}
65