GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — master ( ea09f8...f51f95 )
by Andreas
03:33
created

Abandoned::setUpdatedAt()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
cc 1
eloc 1
c 1
b 0
f 1
nc 1
nop 1
dl 0
loc 3
rs 10
1
<?php
2
declare(strict_types=1);
3
/**
4
 */
5
6
namespace CommerceLeague\ActiveCampaign\Model;
7
8
use CommerceLeague\ActiveCampaign\Api\Data\AbandonedInterface;
9
use CommerceLeague\ActiveCampaign\Model\ResourceModel\Abandoned as AbandonedResource;
10
use Magento\Framework\Model\AbstractModel;
11
12
/**
13
 * Class Abandoned
14
 */
15
class Abandoned extends AbstractModel implements AbandonedInterface
16
{
17
    /**
18
     * @inheritDoc
19
     */
20
    protected function _construct()
21
    {
22
        $this->_init(AbandonedResource::class);
23
    }
24
25
    /**
26
     * @inheritDoc
27
     */
28
    public function getId()
29
    {
30
        return $this->_getData(self::ENTITY_ID);
31
    }
32
33
    /**
34
     * @inheritDoc
35
     */
36
    public function setId($id)
37
    {
38
        return $this->setData(self::ENTITY_ID, $id);
39
    }
40
41
    /**
42
     * @inheritDoc
43
     */
44
    public function getQuoteId()
45
    {
46
        return $this->_getData(self::QUOTE_ID);
47
    }
48
49
    /**
50
     * @inheritDoc
51
     */
52
    public function setQuoteId($quoteId): AbandonedInterface
53
    {
54
        return $this->setData(self::QUOTE_ID, $quoteId);
55
    }
56
57
    /**
58
     * @inheritDoc
59
     */
60
    public function getActiveCampaignId()
61
    {
62
        return $this->_getData(self::ACTIVE_CAMPAIGN_ID);
63
    }
64
65
    /**
66
     * @inheritDoc
67
     */
68
    public function setActiveCampaignId($activeCampaignId): AbandonedInterface
69
    {
70
        return $this->setData(self::ACTIVE_CAMPAIGN_ID, $activeCampaignId);
71
    }
72
73
    /**
74
     * @inheritDoc
75
     */
76
    public function getCreatedAt()
77
    {
78
        return $this->_getData(self::CREATED_AT);
79
    }
80
81
    /**
82
     * @inheritDoc
83
     */
84
    public function setCreatedAt($createdAt): AbandonedInterface
85
    {
86
        return $this->setData(self::CREATED_AT, $createdAt);
87
    }
88
89
    /**
90
     * @inheritDoc
91
     */
92
    public function getUpdatedAt()
93
    {
94
        return $this->_getData(self::UPDATED_AT);
95
    }
96
97
    /**
98
     * @inheritDoc
99
     */
100
    public function setUpdatedAt($updatedAt): AbandonedInterface
101
    {
102
        return $this->setData(self::UPDATED_AT, $updatedAt);
103
    }
104
}
105