Contact::getSuburb()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
namespace CultureKings\Afterpay\Model\Merchant;
3
4
/**
5
 * Class Contact
6
 *
7
 * @package CultureKings\Afterpay\Model\Merchant
8
 */
9
class Contact
10
{
11
    /**
12
     * @var string
13
     */
14
    protected $name;
15
    /**
16
     * @var string
17
     */
18
    protected $line1;
19
    /**
20
     * @var string
21
     */
22
    protected $line2;
23
    /**
24
     * @var string
25
     */
26
    protected $suburb;
27
    /**
28
     * @var string
29
     */
30
    protected $state;
31
    /**
32
     * @var string
33
     */
34
    protected $postcode;
35
    /**
36
     * @var string
37
     */
38
    protected $countryCode;
39
    /**
40
     * @var string
41
     */
42
    protected $phoneNumber;
43
44
    /**
45
     * @return string
46
     */
47
    public function getName()
48
    {
49
        return $this->name;
50
    }
51
52
    /**
53
     * @return string
54
     */
55
    public function getLine1()
56
    {
57
        return $this->line1;
58
    }
59
60
    /**
61
     * @return string
62
     */
63
    public function getLine2()
64
    {
65
        return $this->line2;
66
    }
67
68
    /**
69
     * @return string
70
     */
71
    public function getSuburb()
72
    {
73
        return $this->suburb;
74
    }
75
76
    /**
77
     * @return string
78
     */
79
    public function getState()
80
    {
81
        return $this->state;
82
    }
83
84
    /**
85
     * @return string
86
     */
87
    public function getPostcode()
88
    {
89
        return $this->postcode;
90
    }
91
92
    /**
93
     * @return string
94
     */
95
    public function getCountryCode()
96
    {
97
        return $this->countryCode;
98
    }
99
100
    /**
101
     * @return string
102
     */
103
    public function getPhoneNumber()
104
    {
105
        return $this->phoneNumber;
106
    }
107
108
    /**
109
     * @param string $name
110
     * @return $this
111
     */
112
    public function setName($name)
113
    {
114
        $this->name = $name;
115
116
        return $this;
117
    }
118
119
    /**
120
     * @param string $line1
121
     * @return $this
122
     */
123
    public function setLine1($line1)
124
    {
125
        $this->line1 = $line1;
126
127
        return $this;
128
    }
129
130
    /**
131
     * @param string $line2
132
     * @return $this
133
     */
134
    public function setLine2($line2)
135
    {
136
        $this->line2 = $line2;
137
138
        return $this;
139
    }
140
141
    /**
142
     * @param string $suburb
143
     * @return $this
144
     */
145
    public function setSuburb($suburb)
146
    {
147
        $this->suburb = $suburb;
148
149
        return $this;
150
    }
151
152
    /**
153
     * @param string $state
154
     * @return $this
155
     */
156
    public function setState($state)
157
    {
158
        $this->state = $state;
159
160
        return $this;
161
    }
162
163
    /**
164
     * @param string $postcode
165
     * @return $this
166
     */
167
    public function setPostcode($postcode)
168
    {
169
        $this->postcode = $postcode;
170
171
        return $this;
172
    }
173
174
    /**
175
     * @param string $countryCode
176
     * @return $this
177
     */
178
    public function setCountryCode($countryCode)
179
    {
180
        $this->countryCode = $countryCode;
181
182
        return $this;
183
    }
184
185
    /**
186
     * @param string $phoneNumber
187
     * @return $this
188
     */
189
    public function setPhoneNumber($phoneNumber)
190
    {
191
        $this->phoneNumber = $phoneNumber;
192
193
        return $this;
194
    }
195
}
196