• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

gam6itko / ozon-seller / 15486101492

06 Jun 2025 08:20AM UTC coverage: 74.145% (-5.8%) from 79.946%
15486101492

push

github

web-flow
Create DescriptionCategoryService.php (#101)

* Create DescriptionCategoryService.php

0 of 76 new or added lines in 1 file covered. (0.0%)

6 existing lines in 1 file now uncovered.

889 of 1199 relevant lines covered (74.15%)

40.96 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/Service/V3/ReturnService.php
1
<?php
2

3
declare(strict_types=1);
4

5
namespace Gam6itko\OzonSeller\Service\V3;
6

7
use Gam6itko\OzonSeller\Service\AbstractService;
8
use Gam6itko\OzonSeller\Utils\ArrayHelper;
9

10

11
class ReturnService extends AbstractService
12
{
13
    private $path = '/v3/returns/company';
14

15
    /**
16
     * @deprecated use V1\ReturnService::list
17
     *
18
     * @see https://api-seller.ozon.ru/v3/returns/company/fbo
19
     *
20
     * @param array $filter
21
     * @param int $lastId
22
     * @param int $limit
23
     *
24
     * @return array
25
     */
26
    public function fbo(array $filter, int $lastId = 0, int $limit = 100): array
27
    {
28
        assert($limit > 0 && $limit <= 1000);
×
29

30
        $body = [
×
31
            'filter'  => ArrayHelper::pick($filter, ['posting_number', 'status']),
×
32
            'last_id' => $lastId,
×
UNCOV
33
            'limit'   => $limit,
×
34
        ];
×
35

UNCOV
36
        return $this->request('POST', "{$this->path}/fbo", $body);
×
37
    }
38

39
    /**
40
     * @deprecated use V1\ReturnService::list
41
     *
42
     * @see https://api-seller.ozon.ru/v3/returns/company/fbs
43
     *
44
     * @param array $filter
45
     * @param int $lastId
46
     * @param int $limit
47
     *
48
     * @return array
49
     */
50
    public function fbs(array $filter, int $lastId = 0, int $limit = 100): array
51
    {
52
        assert($limit > 0 && $limit <= 1000);
×
53

54
        $body = [
×
55
            'filter'  => ArrayHelper::pick($filter, [
×
56
                'accepted_from_customer_moment', 'last_free_waiting_day', 'posting_number',
×
57
                'product_name', 'product_offer_id', 'status'
×
UNCOV
58
            ]),
×
59
            'last_id' => $lastId,
×
UNCOV
60
            'limit'   => $limit,
×
UNCOV
61
        ];
×
62

UNCOV
63
        return $this->request('POST', "{$this->path}/fbs", $body);
×
64
    }
65
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc