1 | <?php |
||
22 | class PriceOption extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity |
||
23 | { |
||
24 | /** |
||
25 | * Price |
||
26 | * |
||
27 | * @var float |
||
28 | */ |
||
29 | protected $price = 0.0; |
||
30 | |||
31 | /** |
||
32 | * Valid until |
||
33 | * |
||
34 | * @var \DateTime |
||
35 | */ |
||
36 | protected $validUntil = null; |
||
37 | |||
38 | /** |
||
39 | * Event |
||
40 | * |
||
41 | * @var \DERHANSEN\SfEventMgt\Domain\Model\Event |
||
42 | */ |
||
43 | protected $event = null; |
||
44 | |||
45 | /** |
||
46 | * Returns the price |
||
47 | * |
||
48 | * @return float |
||
49 | */ |
||
50 | 2 | public function getPrice() |
|
54 | |||
55 | /** |
||
56 | * Sets the price |
||
57 | * |
||
58 | * @param float $price |
||
59 | * @return void |
||
60 | */ |
||
61 | 3 | public function setPrice($price) |
|
65 | |||
66 | /** |
||
67 | * Returns the date until the price is valid |
||
68 | * |
||
69 | * @return \DateTime |
||
70 | */ |
||
71 | 4 | public function getValidUntil() |
|
75 | |||
76 | /** |
||
77 | * Sets the date until the price is valil |
||
78 | * |
||
79 | * @param \DateTime $validUntil |
||
80 | * @return void |
||
81 | */ |
||
82 | 3 | public function setValidUntil($validUntil) |
|
86 | |||
87 | /** |
||
88 | * Returns the event |
||
89 | * |
||
90 | * @return \DERHANSEN\SfEventMgt\Domain\Model\Event |
||
91 | */ |
||
92 | 2 | public function getEvent() |
|
96 | |||
97 | /** |
||
98 | * Sets the event |
||
99 | * |
||
100 | * @param \DERHANSEN\SfEventMgt\Domain\Model\Event $event |
||
101 | */ |
||
102 | 1 | public function setEvent($event) |
|
106 | } |
||
107 |