Payer::getIpLocation()   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
10
final class Payer
11
{
12
    /**
13
     * @var string|null
14
     * @SerializedName("Id")
15
     */
16
    private $id;
17
18
    /**
19
     * @var string|null
20
     * @SerializedName("IpAddress")
21
     * @Type("string")
22
     */
23
    private $ipAddress;
24
25
    /**
26
     * @var string|null
27
     * @SerializedName("IpLocation")
28
     * @Type("string")
29
     */
30
    private $ipLocation;
31
32
    /**
33
     * @var Address|null
34
     * @SerializedName("DeliveryAddress")
35
     * @Type("Ticketpark\SaferpayJson\Response\Container\Address")
36
     */
37
    private $deliveryAddress;
38
39
    /**
40
     * @var Address|null
41
     * @SerializedName("BillingAddress")
42
     * @Type("Ticketpark\SaferpayJson\Response\Container\Address")
43
     */
44
    private $billingAddress;
45
46
    public function getId(): ?string
47
    {
48
        return $this->id;
49
    }
50
51
    public function getIpAddress(): ?string
52
    {
53
        return $this->ipAddress;
54
    }
55
56
    public function getIpLocation(): ?string
57
    {
58
        return $this->ipLocation;
59
    }
60
61
    public function getDeliveryAddress(): ?Address
62
    {
63
        return $this->deliveryAddress;
64
    }
65
66
    public function getBillingAddress(): ?Address
67
    {
68
        return $this->billingAddress;
69
    }
70
}
71