diff --git a/src/XeroPHP/Models/PayrollAU/Employee.php b/src/XeroPHP/Models/PayrollAU/Employee.php index 5b63f469..684353a1 100644 --- a/src/XeroPHP/Models/PayrollAU/Employee.php +++ b/src/XeroPHP/Models/PayrollAU/Employee.php @@ -169,6 +169,12 @@ class Employee extends Remote\Model * @property \DateTimeInterface TerminationDate */ + /** + * Employee Termination Reason + * + * @property string TerminationReason + */ + /** * Xero unique identifier for an Employee. * @@ -296,6 +302,7 @@ public static function getProperties() 'LeaveBalances' => [false, self::PROPERTY_TYPE_OBJECT, 'PayrollAU\\Employee\\LeaveBalance', true, false], 'SuperMemberships' => [false, self::PROPERTY_TYPE_OBJECT, 'PayrollAU\\Employee\\SuperMembership', true, false], 'TerminationDate' => [false, self::PROPERTY_TYPE_DATE, '\\DateTimeInterface', false, false], + 'TerminationReason' => [false, self::PROPERTY_TYPE_STRING, null, false, false], 'EmployeeID' => [false, self::PROPERTY_TYPE_STRING, null, false, false], 'Status' => [false, self::PROPERTY_TYPE_ENUM, null, false, false], 'UpdatedDateUTC' => [false, self::PROPERTY_TYPE_TIMESTAMP, '\\DateTimeInterface', false, false], @@ -849,6 +856,27 @@ public function setTerminationDate(\DateTimeInterface $value) return $this; } + /** + * @return string + */ + public function getTerminationReason() + { + return $this->_data['TerminationReason']; + } + + /** + * @param string $value + * + * @return Employee + */ + public function setTerminationReason($value) + { + $this->propertyUpdated('TerminationReason', $value); + $this->_data['TerminationReason'] = $value; + + return $this; + } + /** * @return string */