Invoice::getReasonForTransfer()   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\Container;
6
7
use JMS\Serializer\Annotation\SerializedName;
8
use JMS\Serializer\Annotation\Type;
9
use Ticketpark\SaferpayJson\Response\Container\Payee;
10
11
final class Invoice
12
{
13
    /**
14
     * @var Payee|null
15
     * @SerializedName("Payee")
16
     * @Type("Ticketpark\SaferpayJson\Response\Container\Payee")
17
     */
18
    private $payee;
19
20
    /**
21
     * @var string|null
22
     * @SerializedName("ReasonForTransfer")
23
     * @Type("string")
24
     */
25
    private $reasonForTransfer;
26
27
    /**
28
     * @var string|null
29
     * @SerializedName("DueDate")
30
     * @Type("string")
31
     */
32
    private $dueDate;
33
34
    public function getPayee(): ?Payee
35
    {
36
        return $this->payee;
37
    }
38
39
    public function getReasonForTransfer(): ?string
40
    {
41
        return $this->reasonForTransfer;
42
    }
43
44
    public function getDueDate(): ?string
45
    {
46
        return $this->dueDate;
47
    }
48
}
49