src/B2BApiService.php
public function getReport($report_uid)
    {
        $response = $this->client->user()->report()->get($this->generateAuthToken(), $report_uid);

        if (($report = $response->data()->first()) && $report instanceof ReportData) {
            return $report;
        }

        throw new B2BApiServiceException(sprintf('Invalid response type: "%s"', get_class($report)));
    }
public function getReport($report_uid)
    {
        $response = $this->client->user()->report()->get($this->generateAuthToken(), $report_uid);

        if (($report = $response->data()->first()) && $report instanceof ReportData) {
            return $report;
        }

        throw new B2BApiServiceException(sprintf('Invalid response type: "%s"', get_class($report)));
    }
Возвращает объект отчета B2B API.

@param string $report_uid UID отчета

@throws B2BApiServiceException
@throws B2BApiException

@return ReportData