Payment::walletManagement()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 2
nc 1
nop 0
dl 0
loc 5
rs 10
c 1
b 0
f 0
1
<?php
2
3
namespace Daaner\NovaPoshta\Models;
4
5
use Daaner\NovaPoshta\NovaPoshta;
6
7
class Payment extends NovaPoshta
8
{
9
    protected $model = 'Payment';
10
    protected $calledMethod;
11
    protected $methodProperties = null;
12
13
    /***
14
     * Получение данных по картам оплаты.
15
     *
16
     * @since 2022-11-07
17
     *
18
     * @return array
19
     */
20
    public function walletManagement(): array
21
    {
22
        $this->calledMethod = 'walletManagement';
23
24
        return $this->getResponse($this->model, $this->calledMethod, $this->methodProperties, true);
25
    }
26
}
27