Completed
Push — master ( 39a0bd...0a53a0 )
by Fabian
02:26
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\Call\TradableAssetPairs\Model;
10
11
/**
12
 * Class FeeModel
13
 * @package HanischIt\KrakenApi\Call\TradableAssetPairs\Model
14
 */
15
class FeeModel
16
{
17
    /**
18
     * @var float
19
     */
20
    private $volume;
21
    /**
22
     * @var float
23
     */
24
    private $percentFee;
25
26
    /**
27
     * FeeModel constructor.
28
     * @param float $volume
29
     * @param float $percentFee
30
     */
31 1
    public function __construct($volume, $percentFee)
32
    {
33 1
        $this->volume = $volume;
34 1
        $this->percentFee = $percentFee;
35 1
    }
36
37
    /**
38
     * @return float
39
     */
40 1
    public function getVolume()
41
    {
42 1
        return $this->volume;
43
    }
44
45
    /**
46
     * @return float
47
     */
48 1
    public function getPercentFee()
49
    {
50 1
        return $this->percentFee;
51
    }
52
}
53