Passed
Push — master ( f87cd0...02e408 )
by
unknown
08:57
created

Address::setCountry()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 1
1
<?php
2
/**
3
 * Created by Graham Owens ([email protected])
4
 * Company: PartFire Ltd (www.partfire.co.uk)
5
 * Console: Discovery
6
 *
7
 * User:    gra
8
 * Date:    12/01/17
9
 * Time:    13:41
10
 * Project: fruitful-property-investments
11
 * File:    Address.php
12
 *
13
 **/
14
15
namespace PartFire\MangoPayBundle\Models\DTOs;
16
17
18
class Address
19
{
20
    private $addressLine1;
21
    private $addressLine2;
22
    private $city;
23
    private $region;
24
    private $postalCode;
25
    private $country;
26
27
    /**
28
     * @return mixed
29
     */
30
    public function getAddressLine1()
31
    {
32
        return $this->addressLine1;
33
    }
34
35
    /**
36
     * @param mixed $addressLine1
37
     */
38
    public function setAddressLine1($addressLine1)
39
    {
40
        $this->addressLine1 = $addressLine1;
41
    }
42
43
    /**
44
     * @return mixed
45
     */
46
    public function getAddressLine2()
47
    {
48
        return $this->addressLine2;
49
    }
50
51
    /**
52
     * @param mixed $addressLine2
53
     */
54
    public function setAddressLine2($addressLine2)
55
    {
56
        $this->addressLine2 = $addressLine2;
57
    }
58
59
    /**
60
     * @return mixed
61
     */
62
    public function getCity()
63
    {
64
        return $this->city;
65
    }
66
67
    /**
68
     * @param mixed $city
69
     */
70
    public function setCity($city)
71
    {
72
        $this->city = $city;
73
    }
74
75
    /**
76
     * @return mixed
77
     */
78
    public function getRegion()
79
    {
80
        return $this->region;
81
    }
82
83
    /**
84
     * @param mixed $region
85
     */
86
    public function setRegion($region)
87
    {
88
        $this->region = $region;
89
    }
90
91
    /**
92
     * @return mixed
93
     */
94
    public function getPostalCode()
95
    {
96
        return $this->postalCode;
97
    }
98
99
    /**
100
     * @param mixed $postalCode
101
     */
102
    public function setPostalCode($postalCode)
103
    {
104
        $this->postalCode = $postalCode;
105
    }
106
107
    /**
108
     * @return mixed
109
     */
110
    public function getCountry()
111
    {
112
        return $this->country;
113
    }
114
115
    /**
116
     * @param mixed $country
117
     */
118
    public function setCountry($country)
119
    {
120
        $this->country = $country;
121
    }
122
123
}