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.

MarginAccountSummary::setTotalValue()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 1
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
/**
3
 * This file is part of Poloniex PHP SDK.
4
 *
5
 * For the full copyright and license information, please view the LICENSE
6
 * file that was distributed with this source code.
7
 *
8
 * @copyright 2017-2018 Chasovskih Grisha <[email protected]>
9
 * @license https://github.com/signulls/poloniex-php-sdk/blob/master/LICENSE MIT
10
 */
11
12
namespace Poloniex\Response\TradingApi;
13
14
use Poloniex\Response\AbstractResponse;
15
16
/**
17
 * Class MarginAccountSummary
18
 *
19
 * @author Grisha Chasovskih <[email protected]>
20
 */
21
class MarginAccountSummary extends AbstractResponse
22
{
23
    /**
24
     * Example: "0.00346561"
25
     *
26
     * @var float
27
     */
28
    public $totalValue;
29
30
    /**
31
     * Example: "-0.00001220"
32
     *
33
     * @var float
34
     */
35
    public $pl;
36
37
    /**
38
     * Example: "0.00000000"
39
     *
40
     * @var float
41
     */
42
    public $lendingFees;
43
44
    /**
45
     * Example: "0.00345341"
46
     *
47
     * @var float
48
     */
49
    public $netValue;
50
51
    /**
52
     * Example: "0.00123220"
53
     *
54
     * @var float
55
     */
56
    public $totalBorrowedValue;
57
58
    /**
59
     * Example: "2.80263755"
60
     *
61
     * @var float
62
     */
63
    public $currentMargin;
64
65
    /**
66
     * @internal
67
     * @param float $totalValue
68
     */
69
    public function setTotalValue(float $totalValue): void
70
    {
71
        $this->totalValue = $totalValue;
72
    }
73
74
    /**
75
     * @internal
76
     * @param float $pl
77
     */
78
    public function setPl(float $pl): void
79
    {
80
        $this->pl = $pl;
81
    }
82
83
    /**
84
     * @internal
85
     * @param float $lendingFees
86
     */
87
    public function setLendingFees(float $lendingFees): void
88
    {
89
        $this->lendingFees = $lendingFees;
90
    }
91
92
    /**
93
     * @internal
94
     * @param float $netValue
95
     */
96
    public function setNetValue(float $netValue): void
97
    {
98
        $this->netValue = $netValue;
99
    }
100
101
    /**
102
     * @internal
103
     * @param float $totalBorrowedValue
104
     */
105
    public function setTotalBorrowedValue(float $totalBorrowedValue): void
106
    {
107
        $this->totalBorrowedValue = $totalBorrowedValue;
108
    }
109
110
    /**
111
     * @internal
112
     * @param float $currentMargin
113
     */
114
    public function setCurrentMargin(float $currentMargin): void
115
    {
116
        $this->currentMargin = $currentMargin;
117
    }
118
}