Passed
Push — master ( 1aa207...da253c )
by Manuel
03:24
created

Payer::getDeliveryAddress()   A

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