@@ -34,6 +34,26 @@ class ContractAbstract extends SwaggerModel
3434 */
3535 protected $ end_date ;
3636
37+ /**
38+ * Is true if the availability is restricted
39+ * @var bool
40+ */
41+ protected $ restricted = false ;
42+
43+ /**
44+ * The discount value of the promotion for this contract
45+ *
46+ * @var float
47+ */
48+ protected $ promo_value = 0.0 ;
49+
50+ /**
51+ * Reporting code for tracking promotion usage. Will appear in the Tenants report in Report Builder on the StuRents platform
52+ *
53+ * @var string
54+ */
55+ protected $ restricted_code = '' ;
56+
3757 /**
3858 * The minimum time a tenant may rent the property for in days
3959 *
@@ -120,6 +140,72 @@ public function setEndDate($end_date)
120140 }
121141
122142
143+ /**
144+ * @return bool
145+ */
146+ public function getRestricted ()
147+ {
148+ return $ this ->restricted ;
149+ }
150+
151+
152+ /**
153+ * @param bool $restricted
154+ *
155+ * @return $this
156+ */
157+ public function setRestricted ($ restricted )
158+ {
159+ $ this ->restricted = $ restricted ;
160+
161+ return $ this ;
162+ }
163+
164+
165+ /**
166+ * @return float
167+ */
168+ public function getPromoValue ()
169+ {
170+ return $ this ->promo_value ;
171+ }
172+
173+
174+ /**
175+ * @param float $promo_value
176+ *
177+ * @return $this
178+ */
179+ public function setPromoValue ($ promo_value )
180+ {
181+ $ this ->promo_value = $ promo_value ;
182+
183+ return $ this ;
184+ }
185+
186+
187+ /**
188+ * @return string
189+ */
190+ public function getRestrictedCode ()
191+ {
192+ return $ this ->restricted_code ;
193+ }
194+
195+
196+ /**
197+ * @param string $restricted_code
198+ *
199+ * @return $this
200+ */
201+ public function setRestrictedCode ($ restricted_code )
202+ {
203+ $ this ->restricted_code = $ restricted_code ;
204+
205+ return $ this ;
206+ }
207+
208+
123209 /**
124210 * @return int
125211 */
0 commit comments