| Total Complexity | 4 |
| Total Lines | 48 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 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 |
||
| 56 | } |
||
| 57 | } |
||
| 58 |