34113411 <nav id="scrollingNav">
34123412 <ul class="sidenav nav nav-list">
34133413 <li class="nav-header" data-group="PayrollAu"><strong>SDK: </strong><span id='sdk-name'></span></li>
3414- <li class="nav-header" data-group="PayrollAu"><strong>VSN: </strong>2.23.3 </li>
3414+ <li class="nav-header" data-group="PayrollAu"><strong>VSN: </strong>3.0.0 </li>
34153415 <li class="nav-header" data-group="PayrollAu"><a href="#api-PayrollAu">Methods</a></li>
34163416 <li data-group="PayrollAu" data-name="approveLeaveApplication" class="">
34173417 <a href="#api-PayrollAu-approveLeaveApplication">approveLeaveApplication</a>
@@ -7575,7 +7575,7 @@ <h3>Usage and SDK Samples</h3>
75757575$employee->setHomeAddress($homeAddress);
75767576
75777577try {
7578- $result = $apiInstance->updateEmployee($xeroTenantId, $employeeID, $idempotencyKey , $employee );
7578+ $result = $apiInstance->updateEmployee($xeroTenantId, $employeeID, $employee , $idempotencyKey );
75797579} catch (Exception $e) {
75807580 echo 'Exception when calling PayrollAuApi->updateEmployee: ', $e->getMessage(), PHP_EOL;
75817581}
@@ -7683,7 +7683,7 @@ <h2>Parameters</h2>
76837683 <th>Description</th>
76847684 </tr>
76857685 <tr>
7686- <td style="width:150px;">employee </td>
7686+ <td style="width:150px;">employee <span style="color:red;">*</span>< /td>
76877687 <td>
76887688 <div class="json-schema-view">
76897689 <div class="primitive">
@@ -7694,6 +7694,9 @@ <h2>Parameters</h2>
76947694
76957695 </div>
76967696 </div>
7697+ <div class="inner required">
7698+ Required
7699+ </div>
76977700 </div>
76987701 <script type="application/ld+json">
76997702 {
@@ -7707,7 +7710,8 @@ <h2>Parameters</h2>
77077710 },
77087711 "example" : "[ { \"MiddleNames\": \"Frank\" } ]"
77097712 }
7710- }
7713+ },
7714+ "required" : true
77117715}
77127716 </script>
77137717 </table>
@@ -7945,7 +7949,7 @@ <h3>Usage and SDK Samples</h3>
79457949$payRun->setPayrollCalendarID('00000000-0000-0000-0000-000000000000');
79467950
79477951try {
7948- $result = $apiInstance->updatePayRun($xeroTenantId, $payRunID, $idempotencyKey , $payRun );
7952+ $result = $apiInstance->updatePayRun($xeroTenantId, $payRunID, $payRun , $idempotencyKey );
79497953} catch (Exception $e) {
79507954 echo 'Exception when calling PayrollAuApi->updatePayRun: ', $e->getMessage(), PHP_EOL;
79517955}
@@ -8053,7 +8057,7 @@ <h2>Parameters</h2>
80538057 <th>Description</th>
80548058 </tr>
80558059 <tr>
8056- <td style="width:150px;">payRun </td>
8060+ <td style="width:150px;">payRun <span style="color:red;">*</span>< /td>
80578061 <td>
80588062 <div class="json-schema-view">
80598063 <div class="primitive">
@@ -8064,6 +8068,9 @@ <h2>Parameters</h2>
80648068
80658069 </div>
80668070 </div>
8071+ <div class="inner required">
8072+ Required
8073+ </div>
80678074 </div>
80688075 <script type="application/ld+json">
80698076 {
@@ -8077,7 +8084,8 @@ <h2>Parameters</h2>
80778084 }
80788085 }
80798086 }
8080- }
8087+ },
8088+ "required" : true
80818089}
80828090 </script>
80838091 </table>
@@ -8134,7 +8142,7 @@ <h3>Usage and SDK Samples</h3>
81348142array_push($payslipLines, $payslipLine);
81358143
81368144try {
8137- $result = $apiInstance->updatePayslip($xeroTenantId, $payslipID, $idempotencyKey , $payslipLines );
8145+ $result = $apiInstance->updatePayslip($xeroTenantId, $payslipID, $payslipLines , $idempotencyKey );
81388146} catch (Exception $e) {
81398147 echo 'Exception when calling PayrollAuApi->updatePayslip: ', $e->getMessage(), PHP_EOL;
81408148}
@@ -8242,7 +8250,7 @@ <h2>Parameters</h2>
82428250 <th>Description</th>
82438251 </tr>
82448252 <tr>
8245- <td style="width:150px;">payslipLines </td>
8253+ <td style="width:150px;">payslipLines <span style="color:red;">*</span>< /td>
82468254 <td>
82478255 <div class="json-schema-view">
82488256 <div class="primitive">
@@ -8253,6 +8261,9 @@ <h2>Parameters</h2>
82538261
82548262 </div>
82558263 </div>
8264+ <div class="inner required">
8265+ Required
8266+ </div>
82568267 </div>
82578268 <script type="application/ld+json">
82588269 {
@@ -8266,7 +8277,8 @@ <h2>Parameters</h2>
82668277 },
82678278 "example" : "{ \"Payslip\": { \"EmployeeID\": \"cdfb8371-0b21-4b8a-8903-1024df6c391e\", \"DeductionLines\": [ { \"DeductionTypeID\": \"727af5e8-b347-4ae7-85fc-9b82266d0aec\", \"CalculationType\": \"FIXEDAMOUNT\", \"NumberOfUnits\": 10 } ] } }"
82688279 }
8269- }
8280+ },
8281+ "required" : true
82708282}
82718283 </script>
82728284 </table>
@@ -8315,7 +8327,7 @@ <h3>Usage and SDK Samples</h3>
83158327$superfund->setUSI('40022701955002');
83168328
83178329try {
8318- $result = $apiInstance->updateSuperfund($xeroTenantId, $superFundID, $idempotencyKey , $superFund );
8330+ $result = $apiInstance->updateSuperfund($xeroTenantId, $superFundID, $superFund , $idempotencyKey );
83198331} catch (Exception $e) {
83208332 echo 'Exception when calling PayrollAuApi->updateSuperfund: ', $e->getMessage(), PHP_EOL;
83218333}
@@ -8423,7 +8435,7 @@ <h2>Parameters</h2>
84238435 <th>Description</th>
84248436 </tr>
84258437 <tr>
8426- <td style="width:150px;">superFund </td>
8438+ <td style="width:150px;">superFund <span style="color:red;">*</span>< /td>
84278439 <td>
84288440 <div class="json-schema-view">
84298441 <div class="primitive">
@@ -8434,6 +8446,9 @@ <h2>Parameters</h2>
84348446
84358447 </div>
84368448 </div>
8449+ <div class="inner required">
8450+ Required
8451+ </div>
84378452 </div>
84388453 <script type="application/ld+json">
84398454 {
@@ -8447,7 +8462,8 @@ <h2>Parameters</h2>
84478462 },
84488463 "example" : " [ { \"Type\":\"REGULATED\", \"Name\":\"Nice23534\" } ]"
84498464 }
8450- }
8465+ },
8466+ "required" : true
84518467}
84528468 </script>
84538469 </table>
@@ -8500,7 +8516,7 @@ <h3>Usage and SDK Samples</h3>
85008516$timesheet->setStatus(XeroAPI\XeroPHP\Models\PayrollAu\TimesheetStatus::DRAFT);
85018517
85028518try {
8503- $result = $apiInstance->updateTimesheet($xeroTenantId, $timesheetID, $idempotencyKey , $timesheet );
8519+ $result = $apiInstance->updateTimesheet($xeroTenantId, $timesheetID, $timesheet , $idempotencyKey );
85048520} catch (Exception $e) {
85058521 echo 'Exception when calling PayrollAuApi->updateTimesheet: ', $e->getMessage(), PHP_EOL;
85068522}
@@ -8608,7 +8624,7 @@ <h2>Parameters</h2>
86088624 <th>Description</th>
86098625 </tr>
86108626 <tr>
8611- <td style="width:150px;">timesheet </td>
8627+ <td style="width:150px;">timesheet <span style="color:red;">*</span>< /td>
86128628 <td>
86138629 <div class="json-schema-view">
86148630 <div class="primitive">
@@ -8619,6 +8635,9 @@ <h2>Parameters</h2>
86198635
86208636 </div>
86218637 </div>
8638+ <div class="inner required">
8639+ Required
8640+ </div>
86228641 </div>
86238642 <script type="application/ld+json">
86248643 {
@@ -8632,7 +8651,8 @@ <h2>Parameters</h2>
86328651 },
86338652 "example" : "[ { \"EmployeeID\":\"b34e89ff-770d-4099-b7e5-f968767118bc\", \"StartDate\":\"/Date(1573171200000+0000)/\", \"EndDate\":\"/Date(1573689600000+0000)/\", \"Status\":\"APPROVED\", \"Hours\":22.0, \"TimesheetID\":\"a7eb0a79-8511-4ee7-b473-3a25f28abcb9\", \"TimesheetLines\":[ { \"EarningsRateID\":\"ab874dfb-ab09-4c91-954e-43acf6fc23b4\", \"TrackingItemID\":\"af5e9ce2-2349-4136-be99-3561b189f473\", \"NumberOfUnits\":[ 2.0, 10.0, 0.0, 0.0, 5.0, 0.0, 5.0 ], \"UpdatedDateUTC\":\"/Date(1573516185127+0000)/\" } ] } ]"
86348653 }
8635- }
8654+ },
8655+ "required" : true
86368656}
86378657 </script>
86388658 </table>
0 commit comments