Completed
Push — master ( 14b1fb...866668 )
by Fabian
03:05
created

FeeModel::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 3
CRAP Score 1

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 2
dl 0
loc 4
ccs 3
cts 3
cp 1
crap 1
rs 10
c 0
b 0
f 0
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: Fabian
5
 * Date: 24.07.2017
6
 * Time: 15:35
7
 */
8
9
namespace HanischIt\KrakenApi\Model\TradableAssetPairs;
10
11
class FeeModel
12
{
13
    /**
14
     * @var float
15
     */
16
    private $volume;
17
    /**
18
     * @var float
19
     */
20
    private $percentFee;
21
22
    /**
23
     * FeeModel constructor.
24
     * @param float $volume
25
     * @param float $percentFee
26
     */
27 1
    public function __construct($volume, $percentFee)
28
    {
29 1
        $this->volume = $volume;
30 1
        $this->percentFee = $percentFee;
31 1
    }
32
33
    /**
34
     * @return float
35
     */
36 1
    public function getVolume()
37
    {
38 1
        return $this->volume;
39
    }
40
41
    /**
42
     * @return float
43
     */
44 1
    public function getPercentFee()
45
    {
46 1
        return $this->percentFee;
47
    }
48
}
49