for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace alekciy\ofd\providers\yandex\Request;
use alekciy\ofd\providers\yandex\RequestPage;
/**
* Список касс.
*/
final class CashDeskList extends RequestPage
{
public $method = 'GET';
protected $path = '/v1/cashboxes';
/** @var integer */
public $outletId;
* @inheritDoc
public function getPropertyMap(): array
return array_merge(parent::getPropertyMap(), [
'outletId' => ['query' => 'retail_point_id'],
]);
}
public function getRuleList(): array
return array_merge(parent::getRuleList(), [
'outletId' => ['numeric'],