Price::getValue()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
crap 1
1
<?php
2
3
namespace Yandex\Market\Content\Models\Base;
4
5
use Yandex\Common\Model;
6
7
class Price extends Model
8
{
9
    protected $currencyName = null;
10
11
    protected $currencyCode = null;
12
13
    protected $discount = null;
14
15
    protected $base = null;
16
17
    protected $value = null;
18
19
    /**
20
     * Retrieve the currencyName property
21
     *
22
     * @return string|null
23
     */
24 9
    public function getCurrencyName()
25
    {
26 9
        return $this->currencyName;
27
    }
28
29
    /**
30
     * Retrieve the currencyCode property
31
     *
32
     * @return string|null
33
     */
34 9
    public function getCurrencyCode()
35
    {
36 9
        return $this->currencyCode;
37
    }
38
39
    /**
40
     * Retrieve the discount property
41
     *
42
     * @return string|null
43
     */
44
    public function getDiscount()
45
    {
46
        return $this->discount;
47
    }
48
49
    /**
50
     * Retrieve the base property
51
     *
52
     * @return string|null
53
     */
54
    public function getBase()
55
    {
56
        return $this->base;
57
    }
58
59
    /**
60
     * Retrieve the base property
61
     *
62
     * @return string|null
63
     */
64 5
    public function getValue()
65
    {
66 5
        return $this->value;
67
    }
68
}
69