DocumentList::showUnassembledCargo()   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
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 5
rs 10
1
<?php
2
3
namespace Daaner\NovaPoshta\Traits;
4
5
trait DocumentList
6
{
7
    /**
8
     * Отобразить полный список.
9
     *
10
     * @return $this
11
     */
12
    public function showFullList(): self
13
    {
14
        $this->methodProperties['GetFullList'] = 1;
15
16
        return $this;
17
    }
18
19
    /**
20
     * Фильтр присутствия обратной доставки.
21
     *
22
     * @return $this
23
     */
24
    public function showRedeliveryMoney(): self
25
    {
26
        $this->methodProperties['RedeliveryMoney'] = 1;
27
28
        return $this;
29
    }
30
31
    /**
32
     * Фильтр полного списка всех актуальных ЭН (по которым не написано заявление на возврат или утилизацию) не забранных получателями посылок.
33
     *
34
     * @return $this
35
     */
36
    public function showUnassembledCargo(): self
37
    {
38
        $this->methodProperties['UnassembledCargo'] = 1;
39
40
        return $this;
41
    }
42
}
43