Total Complexity | 4 |
Total Lines | 64 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
19 | class Demand |
||
20 | { |
||
21 | /** |
||
22 | * Example: "0.02000000" |
||
23 | * |
||
24 | * @var float |
||
25 | */ |
||
26 | public $rate; |
||
27 | |||
28 | /** |
||
29 | * Example: "0.00000171" |
||
30 | * |
||
31 | * @var float |
||
32 | */ |
||
33 | public $amount; |
||
34 | |||
35 | /** |
||
36 | * Example: 2 |
||
37 | * |
||
38 | * @var int |
||
39 | */ |
||
40 | public $rangeMin; |
||
41 | |||
42 | /** |
||
43 | * Example: 2 |
||
44 | * |
||
45 | * @var int |
||
46 | */ |
||
47 | public $rangeMax; |
||
48 | |||
49 | /** |
||
50 | * @internal |
||
51 | * @param float $rate |
||
52 | */ |
||
53 | public function setRate(float $rate): void |
||
54 | { |
||
55 | $this->rate = $rate; |
||
56 | } |
||
57 | |||
58 | /** |
||
59 | * @internal |
||
60 | * @param float $amount |
||
61 | */ |
||
62 | public function setAmount(float $amount): void |
||
65 | } |
||
66 | |||
67 | /** |
||
68 | * @internal |
||
69 | * @param int $rangeMin |
||
70 | */ |
||
71 | public function setRangeMin(int $rangeMin): void |
||
74 | } |
||
75 | |||
76 | /** |
||
77 | * @internal |
||
78 | * @param int $rangeMax |
||
79 | */ |
||
80 | public function setRangeMax(int $rangeMax): void |
||
83 | } |
||
84 | } |