1: <?php
2:
3: namespace Genetsis\core\activityid;
4:
5: /**
6: * This class stores the Full Address for a Localization
7: * This class stores the full address for use in an ActivityID geo-positioned requests
8: *
9: * @package Genetsis
10: * @category Bean
11: * @version 2.0
12: */
13: class Address
14: {
15: /** @var string Formatted address */
16: private $formatted = null;
17: /** @var string Location Street Address */
18: private $street = null;
19: /** @var string Location Address Locality */
20: private $locality = null;
21: /** @var string Location Address Region */
22: private $region = null;
23: /** @var string Location Address Postal Code */
24: private $postal_code = null;
25: /** @var string Location Address Country */
26: private $country = null;
27:
28: /**
29: * @return string
30: */
31: public function getCountry()
32: {
33: return $this->country;
34: }
35:
36: /**
37: * @param string $country
38: */
39: public function setCountry($country)
40: {
41: $this->country = $country;
42: }
43:
44: /**
45: * @return null
46: */
47: public function getFormatted()
48: {
49: return $this->formatted;
50: }
51:
52: /**
53: * @param null $formatted
54: */
55: public function setFormatted($formatted)
56: {
57: $this->formatted = $formatted;
58: }
59:
60: /**
61: * @return string
62: */
63: public function getLocality()
64: {
65: return $this->locality;
66: }
67:
68: /**
69: * @param string $locality
70: */
71: public function setLocality($locality)
72: {
73: $this->locality = $locality;
74: }
75:
76: /**
77: * @return string
78: */
79: public function getPostalCode()
80: {
81: return $this->postal_code;
82: }
83:
84: /**
85: * @param string $postal_code
86: */
87: public function setPostalCode($postal_code)
88: {
89: $this->postal_code = $postal_code;
90: }
91:
92: /**
93: * @return string
94: */
95: public function getRegion()
96: {
97: return $this->region;
98: }
99:
100: /**
101: * @param string $region
102: */
103: public function setRegion($region)
104: {
105: $this->region = $region;
106: }
107:
108: /**
109: * @return string
110: */
111: public function getStreet()
112: {
113: return $this->street;
114: }
115:
116: /**
117: * @param string $street
118: */
119: public function setStreet($street)
120: {
121: $this->street = $street;
122: }
123:
124:
125: }