BySchema   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
eloc 5
c 1
b 0
f 0
dl 0
loc 11
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A getParamsWrapperKey() 0 3 1
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\Post;
11
12
use Ticaje\Contract\Patterns\Interfaces\Pool\WorkerInterface;
13
use Ticaje\Contract\Traits\BaseDto;
14
use Ticaje\AeSdk\Infrastructure\Builder\ServiceRequestBuilder;
15
16
use Ticaje\AeSdk\Domain\Interfaces\Request\ProductSendingInterface;
17
use Ticaje\AeSdk\Domain\Interfaces\Request\ServiceRequestInterface;
18
use Ticaje\AeSdk\Domain\Endpoint\Solution\Product\Facade as ProductFacade;
19
20
/**
21
 * Class BySchema
22
 * @package Ticaje\AeSdk\Domain\Endpoint\Solution\Product\Post
23
 */
24
class BySchema implements ServiceRequestInterface, WorkerInterface, ProductSendingInterface
25
{
26
    use BaseDto, ServiceRequestBuilder, ProductFacade;
27
28
    private $apiMethodName = 'aliexpress.solution.schema.product.instance.post';
0 ignored issues
show
introduced by
The private property $apiMethodName is not used, and could be removed.
Loading history...
29
30
    private $productInstanceRequest;
0 ignored issues
show
introduced by
The private property $productInstanceRequest is not used, and could be removed.
Loading history...
31
32
    public function getParamsWrapperKey(): string
33
    {
34
        return 'product_instance_request';
35
    }
36
}
37