MastercardIssuerInstallments   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 5
dl 0
loc 19
rs 10
c 1
b 0
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getChosenPlan() 0 3 1
A setChosenPlan() 0 5 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Ticketpark\SaferpayJson\Request\Container;
6
7
use JMS\Serializer\Annotation\SerializedName;
8
use JMS\Serializer\Annotation\Type;
9
10
final class MastercardIssuerInstallments
11
{
12
    /**
13
     * @var ChosenPlan|null
14
     * @SerializedName("ChosenPlan")
15
     * @Type("array")
16
     */
17
    private $chosenPlan;
18
19
    public function getChosenPlan(): ?ChosenPlan
20
    {
21
        return $this->chosenPlan;
22
    }
23
24
    public function setChosenPlan(?ChosenPlan $chosenPlan): self
25
    {
26
        $this->chosenPlan = $chosenPlan;
27
28
        return $this;
29
    }
30
}
31