Completed
Pull Request — master (#1)
by Mathew
02:16
created

Address   A

Complexity

Total Complexity 7

Size/Duplication

Total Lines 128
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 7
c 1
b 0
f 1
lcom 0
cbo 0
dl 0
loc 128
rs 10

7 Methods

Rating   Name   Duplication   Size   Complexity  
A getAddress() 0 4 1
A getCity() 0 4 1
A getCountry() 0 4 1
A getLat() 0 4 1
A getLon() 0 4 1
A getPostCode() 0 4 1
A getRegion() 0 4 1
1
<?php
2
3
namespace Thepixeldeveloper\Mondo\Response\Merchant;
4
5
use JMS\Serializer\Annotation as JMS;
6
7
/**
8
 * Class Address
9
 *
10
 * @package Thepixeldeveloper\Mondo\Response\Merchant
11
 */
12
class Address
13
{
14
    /**
15
     * Address.
16
     *
17
     * @var string
18
     * @JMS\Type("string")
19
     */
20
    protected $address;
21
22
    /**
23
     * City.
24
     *
25
     * @var string
26
     * @JMS\Type("string")
27
     */
28
    protected $city;
29
30
    /**
31
     * Country.
32
     *
33
     * @var string
34
     * @JMS\Type("string")
35
     */
36
    protected $country;
37
38
    /**
39
     * Latitude.
40
     *
41
     * @var string
42
     * @JMS\Type("string")
43
     */
44
    protected $lat;
45
46
    /**
47
     * Longitude.
48
     *
49
     * @var string
50
     * @JMS\Type("string")
51
     */
52
    protected $lon;
53
54
    /**
55
     * Post code.
56
     *
57
     * @var string
58
     * @JMS\Type("string")
59
     */
60
    protected $postCode;
61
62
    /**
63
     * Region.
64
     *
65
     * @var string
66
     * @JMS\Type("string")
67
     */
68
    protected $region;
69
70
    /**
71
     * Address.
72
     *
73
     * @return string
74
     */
75
    public function getAddress()
76
    {
77
        return $this->address;
78
    }
79
80
    /**
81
     * City.
82
     *
83
     * @return string
84
     */
85
    public function getCity()
86
    {
87
        return $this->city;
88
    }
89
90
    /**
91
     * Country.
92
     *
93
     * @return string
94
     */
95
    public function getCountry()
96
    {
97
        return $this->country;
98
    }
99
100
    /**
101
     * Latitude.
102
     *
103
     * @return string
104
     */
105
    public function getLat()
106
    {
107
        return $this->lat;
108
    }
109
110
    /**
111
     * Longitude.
112
     *
113
     * @return string
114
     */
115
    public function getLon()
116
    {
117
        return $this->lon;
118
    }
119
120
    /**
121
     * Post code.
122
     *
123
     * @return string
124
     */
125
    public function getPostCode()
126
    {
127
        return $this->postCode;
128
    }
129
130
    /**
131
     * Region.
132
     * 
133
     * @return string
134
     */
135
    public function getRegion()
136
    {
137
        return $this->region;
138
    }
139
}
140