DailyStatistics::getSentTx()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 3
rs 10
1
<?php
2
3
declare(strict_types=1);
4
5
/*
6
 * Package: PHP Bitaps API
7
 *
8
 * (c) Eldar Gazaliev <[email protected]>
9
 *
10
 *  Link: <https://github.com/MyZik>
11
 *
12
 * For the full copyright and license information, please view the LICENSE file
13
 * that was distributed with this source code.
14
 */
15
16
namespace Bitaps\WalletAPI\Response\WalletDailyStatistics\Model;
17
18
class DailyStatistics
19
{
20
    /**
21
     * Wallet address count
22
     *
23
     * @var int|null
24
     */
25
    private ?int $addressCount;
26
27
    /**
28
     * Unconfirmed amount received per day at the end of the day
29
     *
30
     * @var int|null
31
     */
32
    private ?int $pendingReceivedAmount;
33
34
    /**
35
     * Unconfirmed amount sent per day at the end of the day
36
     *
37
     * @var int|null
38
     */
39
    private ?int $pendingSentAmount;
40
41
    /**
42
     * Amount received per day
43
     *
44
     * @var int|null
45
     */
46
    private ?int $receivedAmount;
47
48
    /**
49
     * Amount sent per day
50
     *
51
     * @var int|null
52
     */
53
    private ?int $sentAmount;
54
55
    /**
56
     * Service fee paid
57
     *
58
     * @var int|null
59
     */
60
    private ?int $serviceFeePaidAmount;
61
62
    /**
63
     * Count of daily debit transactions
64
     *
65
     * @var int|null
66
     */
67
    private ?int $sentTx;
68
69
    /**
70
     * Count of recharge transactions per day
71
     *
72
     * @var int|null
73
     */
74
    private int $receivedTx;
75
76
    /**
77
     * Count of uncommitted transactions sent per day at the end of the day
78
     *
79
     * @var int|null
80
     */
81
    private ?int $pendingSentTx;
82
83
    /**
84
     * Count of unconfirmed recharge transactions per day at the end of the day
85
     *
86
     * @var int|null
87
     */
88
    private ?int $pendingReceivedTx;
89
90
    /**
91
     * Count of invalid transactions at the end of the day
92
     *
93
     * @var int|null
94
     */
95
    private ?int $invalidTx;
96
97
    /**
98
     * Balance at the end of the day
99
     *
100
     * @var int|null
101
     */
102
    private ?int $balanceAmount;
103
104
    /**
105
     * Unconfirmed amount including previous days at the end of the day
106
     *
107
     * @var int|null
108
     */
109
    private ?int $pendingReceivedAmountTotal;
110
111
    /**
112
     * Unconfirmed amount including previous days at the end of the day
113
     *
114
     * @var int|null
115
     */
116
    private ?int $pendingSentAmountTotal;
117
118
    /**
119
     * Count of unconfirmed balance sent transactions including previous days at the end of the day
120
     *
121
     * @var int|null
122
     */
123
    private ?int $pendingSentTxTotal;
124
125
    /**
126
     * Count of unconfirmed recharge transactions including previous days at the end of the day
127
     *
128
     * @var int|null
129
     */
130
    private ?int $pendingReceivedTxTotal;
131
132
    /**
133
     * Date
134
     *
135
     * @var string|null
136
     */
137
    private ?string $date;
138
139
    /**
140
     * Date in format UNIX timestamp / 86400
141
     *
142
     * @var int|null
143
     */
144
    private ?int $datestamp;
145
146
    /**
147
     * @return int|null
148
     */
149
    public function getAddressCount(): ?int
150
    {
151
        return $this->addressCount;
152
    }
153
154
    /**
155
     * @return int|null
156
     */
157
    public function getPendingReceivedAmount(): ?int
158
    {
159
        return $this->pendingReceivedAmount;
160
    }
161
162
    /**
163
     * @return int|null
164
     */
165
    public function getPendingSentAmount(): ?int
166
    {
167
        return $this->pendingSentAmount;
168
    }
169
170
    /**
171
     * @return int|null
172
     */
173
    public function getReceivedAmount(): ?int
174
    {
175
        return $this->receivedAmount;
176
    }
177
178
    /**
179
     * @return int|null
180
     */
181
    public function getSentAmount(): ?int
182
    {
183
        return $this->sentAmount;
184
    }
185
186
    /**
187
     * @return int|null
188
     */
189
    public function getServiceFeePaidAmount(): ?int
190
    {
191
        return $this->serviceFeePaidAmount;
192
    }
193
194
    /**
195
     * @return int|null
196
     */
197
    public function getSentTx(): ?int
198
    {
199
        return $this->sentTx;
200
    }
201
202
    /**
203
     * @return int|null
204
     */
205
    public function getReceivedTx(): ?int
206
    {
207
        return $this->receivedTx;
208
    }
209
210
    /**
211
     * @return int|null
212
     */
213
    public function getPendingSentTx(): ?int
214
    {
215
        return $this->pendingSentTx;
216
    }
217
218
    /**
219
     * @return int|null
220
     */
221
    public function getPendingReceivedTx(): ?int
222
    {
223
        return $this->pendingReceivedTx;
224
    }
225
226
    /**
227
     * @return int|null
228
     */
229
    public function getInvalidTx(): ?int
230
    {
231
        return $this->invalidTx;
232
    }
233
234
    /**
235
     * @return int|null
236
     */
237
    public function getBalanceAmount(): ?int
238
    {
239
        return $this->balanceAmount;
240
    }
241
242
    /**
243
     * @return int|null
244
     */
245
    public function getPendingReceivedAmountTotal(): ?int
246
    {
247
        return $this->pendingReceivedAmountTotal;
248
    }
249
250
    /**
251
     * @return int|null
252
     */
253
    public function getPendingSentAmountTotal(): ?int
254
    {
255
        return $this->pendingSentAmountTotal;
256
    }
257
258
    /**
259
     * @return int|null
260
     */
261
    public function getPendingSentTxTotal(): ?int
262
    {
263
        return $this->pendingSentTxTotal;
264
    }
265
266
    /**
267
     * @return int|null
268
     */
269
    public function getPendingReceivedTxTotal(): ?int
270
    {
271
        return $this->pendingReceivedTxTotal;
272
    }
273
274
    /**
275
     * @return string|null
276
     */
277
    public function getDate(): ?string
278
    {
279
        return $this->date;
280
    }
281
282
    /**
283
     * @return int|null
284
     */
285
    public function getDatestamp(): ?int
286
    {
287
        return $this->datestamp;
288
    }
289
}
290