Completed
Pull Request — master (#1)
by Mathew
02:16
created

Merchant::getEmoji()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace Thepixeldeveloper\Mondo\Response;
4
5
use JMS\Serializer\Annotation as JMS;
6
use Thepixeldeveloper\Mondo\Response\Merchant\Address;
7
8
/**
9
 * Class Merchant
10
 *
11
 * @package Thepixeldeveloper\Mondo\Response
12
 */
13
class Merchant
14
{
15
    /**
16
     * Address.
17
     *
18
     * @var Address
19
     * @JMS\Type("Thepixeldeveloper\Mondo\Response\Merchant\Address")
20
     */
21
    protected $address;
22
23
    /**
24
     * Created date.
25
     *
26
     * @var \DateTime
27
     * @JMS\Type("DateTime")
28
     */
29
    protected $created;
30
31
    /**
32
     * Group Id.
33
     *
34
     * @var string
35
     * @JMS\Type("string")
36
     */
37
    protected $groupId;
38
39
    /**
40
     * Id.
41
     *
42
     * @var string
43
     * @JMS\Type("string")
44
     */
45
    protected $id;
46
47
    /**
48
     * Logo.
49
     *
50
     * @var string
51
     * @JMS\Type("string")
52
     */
53
    protected $logo;
54
55
    /**
56
     * Emoji.
57
     *
58
     * @var string
59
     * @JMS\Type("string")
60
     */
61
    protected $emoji;
62
63
    /**
64
     * Name.
65
     *
66
     * @var string
67
     * @JMS\Type("string")
68
     */
69
    protected $name;
70
71
    /**
72
     * Category.
73
     *
74
     * @var string
75
     * @JMS\Type("string")
76
     */
77
    protected $category;
78
79
    /**
80
     * @return Address
81
     */
82
    public function getAddress()
83
    {
84
        return $this->address;
85
    }
86
87
    /**
88
     * @return \DateTime
89
     */
90
    public function getCreated()
91
    {
92
        return $this->created;
93
    }
94
95
    /**
96
     * @return string
97
     */
98
    public function getGroupId()
99
    {
100
        return $this->groupId;
101
    }
102
103
    /**
104
     * @return string
105
     */
106
    public function getId()
107
    {
108
        return $this->id;
109
    }
110
111
    /**
112
     * @return string
113
     */
114
    public function getLogo()
115
    {
116
        return $this->logo;
117
    }
118
119
    /**
120
     * @return string
121
     */
122
    public function getEmoji()
123
    {
124
        return $this->emoji;
125
    }
126
127
    /**
128
     * @return string
129
     */
130
    public function getName()
131
    {
132
        return $this->name;
133
    }
134
135
    /**
136
     * @return string
137
     */
138
    public function getCategory()
139
    {
140
        return $this->category;
141
    }
142
}
143