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

AccountBalanceAbstractRequest::getRequestData()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
ccs 2
cts 2
cp 1
crap 1
rs 10
c 0
b 0
f 0
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