Total Complexity | 6 |
Total Lines | 96 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
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 |
||
117 | } |
||
118 | } |