1: <?php
2: /**
3: * LeadCommerce\Shopware\SDK\Entity
4: *
5: * Copyright 2016 LeadCommerce
6: *
7: * @author Alexander Mahrt <amahrt@leadcommerce.de>
8: * @copyright 2016 LeadCommerce <amahrt@leadcommerce.de>
9: */
10: namespace LeadCommerce\Shopware\SDK\Entity;
11:
12: /**
13: * Class PropertyGroupOption
14: */
15: class PropertyGroupOption extends Base
16: {
17: /**
18: * @var int
19: */
20: protected $id;
21: /**
22: * @var string
23: */
24: protected $name;
25: /**
26: * @var bool
27: */
28: protected $filterable;
29:
30: /**
31: * @return int
32: */
33: public function getId()
34: {
35: return $this->id;
36: }
37:
38: /**
39: * @param int $id
40: *
41: * @return PropertyGroupOption
42: */
43: public function setId($id)
44: {
45: $this->id = $id;
46:
47: return $this;
48: }
49:
50: /**
51: * @return string
52: */
53: public function getName()
54: {
55: return $this->name;
56: }
57:
58: /**
59: * @param string $name
60: *
61: * @return PropertyGroupOption
62: */
63: public function setName($name)
64: {
65: $this->name = $name;
66:
67: return $this;
68: }
69:
70: /**
71: * @return bool
72: */
73: public function isFilterable()
74: {
75: return $this->filterable;
76: }
77:
78: /**
79: * @param bool $filterable
80: *
81: * @return PropertyGroupOption
82: */
83: public function setFilterable($filterable)
84: {
85: $this->filterable = $filterable;
86:
87: return $this;
88: }
89: }
90: