| 1 | <?php |
||
| 8 | class OfferCondition |
||
| 9 | { |
||
| 10 | |||
| 11 | /** |
||
| 12 | * @var string |
||
| 13 | */ |
||
| 14 | private $type; |
||
| 15 | |||
| 16 | |||
| 17 | /** |
||
| 18 | * @var string |
||
| 19 | */ |
||
| 20 | private $reasonText; |
||
| 21 | |||
| 22 | |||
| 23 | /** |
||
| 24 | * @return string |
||
| 25 | */ |
||
| 26 | public function getReasonText() |
||
| 31 | |||
| 32 | |||
| 33 | /** |
||
| 34 | * @return string |
||
| 35 | */ |
||
| 36 | public function getType() |
||
| 40 | |||
| 41 | /** |
||
| 42 | * Description text for the reason for markdowns |
||
| 43 | * |
||
| 44 | * @param $reasonText |
||
| 45 | * |
||
| 46 | * @return $this |
||
| 47 | */ |
||
| 48 | public function setReasonText($reasonText) |
||
| 54 | |||
| 55 | |||
| 56 | /** |
||
| 57 | * Set product condition |
||
| 58 | * |
||
| 59 | * @param string $type |
||
| 60 | * |
||
| 61 | * @return $this |
||
| 62 | */ |
||
| 63 | public function setType($type) |
||
| 70 | } |