| Total Complexity | 2 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class DocumentInfo extends Request |
||
| 11 | { |
||
| 12 | public $method = 'GET'; |
||
| 13 | protected $path = '/API/v2/DocumentInfo'; |
||
| 14 | |||
| 15 | /** @var string Заводской номер ФН */ |
||
| 16 | public $fnFactoryNumber = ''; |
||
| 17 | |||
| 18 | /** @var integer Номер фискального документа (ФД) */ |
||
| 19 | public $fdNumber = 0; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @inheritDoc |
||
| 23 | */ |
||
| 24 | public function getPropertyMap(): array |
||
| 25 | { |
||
| 26 | return [ |
||
| 27 | 'fnFactoryNumber' => ['query' => 'fn'], |
||
| 28 | 'fdNumber' => ['query' => 'fd'], |
||
| 29 | ]; |
||
| 30 | } |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @inheritDoc |
||
| 34 | */ |
||
| 35 | public function getRuleList(): array |
||
| 40 | ]; |
||
| 41 | } |
||
| 42 | } |