1 | <?php |
||
15 | class Currency extends Base |
||
16 | { |
||
17 | /** |
||
18 | * @var int |
||
19 | */ |
||
20 | protected $id; |
||
21 | /** |
||
22 | * @var string |
||
23 | */ |
||
24 | protected $currency; |
||
25 | /** |
||
26 | * @var string |
||
27 | */ |
||
28 | protected $name; |
||
29 | /** |
||
30 | * @var bool |
||
31 | */ |
||
32 | protected $default; |
||
33 | /** |
||
34 | * @var float |
||
35 | */ |
||
36 | protected $factor; |
||
37 | /** |
||
38 | * @var string |
||
39 | */ |
||
40 | protected $symbol; |
||
41 | /** |
||
42 | * @var int |
||
43 | */ |
||
44 | protected $symbolPosition; |
||
45 | /** |
||
46 | * @var int |
||
47 | */ |
||
48 | protected $position; |
||
49 | |||
50 | /** |
||
51 | * @return int |
||
52 | */ |
||
53 | public function getId() |
||
57 | |||
58 | /** |
||
59 | * @param int $id |
||
60 | * |
||
61 | * @return Currency |
||
62 | */ |
||
63 | public function setId($id) |
||
69 | |||
70 | /** |
||
71 | * @return string |
||
72 | */ |
||
73 | public function getCurrency() |
||
77 | |||
78 | /** |
||
79 | * @param string $currency |
||
80 | * |
||
81 | * @return Currency |
||
82 | */ |
||
83 | public function setCurrency($currency) |
||
89 | |||
90 | /** |
||
91 | * @return string |
||
92 | */ |
||
93 | public function getName() |
||
97 | |||
98 | /** |
||
99 | * @param string $name |
||
100 | * |
||
101 | * @return Currency |
||
102 | */ |
||
103 | public function setName($name) |
||
109 | |||
110 | /** |
||
111 | * @return bool |
||
112 | */ |
||
113 | public function isDefault() |
||
117 | |||
118 | /** |
||
119 | * @param bool $default |
||
120 | * |
||
121 | * @return Currency |
||
122 | */ |
||
123 | public function setDefault($default) |
||
129 | |||
130 | /** |
||
131 | * @return float |
||
132 | */ |
||
133 | public function getFactor() |
||
137 | |||
138 | /** |
||
139 | * @param float $factor |
||
140 | * |
||
141 | * @return Currency |
||
142 | */ |
||
143 | public function setFactor($factor) |
||
149 | |||
150 | /** |
||
151 | * @return string |
||
152 | */ |
||
153 | public function getSymbol() |
||
157 | |||
158 | /** |
||
159 | * @param string $symbol |
||
160 | * |
||
161 | * @return Currency |
||
162 | */ |
||
163 | public function setSymbol($symbol) |
||
169 | |||
170 | /** |
||
171 | * @return int |
||
172 | */ |
||
173 | public function getSymbolPosition() |
||
177 | |||
178 | /** |
||
179 | * @param int $symbolPosition |
||
180 | * |
||
181 | * @return Currency |
||
182 | */ |
||
183 | public function setSymbolPosition($symbolPosition) |
||
189 | |||
190 | /** |
||
191 | * @return int |
||
192 | */ |
||
193 | public function getPosition() |
||
197 | |||
198 | /** |
||
199 | * @param int $position |
||
200 | * |
||
201 | * @return Currency |
||
202 | */ |
||
203 | public function setPosition($position) |
||
209 | } |
||
210 |