Address::getLatitude()   A
last analyzed

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
/*
4
 * This file is part of the slince/shopify-api-php
5
 *
6
 * (c) Slince <[email protected]>
7
 *
8
 * This source file is subject to the MIT license that is bundled
9
 * with this source code in the file LICENSE.
10
 */
11
12
namespace Slince\Shopify\Manager\Order;
13
14
use Slince\Shopify\Manager\CustomerAddress\AddressTrait;
15
16
class Address
17
{
18
    use AddressTrait;
19
20
    /**
21
     * @var float
22
     */
23
    protected $latitude;
24
25
    /**
26
     * @var float
27
     */
28
    protected $longitude;
29
30
    /**
31
     * @return float
32
     */
33
    public function getLatitude()
34
    {
35
        return $this->latitude;
36
    }
37
38
    /**
39
     * @param float $latitude
40
     *
41
     * @return Address
42
     */
43
    public function setLatitude($latitude)
44
    {
45
        $this->latitude = $latitude;
46
47
        return $this;
48
    }
49
50
    /**
51
     * @return float
52
     */
53
    public function getLongitude()
54
    {
55
        return $this->longitude;
56
    }
57
58
    /**
59
     * @param float $longitude
60
     *
61
     * @return Address
62
     */
63
    public function setLongitude($longitude)
64
    {
65
        $this->longitude = $longitude;
66
67
        return $this;
68
    }
69
}