PaymentMeans::getCard()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 1
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\BankAccount;
10
use Ticketpark\SaferpayJson\Response\Container\Brand;
11
use Ticketpark\SaferpayJson\Response\Container\Card;
12
13
final class PaymentMeans
14
{
15
    /**
16
     * @var Brand|null
17
     * @SerializedName("Brand")
18
     * @Type("Ticketpark\SaferpayJson\Response\Container\Brand")
19
     */
20
    private $brand;
21
22
    /**
23
     * @var string|null
24
     * @SerializedName("DisplayText")
25
     * @Type("string")
26
     */
27
    private $displayText;
28
29
    /**
30
     * @var string|null
31
     * @SerializedName("Wallet")
32
     * @Type("string")
33
     */
34
    private $wallet;
35
36
    /**
37
     * @var Card|null
38
     * @SerializedName("Card")
39
     * @Type("Ticketpark\SaferpayJson\Response\Container\Card")
40
     */
41
    private $card;
42
43
    /**
44
     * @var BankAccount|null
45
     * @SerializedName("BankAccount")
46
     * @Type("Ticketpark\SaferpayJson\Response\Container\BankAccount")
47
     */
48
    private $bankAccount;
49
50
    /**
51
     * @var Twint|null
52
     * @SerializedName("Twint")
53
     * @Type("Ticketpark\SaferpayJson\Response\Container\Twint")
54
     */
55
    private $twint;
56
57
    public function getBrand(): ?Brand
58
    {
59
        return $this->brand;
60
    }
61
62
    public function getDisplayText(): ?string
63
    {
64
        return $this->displayText;
65
    }
66
67
    public function getWallet(): ?string
68
    {
69
        return $this->wallet;
70
    }
71
72
    public function getCard(): ?Card
73
    {
74
        return $this->card;
75
    }
76
77
    public function getBankAccount(): ?BankAccount
78
    {
79
        return $this->bankAccount;
80
    }
81
82
    public function getTwint(): ?Twint
83
    {
84
        return $this->twint;
85
    }
86
}
87