Test Failed
Pull Request — master (#12)
by
unknown
06:46
created

Address::getAddressLine3()   A

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
3
namespace Cardinity\Method\Payment;
4
5
use Cardinity\Method\ResultObject;
6
7
8
class Address extends ResultObject
9
{
10
    
11
    /** @var string */
12
    private $addressLine1;
13
    
14
    /** @var string */
15
    private $addressLine2;
16
    
17
    /** @var string */
18
    private $addressLine3;
19
    
20
    /** @var string */
21
    private $city;
22
    
23
    /** @var string */
24
    private $country;
25
    
26
    /** @var string */
27
    private $postalCode;
28
    
29
    /** @var string */
30
    private $state;
31
32
33
    /**
34
     * @return STRING of address line 1
35
     */
36
    public function getAddressLine1()
37
    {
38
        return $this->addressLine1;
39
    }
40
41
42
    /**
43
     * @param STRING of address line 1
44
     * @return VOID
45
     */
46
    public function setAddressLine1(string $addressLine1)
47
    {
48
        $this->addressLine1 = $addressLine1;
49
    }
50
51
52
    /**
53
     * @return STRING of address line 2
54
     */
55
    public function getAddressLine2()
56
    {
57
        return $this->addressLine2;
58
    }
59
60
61
    /**
62
     * @param STRING of address line 2
63
     * @return VOID
64
     */
65
    public function setAddressLine2(string $addressLine2)
66
    {
67
        $this->addressLine2 = $addressLine2;
68
    }
69
    
70
71
    /**
72
     * @return STRING of address line 3
73
     */
74
    public function getAddressLine3()
75
    {
76
        return $this->addressLine3;
77
    }
78
79
80
    /**
81
     * @param STRING of address line 3
82
     * @return VOID
83
     */
84
    public function setAddressLine3(string $addressLine3)
85
    {
86
        $this->addressLine3 = $addressLine3;
87
    }
88
89
90
    /**
91
     * @return STRING of city
92
     */
93
    public function getCity()
94
    {
95
        return $this->city;
96
    }
97
98
99
    /**
100
     * @param STRING of city
101
     * @return VOID
102
     */
103
    public function setCity(string $city)
104
    {
105
        $this->city = $city;
106
    }
107
108
109
    /**
110
     * @return STRING of country
111
     */
112
    public function getCountry()
113
    {
114
        return $this->country;
115
    }
116
117
118
    /**
119
     * @param STRING of country
120
     * @return VOID
121
     */
122
    public function setCountry(string $country)
123
    {
124
        $this->country = $country;
125
    }
126
127
    /**
128
     * @return STRING of postal code
129
     */
130
    public function getPostalCode()
131
    {
132
        return $this->postalCode;
133
    }
134
135
136
    /**
137
     * @param STRING of postal code
138
     * @return VOID
139
     */
140
    public function setPostalCode(string $postalCode)
141
    {
142
        $this->postalCode = $postalCode;
143
    }
144
145
146
    /**
147
     * @return STRING of state
148
     */
149
    public function getState()
150
    {
151
        return $this->state;
152
    }
153
154
155
    /**
156
     * @param STRING of state
157
     * @return VOID
158
     */
159
    public function setState(string $state)
160
    {
161
        $this->state = $state;
162
    }
163
}