|
1680 | 1680 | "example" : 10.0, |
1681 | 1681 | "x-is-money" : true |
1682 | 1682 | }, |
1683 | | - "sickLeaveHoursToAccrueAnnually" : { |
1684 | | - "type" : "number", |
1685 | | - "description" : "Deprecated use SickLeaveToAccrueAnnually", |
1686 | | - "format" : "double", |
1687 | | - "example" : 100.5, |
1688 | | - "x-is-money" : true |
1689 | | - }, |
1690 | | - "sickLeaveMaximumHoursToAccrue" : { |
1691 | | - "type" : "number", |
1692 | | - "description" : "Deprecated use SickLeaveMaximumToAccrue", |
1693 | | - "format" : "double", |
1694 | | - "example" : 200.5, |
1695 | | - "x-is-money" : true |
1696 | | - }, |
1697 | 1683 | "SickLeaveToAccrueAnnually" : { |
1698 | 1684 | "type" : "number", |
1699 | 1685 | "description" : "Number of units accrued annually for sick leave. The type of units is determined by the property \"TypeOfUnitsToAccrue\" on the \"Sick Leave\" leave type", |
|
1767 | 1753 | "description" : "The schedule of accrual", |
1768 | 1754 | "enum" : [ "AnnuallyAfter6Months", "OnAnniversaryDate", "PercentageOfGrossEarnings", "NoAccruals" ] |
1769 | 1755 | }, |
1770 | | - "hoursAccruedAnnually" : { |
1771 | | - "type" : "number", |
1772 | | - "description" : "Deprecated use UnitsAccruedAnnually", |
1773 | | - "format" : "double", |
1774 | | - "x-is-money" : true |
1775 | | - }, |
1776 | | - "UnitsAccruedAnnually" : { |
| 1756 | + "unitsAccruedAnnually" : { |
1777 | 1757 | "type" : "number", |
1778 | 1758 | "description" : "The number of units accrued for the leave annually. This is 0 when the ScheduleOfAccrual chosen is \"NoAccruals\"", |
1779 | 1759 | "format" : "double", |
|
1801 | 1781 | }, |
1802 | 1782 | "rateAccruedHourly" : { |
1803 | 1783 | "type" : "number", |
1804 | | - "description" : "The number of hours added to the leave balance for every hour worked by the employee. This is normally 0, unless the scheduleOfAccrual chosen is \"OnHourWorked\"", |
| 1784 | + "description" : "not supported in Payroll NZ", |
1805 | 1785 | "format" : "double", |
1806 | 1786 | "x-is-money" : true |
1807 | 1787 | }, |
@@ -5400,8 +5380,6 @@ <h3>Usage and SDK Samples</h3> |
5400 | 5380 | employeeLeaveSetup.setIncludeHolidayPay(false); |
5401 | 5381 | employeeLeaveSetup.setHolidayPayOpeningBalance(10.5); |
5402 | 5382 | employeeLeaveSetup.setAnnualLeaveOpeningBalance(25.89); |
5403 | | - employeeLeaveSetup.setSickLeaveHoursToAccrueAnnually(100.0); |
5404 | | - employeeLeaveSetup.setSickLeaveMaximumHoursToAccrue(200.0); |
5405 | 5383 | employeeLeaveSetup.setSickLeaveOpeningBalance(10.5); |
5406 | 5384 | employeeLeaveSetup.setSickLeaveToAccrueAnnually(100.0); |
5407 | 5385 | employeeLeaveSetup.setSickLeaveMaximumToAccrue(200.0); |
@@ -5545,7 +5523,6 @@ <h2>Parameters</h2> |
5545 | 5523 | "example" : { |
5546 | 5524 | "holidayPayOpeningBalance" : 10, |
5547 | 5525 | "annualLeaveOpeningBalance" : 100, |
5548 | | - "sickLeaveHoursToAccrueAnnually" : 20, |
5549 | 5526 | "sickLeaveToAccrueAnnually" : 20, |
5550 | 5527 | "sickLeaveOpeningBalance" : 10, |
5551 | 5528 | "sickLeaveScheduleOfAccrual" : "OnAnniversaryDate", |
@@ -5744,13 +5721,12 @@ <h2>Parameters</h2> |
5744 | 5721 | "example" : { |
5745 | 5722 | "leaveTypeID" : "35da97ae-05b9-427f-9a98-69157ba42cec", |
5746 | 5723 | "scheduleOfAccrual" : "AnnuallyAfter6Months", |
5747 | | - "hoursAccruedAnnually" : 10, |
5748 | 5724 | "unitsAccruedAnnually" : 10, |
5749 | 5725 | "typeOfUnitsToAccrue" : "Hours", |
5750 | 5726 | "openingBalanceTypeOfUnits" : "Hours", |
5751 | 5727 | "maximumToAccrue" : 80, |
5752 | 5728 | "openingBalance" : 100, |
5753 | | - "rateAccruedHourly" : 3.5 |
| 5729 | + "rateAccruedHourly" : null |
5754 | 5730 | } |
5755 | 5731 | } |
5756 | 5732 | }, |
|
0 commit comments