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