| 1 | <?php |
||
| 19 | class OfferSimple extends AbstractOffer |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * @var string |
||
| 23 | */ |
||
| 24 | private $name; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @var string |
||
| 28 | */ |
||
| 29 | private $vendor; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @var string |
||
| 33 | */ |
||
| 34 | private $vendorCode; |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @return string |
||
| 38 | */ |
||
| 39 | public function getType() |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @return string |
||
| 46 | */ |
||
| 47 | public function getName() |
||
| 51 | |||
| 52 | /** |
||
| 53 | * @param string $name |
||
| 54 | * @return $this |
||
| 55 | */ |
||
| 56 | public function setName($name) |
||
| 62 | |||
| 63 | /** |
||
| 64 | * @return string |
||
| 65 | */ |
||
| 66 | public function getVendor() |
||
| 70 | |||
| 71 | /** |
||
| 72 | * @param string $vendor |
||
| 73 | * @return $this |
||
| 74 | */ |
||
| 75 | public function setVendor($vendor) |
||
| 81 | |||
| 82 | /** |
||
| 83 | * @return string |
||
| 84 | */ |
||
| 85 | public function getVendorCode() |
||
| 89 | |||
| 90 | /** |
||
| 91 | * @param string $vendorCode |
||
| 92 | * @return $this |
||
| 93 | */ |
||
| 94 | public function setVendorCode($vendorCode) |
||
| 100 | |||
| 101 | /** |
||
| 102 | * @return array |
||
| 103 | */ |
||
| 104 | protected function getOptions() |
||
| 112 | } |
||
| 113 |