Skip to content

Commit

Permalink
Merge pull request #830 from lionslair/master
Browse files Browse the repository at this point in the history
Add the reference date to the model properties and the getMethod
  • Loading branch information
calcinai authored Oct 18, 2021
2 parents d6f1a9c + c7eb302 commit dc224c2
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/XeroPHP/Models/PayrollAU/PayrollCalendar.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@ public static function getProperties()
'CalendarType' => [true, self::PROPERTY_TYPE_ENUM, null, false, false],
'StartDate' => [true, self::PROPERTY_TYPE_DATE, '\\DateTimeInterface', false, false],
'PaymentDate' => [true, self::PROPERTY_TYPE_DATE, '\\DateTimeInterface', false, false],
'UpdatedDateUTC' => [false, self::PROPERTY_TYPE_DATE, '\\DateTimeInterface', false, false]
'UpdatedDateUTC' => [false, self::PROPERTY_TYPE_DATE, '\\DateTimeInterface', false, false],
'ReferenceDate' => [false, self::PROPERTY_TYPE_DATE, '\\DateTimeInterface', false, false]
];
}

Expand Down Expand Up @@ -244,4 +245,12 @@ public function getUpdatedDateUTC()
{
return $this->_data['UpdatedDateUTC'];
}

/**
* return \DateTimeInterface
*/
public function getReferenceDate()
{
return $this->_data['ReferenceDate'];
}
}

0 comments on commit dc224c2

Please sign in to comment.