1 | <?php |
||
10 | class PriceDetail |
||
11 | { |
||
12 | /** |
||
13 | * @Serializer\Expose() |
||
14 | * @Serializer\Type("float") |
||
15 | * |
||
16 | * @var float |
||
17 | */ |
||
18 | protected $amount; |
||
19 | |||
20 | /** |
||
21 | * @Serializer\Expose() |
||
22 | * @Serializer\Type("boolean") |
||
23 | * |
||
24 | * @var boolean |
||
25 | */ |
||
26 | protected $isIncluded; |
||
27 | |||
28 | /** |
||
29 | * @Serializer\Expose() |
||
30 | * @Serializer\Type("boolean") |
||
31 | * |
||
32 | * @var boolean |
||
33 | */ |
||
34 | protected $isPerNight; |
||
35 | |||
36 | /** |
||
37 | * @Serializer\Expose() |
||
38 | * @Serializer\Type("boolean") |
||
39 | * |
||
40 | * @var boolean |
||
41 | */ |
||
42 | protected $isPerPerson; |
||
43 | |||
44 | /** |
||
45 | * @Serializer\Expose() |
||
46 | * @Serializer\Type("string") |
||
47 | * |
||
48 | * @var string |
||
49 | */ |
||
50 | protected $percentage; |
||
51 | |||
52 | /** |
||
53 | * @Serializer\Expose() |
||
54 | * @Serializer\Type("string") |
||
55 | * |
||
56 | * @var string |
||
57 | */ |
||
58 | protected $text; |
||
59 | |||
60 | /** |
||
61 | * @return float |
||
62 | */ |
||
63 | public function getAmount() |
||
67 | |||
68 | /** |
||
69 | * @param float $amount |
||
70 | * |
||
71 | * @return $this |
||
72 | */ |
||
73 | public function setAmount($amount) |
||
79 | |||
80 | /** |
||
81 | * @return string |
||
82 | */ |
||
83 | public function getIsIncluded() |
||
87 | |||
88 | /** |
||
89 | * @param bool $isIncluded |
||
90 | * |
||
91 | * @return $this |
||
92 | */ |
||
93 | public function setIsIncluded($isIncluded) |
||
99 | |||
100 | /** |
||
101 | * @return bool |
||
102 | */ |
||
103 | public function getIsPerNight() |
||
107 | |||
108 | /** |
||
109 | * @param bool $isPerNight |
||
110 | * |
||
111 | * @return $this |
||
112 | */ |
||
113 | public function setIsPerNight($isPerNight) |
||
119 | |||
120 | /** |
||
121 | * @return bool |
||
122 | */ |
||
123 | public function getIsPerPerson() |
||
127 | |||
128 | /** |
||
129 | * @param bool $isPerPerson |
||
130 | * |
||
131 | * @return $this |
||
132 | */ |
||
133 | public function setIsPerPerson($isPerPerson) |
||
139 | |||
140 | /** |
||
141 | * @return string |
||
142 | */ |
||
143 | public function getPercentage() |
||
147 | |||
148 | /** |
||
149 | * @param string $percentage |
||
150 | * |
||
151 | * @return $this |
||
152 | */ |
||
153 | public function setPercentage($percentage) |
||
159 | |||
160 | /** |
||
161 | * @return string |
||
162 | */ |
||
163 | public function getText() |
||
167 | |||
168 | /** |
||
169 | * @param string $text |
||
170 | * |
||
171 | * @return $this |
||
172 | */ |
||
173 | public function setText($text) |
||
179 | } |
||
180 |