Total Complexity | 3 |
Total Lines | 42 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | class InventoryGeneral extends NovaPoshta |
||
9 | { |
||
10 | use Limit; |
||
11 | |||
12 | protected $model = 'InventoryGeneral'; |
||
13 | protected $calledMethod; |
||
14 | protected $methodProperties = null; |
||
15 | |||
16 | /** |
||
17 | * Получение списка доступных к заказу материальных ценностей. |
||
18 | * |
||
19 | * @since 2022-11-05 |
||
20 | * |
||
21 | * @return array |
||
22 | */ |
||
23 | public function getInventoryNomenclaturesList(): array |
||
24 | { |
||
25 | $this->calledMethod = 'getInventoryNomenclaturesList'; |
||
26 | |||
27 | return $this->getResponse($this->model, $this->calledMethod, $this->methodProperties, true); |
||
28 | } |
||
29 | |||
30 | /*** |
||
31 | * Получение списка заказанных материальных ценностей. |
||
32 | * |
||
33 | * @since 2022-11-05 |
||
34 | * |
||
35 | * @param string|null $Ref Ref контрагента |
||
36 | * @return array |
||
37 | */ |
||
38 | public function getInventoryOrdersList(?string $Ref = null): array |
||
50 | } |
||
51 | |||
53 |