Groups::getRequest()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 1
c 1
b 0
f 0
dl 0
loc 3
rs 10
cc 1
nc 1
nop 0
1
<?php
2
declare(strict_types=1);
3
4
/**
5
 * Request Provider Class
6
 * @category    Ticaje
7
 * @author      Max Demian <[email protected]>
8
 */
9
10
namespace Ticaje\AeSdk\Domain\Endpoint\Solution\Product\Get;
11
12
use Ticaje\Contract\Patterns\Interfaces\Pool\WorkerInterface;
13
use Ticaje\Contract\Traits\BaseDto;
14
15
use Ticaje\AeSdk\Infrastructure\Builder\ServiceRequestBuilder;
16
use Ticaje\AeSdk\Domain\Interfaces\Request\ServiceRequestInterface;
17
18
/**
19
 * Class Groups
20
 * @package Ticaje\AeSdk\Domain\Endpoint\Solution\Product\Get
21
 */
22
class Groups implements ServiceRequestInterface, WorkerInterface
23
{
24
    use BaseDto, ServiceRequestBuilder;
25
26
    private $apiMethodName = 'aliexpress.postproduct.redefining.getproductgrouplist';
0 ignored issues
show
introduced by
The private property $apiMethodName is not used, and could be removed.
Loading history...
27
28
    public function getRequest(): array
29
    {
30
        return $this->build();
31
    }
32
}
33