Completed
Push — master ( caad37...82c5ce )
by Dmitriy
06:13
created

DeliveryMethod::getSpeedFrom()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 4
ccs 0
cts 2
cp 0
rs 10
cc 1
eloc 2
nc 1
nop 0
crap 2
1
<?php
2
3
namespace Yandex\Market\Content\Models;
4
5
use Yandex\Common\Model;
6
7
class DeliveryMethod extends Model
8
{
9
    protected $serviceName = null;
10
11
    protected $priceCurrency = null;
12
13
    protected $priceValue = null;
14
15
    protected $speedFrom = null;
16
17
    protected $speedTo = null;
18
19
    protected $propNameMap = [
20
        'price' => 'priceValue',
21
    ];
22
23
    /**
24
     * Retrieve the serviceName property
25
     *
26
     * @return string|null
27
     */
28 3
    public function getServiceName()
29
    {
30 3
        return $this->serviceName;
31
    }
32
33
    /**
34
     * Retrieve the priceCurrency property
35
     *
36
     * @return string|null
37
     */
38
    public function getPriceCurrency()
39
    {
40
        return $this->priceCurrency;
41
    }
42
43
    /**
44
     * Retrieve the priceValue property
45
     *
46
     * @return int|null
47
     */
48
    public function getPriceValue()
49
    {
50
        return $this->priceValue;
51
    }
52
53
    /**
54
     * Retrieve the speedFrom property
55
     *
56
     * @return int|null
57
     */
58
    public function getSpeedFrom()
59
    {
60
        return $this->speedFrom;
61
    }
62
63
    /**
64
     * Retrieve the speedTo property
65
     *
66
     * @return int|null
67
     */
68
    public function getSpeedTo()
69
    {
70
        return $this->speedTo;
71
    }
72
}
73