1: <?php
2:
3: namespace SellerLabs\Snagshout\Model;
4:
5: class Category
6: {
7: /**
8: * @var string
9: */
10: protected $id;
11: /**
12: * @var string
13: */
14: protected $name;
15: /**
16: * @var string
17: */
18: protected $shortName;
19: /**
20: * @var string
21: */
22: protected $imageUrl;
23: /**
24: * @var int
25: */
26: protected $totalOffers;
27: /**
28: * @return string
29: */
30: public function getId()
31: {
32: return $this->id;
33: }
34: /**
35: * @param string $id
36: *
37: * @return self
38: */
39: public function setId($id = null)
40: {
41: $this->id = $id;
42: return $this;
43: }
44: /**
45: * @return string
46: */
47: public function getName()
48: {
49: return $this->name;
50: }
51: /**
52: * @param string $name
53: *
54: * @return self
55: */
56: public function setName($name = null)
57: {
58: $this->name = $name;
59: return $this;
60: }
61: /**
62: * @return string
63: */
64: public function getShortName()
65: {
66: return $this->shortName;
67: }
68: /**
69: * @param string $shortName
70: *
71: * @return self
72: */
73: public function setShortName($shortName = null)
74: {
75: $this->shortName = $shortName;
76: return $this;
77: }
78: /**
79: * @return string
80: */
81: public function getImageUrl()
82: {
83: return $this->imageUrl;
84: }
85: /**
86: * @param string $imageUrl
87: *
88: * @return self
89: */
90: public function setImageUrl($imageUrl = null)
91: {
92: $this->imageUrl = $imageUrl;
93: return $this;
94: }
95: /**
96: * @return int
97: */
98: public function getTotalOffers()
99: {
100: return $this->totalOffers;
101: }
102: /**
103: * @param int $totalOffers
104: *
105: * @return self
106: */
107: public function setTotalOffers($totalOffers = null)
108: {
109: $this->totalOffers = $totalOffers;
110: return $this;
111: }
112: }