WalletDailyStatisticsResponse::isNextPage()   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;
17
18
use Bitaps\WalletAPI\Response\AbstractResponse;
19
use JMS\Serializer\Annotation as Serializer;
20
21
class WalletDailyStatisticsResponse extends AbstractResponse
22
{
23
    /**
24
     * @Serializer\SerializedName("day_list")
25
     * @Serializer\Type("array<Bitaps\WalletAPI\Response\WalletDailyStatistics\Model\DailyStatistics>")
26
     *
27
     */
28
    private array $dayList;
29
30
    /**
31
     * @Serializer\SerializedName("next_page")
32
     * @Serializer\Type("bool")
33
     *
34
     * @var bool
35
     */
36
    private bool $nextPage;
37
38
    /**
39
     * @return array
40
     */
41
    public function getDayList(): array
42
    {
43
        return $this->dayList;
44
    }
45
46
    /**
47
     * @return bool
48
     */
49
    public function isNextPage(): bool
50
    {
51
        return $this->nextPage;
52
    }
53
}
54