Total Complexity | 7 |
Total Lines | 92 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
14 | class FeeModel |
||
15 | { |
||
16 | /** |
||
17 | * @var float |
||
18 | */ |
||
19 | private $fee; |
||
20 | /** |
||
21 | * @var float |
||
22 | */ |
||
23 | private $minfee; |
||
24 | /** |
||
25 | * @var float |
||
26 | */ |
||
27 | private $maxfee; |
||
28 | /** |
||
29 | * @var float |
||
30 | */ |
||
31 | private $nextfee; |
||
32 | /** |
||
33 | * @var float |
||
34 | */ |
||
35 | private $nextvolume; |
||
36 | /** |
||
37 | * @var float |
||
38 | */ |
||
39 | private $tiervolume; |
||
40 | |||
41 | /** |
||
42 | * FeeModel constructor. |
||
43 | * @param float $fee |
||
44 | * @param float $minfee |
||
45 | * @param float $maxfee |
||
46 | * @param float $nextfee |
||
47 | * @param float $nextvolume |
||
48 | * @param float $tiervolume |
||
49 | */ |
||
50 | 1 | public function __construct($fee, $minfee, $maxfee, $nextfee, $nextvolume, $tiervolume) |
|
51 | { |
||
52 | 1 | $this->fee = $fee; |
|
53 | 1 | $this->minfee = $minfee; |
|
54 | 1 | $this->maxfee = $maxfee; |
|
55 | 1 | $this->nextfee = $nextfee; |
|
56 | 1 | $this->nextvolume = $nextvolume; |
|
57 | 1 | $this->tiervolume = $tiervolume; |
|
58 | 1 | } |
|
59 | |||
60 | /** |
||
61 | * @return float |
||
62 | */ |
||
63 | 1 | public function getFee() |
|
64 | { |
||
65 | 1 | return $this->fee; |
|
66 | } |
||
67 | |||
68 | /** |
||
69 | * @return float |
||
70 | */ |
||
71 | 1 | public function getMinfee() |
|
72 | { |
||
73 | 1 | return $this->minfee; |
|
74 | } |
||
75 | |||
76 | /** |
||
77 | * @return float |
||
78 | */ |
||
79 | 1 | public function getMaxfee() |
|
82 | } |
||
83 | |||
84 | /** |
||
85 | * @return float |
||
86 | */ |
||
87 | 1 | public function getNextfee() |
|
88 | { |
||
89 | 1 | return $this->nextfee; |
|
90 | } |
||
91 | |||
92 | /** |
||
93 | * @return float |
||
94 | */ |
||
95 | 1 | public function getNextvolume() |
|
98 | } |
||
99 | |||
100 | /** |
||
101 | * @return float |
||
102 | */ |
||
103 | 1 | public function getTiervolume() |
|
106 | } |
||
107 | |||
108 | |||
109 | } |