| @@ 16-90 (lines=75) @@ | ||
| 13 | /** |
|
| 14 | * Class PropertyGroupOption. |
|
| 15 | */ |
|
| 16 | class PropertyGroupOption extends Base |
|
| 17 | { |
|
| 18 | /** |
|
| 19 | * @var int |
|
| 20 | */ |
|
| 21 | protected $id; |
|
| 22 | /** |
|
| 23 | * @var string |
|
| 24 | */ |
|
| 25 | protected $name; |
|
| 26 | /** |
|
| 27 | * @var bool |
|
| 28 | */ |
|
| 29 | protected $filterable; |
|
| 30 | ||
| 31 | /** |
|
| 32 | * @return int |
|
| 33 | */ |
|
| 34 | public function getId() |
|
| 35 | { |
|
| 36 | return $this->id; |
|
| 37 | } |
|
| 38 | ||
| 39 | /** |
|
| 40 | * @param int $id |
|
| 41 | * |
|
| 42 | * @return PropertyGroupOption |
|
| 43 | */ |
|
| 44 | public function setId($id) |
|
| 45 | { |
|
| 46 | $this->id = $id; |
|
| 47 | ||
| 48 | return $this; |
|
| 49 | } |
|
| 50 | ||
| 51 | /** |
|
| 52 | * @return string |
|
| 53 | */ |
|
| 54 | public function getName() |
|
| 55 | { |
|
| 56 | return $this->name; |
|
| 57 | } |
|
| 58 | ||
| 59 | /** |
|
| 60 | * @param string $name |
|
| 61 | * |
|
| 62 | * @return PropertyGroupOption |
|
| 63 | */ |
|
| 64 | public function setName($name) |
|
| 65 | { |
|
| 66 | $this->name = $name; |
|
| 67 | ||
| 68 | return $this; |
|
| 69 | } |
|
| 70 | ||
| 71 | /** |
|
| 72 | * @return bool |
|
| 73 | */ |
|
| 74 | public function isFilterable() |
|
| 75 | { |
|
| 76 | return $this->filterable; |
|
| 77 | } |
|
| 78 | ||
| 79 | /** |
|
| 80 | * @param bool $filterable |
|
| 81 | * |
|
| 82 | * @return PropertyGroupOption |
|
| 83 | */ |
|
| 84 | public function setFilterable($filterable) |
|
| 85 | { |
|
| 86 | $this->filterable = $filterable; |
|
| 87 | ||
| 88 | return $this; |
|
| 89 | } |
|
| 90 | } |
|
| 91 | ||
| @@ 16-90 (lines=75) @@ | ||
| 13 | /** |
|
| 14 | * Class Tax. |
|
| 15 | */ |
|
| 16 | class Tax extends Base |
|
| 17 | { |
|
| 18 | /** |
|
| 19 | * @var int |
|
| 20 | */ |
|
| 21 | protected $id; |
|
| 22 | /** |
|
| 23 | * @var string |
|
| 24 | */ |
|
| 25 | protected $tax; |
|
| 26 | /** |
|
| 27 | * @var string |
|
| 28 | */ |
|
| 29 | protected $name; |
|
| 30 | ||
| 31 | /** |
|
| 32 | * @return int |
|
| 33 | */ |
|
| 34 | public function getId() |
|
| 35 | { |
|
| 36 | return $this->id; |
|
| 37 | } |
|
| 38 | ||
| 39 | /** |
|
| 40 | * @param int $id |
|
| 41 | * |
|
| 42 | * @return Tax |
|
| 43 | */ |
|
| 44 | public function setId($id) |
|
| 45 | { |
|
| 46 | $this->id = $id; |
|
| 47 | ||
| 48 | return $this; |
|
| 49 | } |
|
| 50 | ||
| 51 | /** |
|
| 52 | * @return string |
|
| 53 | */ |
|
| 54 | public function getTax() |
|
| 55 | { |
|
| 56 | return $this->tax; |
|
| 57 | } |
|
| 58 | ||
| 59 | /** |
|
| 60 | * @param string $tax |
|
| 61 | * |
|
| 62 | * @return Tax |
|
| 63 | */ |
|
| 64 | public function setTax($tax) |
|
| 65 | { |
|
| 66 | $this->tax = $tax; |
|
| 67 | ||
| 68 | return $this; |
|
| 69 | } |
|
| 70 | ||
| 71 | /** |
|
| 72 | * @return string |
|
| 73 | */ |
|
| 74 | public function getName() |
|
| 75 | { |
|
| 76 | return $this->name; |
|
| 77 | } |
|
| 78 | ||
| 79 | /** |
|
| 80 | * @param string $name |
|
| 81 | * |
|
| 82 | * @return Tax |
|
| 83 | */ |
|
| 84 | public function setName($name) |
|
| 85 | { |
|
| 86 | $this->name = $name; |
|
| 87 | ||
| 88 | return $this; |
|
| 89 | } |
|
| 90 | } |
|
| 91 | ||