Completed
Push — master ( 5addfc...31be61 )
by Manuel
03:09
created

MastercardIssuerInstallments::getCustomPlan()   A

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