GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

FiatWithdrawal   A
last analyzed

Complexity

Total Complexity 6

Size/Duplication

Total Lines 56
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 6
lcom 0
cbo 1
dl 0
loc 56
ccs 12
cts 12
cp 1
rs 10
c 0
b 0
f 0

6 Methods

Rating   Name   Duplication   Size   Complexity  
A getGuid() 0 4 1
A getAccountGuid() 0 4 1
A getStatus() 0 4 1
A getTotalWithdrawalAmount() 0 4 1
A getFeeAmount() 0 4 1
A getCurrency() 0 4 1
1
<?php
2
3
namespace IndependentReserve\Object;
4
5
class FiatWithdrawal extends AbstractTimestampedObject
6
{
7
    /**
8
     * Unique identifier of this request.
9
     * @return string
10
     */
11 1
    public function getGuid()
12
    {
13 1
        return $this->object->FiatWithdrawalRequestGuid;
14
    }
15
16
    /**
17
     * Independent Reserve account to withdraw from.
18
     * @return string
19
     */
20 1
    public function getAccountGuid()
21
    {
22 1
        return $this->object->AccountGuid;
23
    }
24
25
    /**
26
     * Request status in the workflow.
27
     * @return string
28
     */
29 1
    public function getStatus()
30
    {
31 1
        return $this->object->Status;
32
    }
33
34
    /**
35
     * Total amount being withdrawn by the user (inclusive of any fees).
36
     * @return double
37
     */
38 1
    public function getTotalWithdrawalAmount()
39
    {
40 1
        return $this->object->TotalWithdrawalAmount;
41
    }
42
43
    /**
44
     * Fee amount which will be taken out of the withdrawal amount.
45
     * @return double
46
     */
47 1
    public function getFeeAmount()
48
    {
49 1
        return $this->object->FeeAmount;
50
    }
51
52
    /**
53
     * Currency being withdrawn.
54
     * @return string
55
     */
56 1
    public function getCurrency()
57
    {
58 1
        return $this->object->Currency;
59
    }
60
}
61