Passed
Push — develop ( 1795ba...79eaf3 )
by Jens
25:35 queued 03:06
created

StoreDeletedMessage   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
eloc 3
c 1
b 0
f 0
dl 0
loc 7
ccs 2
cts 2
cp 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A fieldDefinitions() 0 3 1
1
<?php
2
3
namespace Commercetools\Core\Model\Message;
4
5
use Commercetools\Core\Model\Common\DateTimeDecorator;
6
use Commercetools\Core\Model\Common\Reference;
7
use Commercetools\Core\Model\Channel\ChannelReference;
8
use DateTime;
9
10
/**
11
 * @package Commercetools\Core\Model\Message
12
 *
13
 * @method string getId()
14
 * @method StoreDeletedMessage setId(string $id = null)
15
 * @method int getVersion()
16
 * @method StoreDeletedMessage setVersion(int $version = null)
17
 * @method DateTimeDecorator getCreatedAt()
18
 * @method StoreDeletedMessage setCreatedAt(DateTime $createdAt = null)
19
 * @method DateTimeDecorator getLastModifiedAt()
20
 * @method StoreDeletedMessage setLastModifiedAt(DateTime $lastModifiedAt = null)
21
 * @method int getSequenceNumber()
22
 * @method StoreDeletedMessage setSequenceNumber(int $sequenceNumber = null)
23
 * @method Reference getResource()
24
 * @method StoreDeletedMessage setResource(Reference $resource = null)
25
 * @method int getResourceVersion()
26
 * @method StoreDeletedMessage setResourceVersion(int $resourceVersion = null)
27
 * @method string getType()
28
 * @method StoreDeletedMessage setType(string $type = null)
29
 * @method string getSku()
30
 * @method StoreDeletedMessage setSku(string $sku = null)
31
 * @method ChannelReference getSupplyChannel()
32
 * @method StoreDeletedMessage setSupplyChannel(ChannelReference $supplyChannel = null)
33
 * @method UserProvidedIdentifiers getResourceUserProvidedIdentifiers()
34
 * phpcs:disable
35
 * @method StoreDeletedMessage setResourceUserProvidedIdentifiers(UserProvidedIdentifiers $resourceUserProvidedIdentifiers = null)
36
 * phpcs:enable
37
 */
38
class StoreDeletedMessage extends Message
39
{
40
    const MESSAGE_TYPE = 'StoreDeleted';
41
42 3
    public function fieldDefinitions()
43
    {
44 3
        return parent::fieldDefinitions();
45
    }
46
}
47