SendPaymentResponse   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 3
c 1
b 0
f 0
dl 0
loc 16
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A getTxList() 0 3 1
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\SendPayment;
17
18
use Bitaps\WalletAPI\Response\AbstractResponse;
19
use Bitaps\WalletAPI\Response\SendPayment\Model\Receiver;
20
use JMS\Serializer\Annotation as Serializer;
21
22
class SendPaymentResponse extends AbstractResponse
23
{
24
    /**
25
     * @Serializer\SerializedName("tx_list")
26
     * @Serializer\Type("array<Bitaps\WalletAPI\Response\SendPayment\Model\Receiver>")
27
     *
28
     * @var Receiver[]
29
     */
30
    private array $txList;
31
32
    /**
33
     * @return Receiver[]
34
     */
35
    public function getTxList(): array
36
    {
37
        return $this->txList;
38
    }
39
}
40