Completed
Push — master ( 3ad417...37b5d9 )
by Fabian
02:10
created

AccountBalanceAbstractRequest   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 35
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
dl 0
loc 35
ccs 8
cts 8
cp 1
rs 10
c 0
b 0
f 0
wmc 4

4 Methods

Rating   Name   Duplication   Size   Complexity  
A getVisibility() 0 3 1
A getRequestData() 0 3 1
A getMethod() 0 3 1
A getResponseClassName() 0 3 1
1
<?php
2
3
namespace HanischIt\KrakenApi\Model\AccountBalance;
4
5
use HanischIt\KrakenApi\Enum\VisibilityEnum;
6
use HanischIt\KrakenApi\Model\AbstractRequest;
7
8
/**
9
 * Class ServerTimeAbstractRequest
10
 *
11
 * @package HanischIt\Model\AccountBalance
12
 */
13
class AccountBalanceAbstractRequest extends AbstractRequest
14
{
15
16
    /**
17
     * Returns the api request name
18
     *
19
     * @return string
20
     */
21 1
    public function getMethod()
22
    {
23 1
        return 'Balance';
24
    }
25
26
    /**
27
     * @return string
28
     */
29 1
    public function getVisibility()
30
    {
31 1
        return VisibilityEnum::VISIBILITY_PRIVATE;
32
    }
33
34
    /**
35
     * @return array
36
     */
37 1
    public function getRequestData()
38
    {
39 1
        return [];
40
    }
41
42
    /**
43
     * @return string
44
     */
45 1
    public function getResponseClassName()
46
    {
47 1
        return AccountBalanceResponse::class;
48
    }
49
}
50