Completed
Push — master ( 98fc75...1c7a02 )
by Rémy
03:43
created

Currency::getSymbolNative()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace XoteliaClient\Model;
4
5
use JMS\Serializer\Annotation as Serializer;
6
7
/**
8
 * @Serializer\ExclusionPolicy("all")
9
 */
10
class Currency
11
{
12
    /**
13
     * @Serializer\Expose()
14
     * @Serializer\Type("string")
15
     *
16
     * @var string
17
     */
18
    protected $symbol;
19
20
    /**
21
     * @Serializer\Expose()
22
     * @Serializer\Type("string")
23
     *
24
     * @var string
25
     */
26
    protected $name;
27
28
    /**
29
     * @Serializer\Expose()
30
     * @Serializer\Type("string")
31
     *
32
     * @var string
33
     */
34
    protected $symbolNative;
35
36
    /**
37
     * @Serializer\Expose()
38
     * @Serializer\Type("integer")
39
     *
40
     * @var int
41
     */
42
    protected $decimalDigits;
43
44
    /**
45
     * @Serializer\Expose()
46
     * @Serializer\Type("integer")
47
     *
48
     * @var int
49
     */
50
    protected $rounding;
51
52
    /**
53
     * @Serializer\Expose()
54
     * @Serializer\Type("string")
55
     *
56
     * @var string
57
     */
58
    protected $code;
59
60
    /**
61
     * @Serializer\Expose()
62
     * @Serializer\Type("string")
63
     *
64
     * @var string
65
     */
66
    protected $namePlural;
67
68
    /**
69
     * @return string
70
     */
71
    public function getSymbol()
72
    {
73
        return $this->symbol;
74
    }
75
76
    /**
77
     * @return string
78
     */
79
    public function getCode()
80
    {
81
        return $this->code;
82
    }
83
84
    /**
85
     * @param $code
86
     *
87
     * @return $this
88
     */
89
    public function setCode($code)
90
    {
91
        $this->code = $code;
92
93
        return $this;
94
    }
95
96
    /**
97
     * @return string
98
     */
99
    public function getSymbolNative()
100
    {
101
        return $this->symbolNative;
102
    }
103
104
    /**
105
     * @return string
106
     */
107
    public function getName()
108
    {
109
        return $this->name;
110
    }
111
}
112