Test Failed
Pull Request — master (#12)
by
unknown
05:03
created

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