MastercardIssuerInstallments::getCustomPlan()   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
10
final class MastercardIssuerInstallments
11
{
12
    /**
13
     * @var array<InstallmentPlan>|null
14
     * @SerializedName("InstallmentPlans")
15
     * @Type("array")
16
     */
17
    private $installmentPlans;
18
19
    /**
20
     * @var CustomPlan|null
21
     * @SerializedName("CustomPlan")
22
     * @Type("Ticketpark\SaferpayJson\Response\Container\CustomPlan")
23
     */
24
    private $customPlan;
25
26
    /**
27
     * @var string|null
28
     * @SerializedName("ReceiptFreeText")
29
     * @Type("string")
30
     */
31
    private $receiptFreeText;
32
33
    /**
34
     * @var ChosenPlan|null
35
     * @SerializedName("ChosenPlan")
36
     * @Type("array")
37
     */
38
    private $chosenPlan;
39
40
    public function getInstallmentPlans(): ?array
41
    {
42
        return $this->installmentPlans;
43
    }
44
45
    public function getCustomPlan(): ?CustomPlan
46
    {
47
        return $this->customPlan;
48
    }
49
50
    public function getReceiptFreeText(): ?string
51
    {
52
        return $this->receiptFreeText;
53
    }
54
55
    public function getChosenPlan(): ?ChosenPlan
56
    {
57
        return $this->chosenPlan;
58
    }
59
}
60