1 | <?php |
||
7 | class Prices extends Price |
||
8 | { |
||
9 | protected $max = null; |
||
10 | |||
11 | protected $min = null; |
||
12 | |||
13 | protected $avg = null; |
||
14 | |||
15 | protected $propNameMap = [ |
||
16 | 'curCode' => 'currencyCode', |
||
17 | 'curName' => 'currencyName' |
||
18 | ]; |
||
19 | |||
20 | /** |
||
21 | * Constructor |
||
22 | * |
||
23 | * @param array $data |
||
24 | */ |
||
25 | 6 | public function __construct($data = array()) |
|
31 | |||
32 | /** |
||
33 | * Retrieve the max property |
||
34 | * |
||
35 | * @return float|null |
||
36 | */ |
||
37 | 6 | public function getMax() |
|
41 | |||
42 | /** |
||
43 | * Retrieve the min property |
||
44 | * |
||
45 | * @return float|null |
||
46 | */ |
||
47 | 6 | public function getMin() |
|
51 | |||
52 | /** |
||
53 | * Retrieve the avg property |
||
54 | * |
||
55 | * @return float|null |
||
56 | */ |
||
57 | 5 | public function getAvg() |
|
61 | } |
||
62 |