| 1 | <?php |
||
| 17 | class OfferCondition |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * @var string |
||
| 21 | */ |
||
| 22 | private $type; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @var string |
||
| 26 | */ |
||
| 27 | private $reasonText; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @return string |
||
| 31 | */ |
||
| 32 | public function getReasonText() |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @return string |
||
| 39 | */ |
||
| 40 | public function getType() |
||
| 44 | |||
| 45 | /** |
||
| 46 | * Description text for the reason for markdowns |
||
| 47 | * |
||
| 48 | * @param string $reasonText |
||
| 49 | * |
||
| 50 | * @return $this |
||
| 51 | */ |
||
| 52 | public function setReasonText($reasonText) |
||
| 58 | |||
| 59 | /** |
||
| 60 | * Set product condition |
||
| 61 | * |
||
| 62 | * @param string $type |
||
| 63 | * |
||
| 64 | * @return $this |
||
| 65 | */ |
||
| 66 | public function setType($type) |
||
| 72 | } |
||
| 73 |