RefundResponse::getTransaction()   A
last analyzed

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
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\PaymentMeans;
11
use Ticketpark\SaferpayJson\Response\Container\Transaction;
12
use Ticketpark\SaferpayJson\Response\Response;
13
14
final class RefundResponse extends Response
15
{
16
    /**
17
     * @var Transaction|null
18
     * @SerializedName("Transaction")
19
     * @Type("Ticketpark\SaferpayJson\Response\Container\Transaction")
20
     */
21
    private $transaction;
22
23
    /**
24
     * @var PaymentMeans|null
25
     * @SerializedName("PaymentMeans")
26
     * @Type("Ticketpark\SaferpayJson\Response\Container\PaymentMeans")
27
     */
28
    private $paymentMeans;
29
30
    /**
31
     * @var Dcc|null
32
     * @SerializedName("Dcc")
33
     * @Type("Ticketpark\SaferpayJson\Response\Container\Dcc")
34
     */
35
    private $dcc;
36
37
    public function getTransaction(): ?Transaction
38
    {
39
        return $this->transaction;
40
    }
41
42
    public function getPaymentMeans(): ?PaymentMeans
43
    {
44
        return $this->paymentMeans;
45
    }
46
47
    public function getDcc(): ?Dcc
48
    {
49
        return $this->dcc;
50
    }
51
}
52