@@ -214,6 +214,18 @@ public function listInvalidProperties()
214
214
{
215
215
$ invalidProperties = [];
216
216
217
+ if ($ this ->container ['payroll_calendar_id ' ] === null ) {
218
+ $ invalidProperties [] = "'payroll_calendar_id' can't be null " ;
219
+ }
220
+ if ($ this ->container ['start_date ' ] === null ) {
221
+ $ invalidProperties [] = "'start_date' can't be null " ;
222
+ }
223
+ if ($ this ->container ['employee_number ' ] === null ) {
224
+ $ invalidProperties [] = "'employee_number' can't be null " ;
225
+ }
226
+ if ($ this ->container ['ni_categories ' ] === null ) {
227
+ $ invalidProperties [] = "'ni_categories' can't be null " ;
228
+ }
217
229
return $ invalidProperties ;
218
230
}
219
231
@@ -232,7 +244,7 @@ public function valid()
232
244
/**
233
245
* Gets payroll_calendar_id
234
246
*
235
- * @return string|null
247
+ * @return string
236
248
*/
237
249
public function getPayrollCalendarId ()
238
250
{
@@ -242,7 +254,7 @@ public function getPayrollCalendarId()
242
254
/**
243
255
* Sets payroll_calendar_id
244
256
*
245
- * @param string|null $payroll_calendar_id Xero unique identifier for the payroll calendar of the employee
257
+ * @param string $payroll_calendar_id Xero unique identifier for the payroll calendar of the employee
246
258
*
247
259
* @return $this
248
260
*/
@@ -259,7 +271,7 @@ public function setPayrollCalendarId($payroll_calendar_id)
259
271
/**
260
272
* Gets start_date
261
273
*
262
- * @return \DateTime|null
274
+ * @return \DateTime
263
275
*/
264
276
public function getStartDate ()
265
277
{
@@ -269,7 +281,7 @@ public function getStartDate()
269
281
/**
270
282
* Sets start_date
271
283
*
272
- * @param \DateTime|null $start_date Start date of the employment (YYYY-MM-DD)
284
+ * @param \DateTime $start_date Start date of the employment (YYYY-MM-DD)
273
285
*
274
286
* @return $this
275
287
*/
@@ -286,7 +298,7 @@ public function setStartDate($start_date)
286
298
/**
287
299
* Gets employee_number
288
300
*
289
- * @return string|null
301
+ * @return string
290
302
*/
291
303
public function getEmployeeNumber ()
292
304
{
@@ -296,7 +308,7 @@ public function getEmployeeNumber()
296
308
/**
297
309
* Sets employee_number
298
310
*
299
- * @param string|null $employee_number The employment number of the employee
311
+ * @param string $employee_number The employment number of the employee
300
312
*
301
313
* @return $this
302
314
*/
@@ -340,7 +352,7 @@ public function setNiCategory($ni_category)
340
352
/**
341
353
* Gets ni_categories
342
354
*
343
- * @return \XeroAPI\XeroPHP\Models\PayrollUk\NICategory[]|null
355
+ * @return \XeroAPI\XeroPHP\Models\PayrollUk\NICategory[]
344
356
*/
345
357
public function getNiCategories ()
346
358
{
@@ -350,7 +362,7 @@ public function getNiCategories()
350
362
/**
351
363
* Sets ni_categories
352
364
*
353
- * @param \XeroAPI\XeroPHP\Models\PayrollUk\NICategory[]|null $ni_categories The employee's NI categories
365
+ * @param \XeroAPI\XeroPHP\Models\PayrollUk\NICategory[] $ni_categories The employee's NI categories
354
366
*
355
367
* @return $this
356
368
*/
0 commit comments