1 | <?php |
||
14 | class GeoCoordinates extends StructuredValue |
||
15 | { |
||
16 | /** |
||
17 | * @var string The latitude of a location. For example `37.42242` |
||
18 | ([WGS 84](https://en.wikipedia.org/wiki/World_Geodetic_System)). |
||
19 | */ |
||
20 | protected $latitude; |
||
21 | /** |
||
22 | * @var string The longitude of a location. For example `-122.08585` |
||
23 | ([WGS 84](https://en.wikipedia.org/wiki/World_Geodetic_System)). |
||
24 | */ |
||
25 | protected $longitude; |
||
26 | |||
27 | /** |
||
28 | * Sets latitude. |
||
29 | * |
||
30 | * @param string $latitude |
||
31 | * |
||
32 | * @return $this |
||
33 | */ |
||
34 | 2 | public function setLatitude($latitude) |
|
40 | |||
41 | /** |
||
42 | * Gets latitude. |
||
43 | * |
||
44 | * @return string |
||
45 | */ |
||
46 | 2 | public function getLatitude() |
|
50 | |||
51 | /** |
||
52 | * Sets longitude. |
||
53 | * |
||
54 | * @param string $longitude |
||
55 | * |
||
56 | * @return $this |
||
57 | */ |
||
58 | 2 | public function setLongitude($longitude) |
|
64 | |||
65 | /** |
||
66 | * Gets longitude. |
||
67 | * |
||
68 | * @return string |
||
69 | */ |
||
70 | 2 | public function getLongitude() |
|
74 | } |
||
75 |