Total Complexity | 4 |
Total Lines | 51 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
14 | class AskBidModel |
||
15 | { |
||
16 | /** |
||
17 | * @var float |
||
18 | */ |
||
19 | private $price; |
||
20 | /** |
||
21 | * @var float |
||
22 | */ |
||
23 | private $wholeLotVolume; |
||
24 | /** |
||
25 | * @var float |
||
26 | */ |
||
27 | private $lotVolume; |
||
28 | |||
29 | /** |
||
30 | * AskBidModel constructor. |
||
31 | * |
||
32 | * @param float $price |
||
33 | * @param float $wholeLotVolume |
||
34 | * @param float $lotVolume |
||
35 | */ |
||
36 | public function __construct($price, $wholeLotVolume, $lotVolume) |
||
37 | { |
||
38 | $this->price = $price; |
||
39 | $this->wholeLotVolume = $wholeLotVolume; |
||
40 | $this->lotVolume = $lotVolume; |
||
41 | } |
||
42 | |||
43 | /** |
||
44 | * @return float |
||
45 | */ |
||
46 | public function getPrice() |
||
47 | { |
||
48 | return $this->price; |
||
49 | } |
||
50 | |||
51 | /** |
||
52 | * @return float |
||
53 | */ |
||
54 | public function getWholeLotVolume() |
||
57 | } |
||
58 | |||
59 | /** |
||
60 | * @return float |
||
61 | */ |
||
62 | public function getLotVolume() |
||
67 |