1212class Price extends SwaggerModel
1313{
1414 /**
15- * For fixed-term contracts, this is the monetary value indicating
15+ * A monetary value indicating
1616 * the weekly rent each tenant will be expected to pay during their
17- * tenancy in the property .
17+ * fixed-term tenancy. This is required if is_fixed_term is true .
1818 *
19- * For rolling contracts, this is the monetary value indicating the
20- * daily rent each tenant will pay for the first payment period.
21- * The first payment period covers the rent from the start date to
22- * the day before the first rolling monthly payment day. The first payment rent
23- * is calculated based on the number of days in the period multiplied by the per day rate.
24- *
25- * Whether fixed or rolling, this does not mean the rent is paid weekly or daily - the StuRents
19+ * This does not mean the rent is paid weekly - the StuRents
2620 * search and profiles display all rents as a weekly amount and this
2721 * will be used to calculate total and scheduled payments when
2822 * creating a tenancy and/or rent collection for the property
2923 *
30- * @var float
31- * @required
24+ * @var ?float
3225 */
33- protected $ price_per_person_per_week ;
26+ protected $ price_per_person_per_week = 0.0 ;
3427
3528 /**
3629 * A monetary value indicating the deposit each tenant will be
@@ -51,20 +44,33 @@ class Price extends SwaggerModel
5144
5245 /**
5346 * A monetary value indicating the monthly rent each tenant will
54- * be expected to pay during their rolling tenancy in the property .
55- * This is required if is_fixed_term is false
47+ * be expected to pay during their rolling tenancy.
48+ * This is required if is_fixed_term is false.
5649 *
57- * The StuRents search and profiles display all rents as a weekly amount and this
50+ * The StuRents search and profiles display all rents as a weekly amount and this field's value
5851 * will be used to calculate total and scheduled payments when
5952 * creating a tenancy and/or rent collection for the property.
6053 *
6154 * @var ?float
6255 */
6356 protected $ rolling_price_per_person_per_month = 0.0 ;
6457
58+ /**
59+ * A monetary value indicating the
60+ * daily rent each tenant will pay for the first payment period for a rolling tenancy.
61+ * This is required if is_fixed_term is false.
62+ *
63+ * The first payment period covers the rent from the start date to
64+ * the day before the first rolling monthly payment day. The first payment rent
65+ * is calculated based on the number of days in the period multiplied by the per day rate.
66+ *
67+ * @var ?float
68+ */
69+ protected $ rolling_price_initial_period_per_person_per_day = 0.0 ;
70+
6571
6672 /**
67- * @return float
73+ * @return ? float
6874 */
6975 public function getPricePerPersonPerWeek ()
7076 {
@@ -73,7 +79,7 @@ public function getPricePerPersonPerWeek()
7379
7480
7581 /**
76- * @param float $price_per_person_per_week
82+ * @param ? float $price_per_person_per_week
7783 *
7884 * @return $this
7985 */
@@ -149,4 +155,26 @@ public function setRollingPricePerPersonPerMonth($rolling_price_per_person_per_m
149155
150156 return $ this ;
151157 }
158+
159+
160+ /**
161+ * @return ?float
162+ */
163+ public function getRollingPriceInitialPeriodPerPersonPerDay ()
164+ {
165+ return $ this ->rolling_price_initial_period_per_person_per_day ;
166+ }
167+
168+
169+ /**
170+ * @param ?float $rolling_price_initial_period_per_person_per_day
171+ *
172+ * @return $this
173+ */
174+ public function setRollingPriceInitialPeriodPerPersonPerDay ($ rolling_price_initial_period_per_person_per_day )
175+ {
176+ $ this ->rolling_price_initial_period_per_person_per_day = $ rolling_price_initial_period_per_person_per_day ;
177+
178+ return $ this ;
179+ }
152180}
0 commit comments