CustomerSavedSearch::getCreatedAt()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
/*
4
 * This file is part of the slince/shopify-api-php
5
 *
6
 * (c) Slince <[email protected]>
7
 *
8
 * This source file is subject to the MIT license that is bundled
9
 * with this source code in the file LICENSE.
10
 */
11
12
namespace Slince\Shopify\Manager\CustomerSavedSearch;
13
14
use Slince\Shopify\Common\Model\Model;
15
16
class CustomerSavedSearch extends Model
17
{
18
    /**
19
     * @var string
20
     */
21
    protected $name;
22
23
    /**
24
     * @var \DateTimeInterface
25
     */
26
    protected $createdAt;
27
28
    /**
29
     * @var \DateTimeInterface
30
     */
31
    protected $updatedAt;
32
33
    /**
34
     * @var string
35
     */
36
    protected $query;
37
38
    /**
39
     * @return string
40
     */
41
    public function getName()
42
    {
43
        return $this->name;
44
    }
45
46
    /**
47
     * @param string $name
48
     *
49
     * @return CustomerSavedSearch
50
     */
51
    public function setName($name)
52
    {
53
        $this->name = $name;
54
55
        return $this;
56
    }
57
58
    /**
59
     * @return \DateTimeInterface
60
     */
61
    public function getCreatedAt()
62
    {
63
        return $this->createdAt;
64
    }
65
66
    /**
67
     * @param \DateTimeInterface $createdAt
68
     *
69
     * @return CustomerSavedSearch
70
     */
71
    public function setCreatedAt($createdAt)
72
    {
73
        $this->createdAt = $createdAt;
74
75
        return $this;
76
    }
77
78
    /**
79
     * @return \DateTimeInterface
80
     */
81
    public function getUpdatedAt()
82
    {
83
        return $this->updatedAt;
84
    }
85
86
    /**
87
     * @param \DateTimeInterface $updatedAt
88
     *
89
     * @return CustomerSavedSearch
90
     */
91
    public function setUpdatedAt($updatedAt)
92
    {
93
        $this->updatedAt = $updatedAt;
94
95
        return $this;
96
    }
97
98
    /**
99
     * @return string
100
     */
101
    public function getQuery()
102
    {
103
        return $this->query;
104
    }
105
106
    /**
107
     * @param string $query
108
     *
109
     * @return CustomerSavedSearch
110
     */
111
    public function setQuery($query)
112
    {
113
        $this->query = $query;
114
115
        return $this;
116
    }
117
}