RefundResponse   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 36
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 7
dl 0
loc 36
rs 10
c 1
b 0
f 0
wmc 3

3 Methods

Rating   Name   Duplication   Size   Complexity  
A getDcc() 0 3 1
A getTransaction() 0 3 1
A getPaymentMeans() 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\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