ProductRemovedRequestEntity::getRequired()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 3
c 1
b 0
f 0
dl 0
loc 5
rs 10
cc 1
nc 1
nop 0
1
<?php
2
3
/**
4
 * PHP version 5.4 and 8
5
 *
6
 * @category  RequestEntity
7
 * @package   Payever\Products
8
 * @author    payever GmbH <[email protected]>
9
 * @author    Hennadii.Shymanskyi <[email protected]>
10
 * @copyright 2017-2021 payever GmbH
11
 * @license   MIT <https://opensource.org/licenses/MIT>
12
 * @link      https://docs.payever.org/shopsystems/api/getting-started
13
 */
14
15
namespace Payever\ExternalIntegration\Products\Http\RequestEntity;
16
17
use Payever\ExternalIntegration\Core\Http\RequestEntity;
18
19
/**
20
 * When sending entity to payever at least one of the following MUST be filled in: sku, uuid
21
 *
22
 * @method string getExternalId()
23
 * @method string getUuid()
24
 * @method string getSku()
25
 * @method self setExternalId(string $externalId)
26
 * @method self setSku(string $sku)
27
 * @method self setUuid(string $uuid)
28
 */
29
class ProductRemovedRequestEntity extends RequestEntity
30
{
31
    /** @var string */
32
    protected $externalId;
33
34
    /** @var array */
35
    protected $uuid;
36
37
    /** @var string */
38
    protected $sku;
39
40
    /**
41
     * @return array
42
     */
43
    public function getRequired()
44
    {
45
        return [
46
            'externalId',
47
            'sku',
48
        ];
49
    }
50
}
51