xero-ruby 2.8.2 → 2.10.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +153 -98
- data/lib/xero-ruby/api/accounting_api.rb +451 -224
- data/lib/xero-ruby/api/asset_api.rb +12 -6
- data/lib/xero-ruby/api/files_api.rb +34 -17
- data/lib/xero-ruby/api/payroll_au_api.rb +58 -29
- data/lib/xero-ruby/api/payroll_nz_api.rb +136 -68
- data/lib/xero-ruby/api/payroll_uk_api.rb +140 -70
- data/lib/xero-ruby/api/project_api.rb +26 -13
- data/lib/xero-ruby/api_client.rb +101 -13
- data/lib/xero-ruby/configuration.rb +14 -1
- data/lib/xero-ruby/models/payroll_au/deduction_line.rb +0 -5
- data/lib/xero-ruby/models/payroll_uk/salary_and_wage.rb +3 -2
- data/lib/xero-ruby/models/projects/time_entry.rb +3 -2
- data/lib/xero-ruby/version.rb +2 -2
- data/spec/api_client_spec.rb +171 -4
- data/spec/configuration_spec.rb +17 -0
- metadata +23 -3
@@ -31,7 +31,8 @@ module XeroRuby
|
|
31
31
|
# @param timesheet_id [String] Identifier for the timesheet
|
32
32
|
# @param [Hash] opts the optional parameters
|
33
33
|
# @return [Array<(TimesheetObject, Integer, Hash)>] TimesheetObject data, response status code and response headers
|
34
|
-
def approve_timesheet_with_http_info(xero_tenant_id, timesheet_id,
|
34
|
+
def approve_timesheet_with_http_info(xero_tenant_id, timesheet_id, options = {})
|
35
|
+
opts = options.dup
|
35
36
|
if @api_client.config.debugging
|
36
37
|
@api_client.config.logger.debug 'Calling API: PayrollNzApi.approve_timesheet ...'
|
37
38
|
end
|
@@ -105,7 +106,8 @@ module XeroRuby
|
|
105
106
|
# @param deduction [Deduction]
|
106
107
|
# @param [Hash] opts the optional parameters
|
107
108
|
# @return [Array<(DeductionObject, Integer, Hash)>] DeductionObject data, response status code and response headers
|
108
|
-
def create_deduction_with_http_info(xero_tenant_id, deduction,
|
109
|
+
def create_deduction_with_http_info(xero_tenant_id, deduction, options = {})
|
110
|
+
opts = options.dup
|
109
111
|
if @api_client.config.debugging
|
110
112
|
@api_client.config.logger.debug 'Calling API: PayrollNzApi.create_deduction ...'
|
111
113
|
end
|
@@ -181,7 +183,8 @@ module XeroRuby
|
|
181
183
|
# @param earnings_rate [EarningsRate]
|
182
184
|
# @param [Hash] opts the optional parameters
|
183
185
|
# @return [Array<(EarningsRateObject, Integer, Hash)>] EarningsRateObject data, response status code and response headers
|
184
|
-
def create_earnings_rate_with_http_info(xero_tenant_id, earnings_rate,
|
186
|
+
def create_earnings_rate_with_http_info(xero_tenant_id, earnings_rate, options = {})
|
187
|
+
opts = options.dup
|
185
188
|
if @api_client.config.debugging
|
186
189
|
@api_client.config.logger.debug 'Calling API: PayrollNzApi.create_earnings_rate ...'
|
187
190
|
end
|
@@ -257,7 +260,8 @@ module XeroRuby
|
|
257
260
|
# @param employee [Employee]
|
258
261
|
# @param [Hash] opts the optional parameters
|
259
262
|
# @return [Array<(EmployeeObject, Integer, Hash)>] EmployeeObject data, response status code and response headers
|
260
|
-
def create_employee_with_http_info(xero_tenant_id, employee,
|
263
|
+
def create_employee_with_http_info(xero_tenant_id, employee, options = {})
|
264
|
+
opts = options.dup
|
261
265
|
if @api_client.config.debugging
|
262
266
|
@api_client.config.logger.debug 'Calling API: PayrollNzApi.create_employee ...'
|
263
267
|
end
|
@@ -335,7 +339,8 @@ module XeroRuby
|
|
335
339
|
# @param earnings_template [EarningsTemplate]
|
336
340
|
# @param [Hash] opts the optional parameters
|
337
341
|
# @return [Array<(EarningsTemplateObject, Integer, Hash)>] EarningsTemplateObject data, response status code and response headers
|
338
|
-
def create_employee_earnings_template_with_http_info(xero_tenant_id, employee_id, earnings_template,
|
342
|
+
def create_employee_earnings_template_with_http_info(xero_tenant_id, employee_id, earnings_template, options = {})
|
343
|
+
opts = options.dup
|
339
344
|
if @api_client.config.debugging
|
340
345
|
@api_client.config.logger.debug 'Calling API: PayrollNzApi.create_employee_earnings_template ...'
|
341
346
|
end
|
@@ -417,7 +422,8 @@ module XeroRuby
|
|
417
422
|
# @param employee_leave [EmployeeLeave]
|
418
423
|
# @param [Hash] opts the optional parameters
|
419
424
|
# @return [Array<(EmployeeLeaveObject, Integer, Hash)>] EmployeeLeaveObject data, response status code and response headers
|
420
|
-
def create_employee_leave_with_http_info(xero_tenant_id, employee_id, employee_leave,
|
425
|
+
def create_employee_leave_with_http_info(xero_tenant_id, employee_id, employee_leave, options = {})
|
426
|
+
opts = options.dup
|
421
427
|
if @api_client.config.debugging
|
422
428
|
@api_client.config.logger.debug 'Calling API: PayrollNzApi.create_employee_leave ...'
|
423
429
|
end
|
@@ -499,7 +505,8 @@ module XeroRuby
|
|
499
505
|
# @param employee_leave_setup [EmployeeLeaveSetup]
|
500
506
|
# @param [Hash] opts the optional parameters
|
501
507
|
# @return [Array<(EmployeeLeaveSetupObject, Integer, Hash)>] EmployeeLeaveSetupObject data, response status code and response headers
|
502
|
-
def create_employee_leave_setup_with_http_info(xero_tenant_id, employee_id, employee_leave_setup,
|
508
|
+
def create_employee_leave_setup_with_http_info(xero_tenant_id, employee_id, employee_leave_setup, options = {})
|
509
|
+
opts = options.dup
|
503
510
|
if @api_client.config.debugging
|
504
511
|
@api_client.config.logger.debug 'Calling API: PayrollNzApi.create_employee_leave_setup ...'
|
505
512
|
end
|
@@ -581,7 +588,8 @@ module XeroRuby
|
|
581
588
|
# @param employee_leave_type [EmployeeLeaveType]
|
582
589
|
# @param [Hash] opts the optional parameters
|
583
590
|
# @return [Array<(EmployeeLeaveTypeObject, Integer, Hash)>] EmployeeLeaveTypeObject data, response status code and response headers
|
584
|
-
def create_employee_leave_type_with_http_info(xero_tenant_id, employee_id, employee_leave_type,
|
591
|
+
def create_employee_leave_type_with_http_info(xero_tenant_id, employee_id, employee_leave_type, options = {})
|
592
|
+
opts = options.dup
|
585
593
|
if @api_client.config.debugging
|
586
594
|
@api_client.config.logger.debug 'Calling API: PayrollNzApi.create_employee_leave_type ...'
|
587
595
|
end
|
@@ -663,7 +671,8 @@ module XeroRuby
|
|
663
671
|
# @param employee_opening_balance [Array<EmployeeOpeningBalance>]
|
664
672
|
# @param [Hash] opts the optional parameters
|
665
673
|
# @return [Array<(EmployeeOpeningBalancesObject, Integer, Hash)>] EmployeeOpeningBalancesObject data, response status code and response headers
|
666
|
-
def create_employee_opening_balances_with_http_info(xero_tenant_id, employee_id, employee_opening_balance,
|
674
|
+
def create_employee_opening_balances_with_http_info(xero_tenant_id, employee_id, employee_opening_balance, options = {})
|
675
|
+
opts = options.dup
|
667
676
|
if @api_client.config.debugging
|
668
677
|
@api_client.config.logger.debug 'Calling API: PayrollNzApi.create_employee_opening_balances ...'
|
669
678
|
end
|
@@ -745,7 +754,8 @@ module XeroRuby
|
|
745
754
|
# @param payment_method [PaymentMethod]
|
746
755
|
# @param [Hash] opts the optional parameters
|
747
756
|
# @return [Array<(PaymentMethodObject, Integer, Hash)>] PaymentMethodObject data, response status code and response headers
|
748
|
-
def create_employee_payment_method_with_http_info(xero_tenant_id, employee_id, payment_method,
|
757
|
+
def create_employee_payment_method_with_http_info(xero_tenant_id, employee_id, payment_method, options = {})
|
758
|
+
opts = options.dup
|
749
759
|
if @api_client.config.debugging
|
750
760
|
@api_client.config.logger.debug 'Calling API: PayrollNzApi.create_employee_payment_method ...'
|
751
761
|
end
|
@@ -827,7 +837,8 @@ module XeroRuby
|
|
827
837
|
# @param salary_and_wage [SalaryAndWage]
|
828
838
|
# @param [Hash] opts the optional parameters
|
829
839
|
# @return [Array<(SalaryAndWageObject, Integer, Hash)>] SalaryAndWageObject data, response status code and response headers
|
830
|
-
def create_employee_salary_and_wage_with_http_info(xero_tenant_id, employee_id, salary_and_wage,
|
840
|
+
def create_employee_salary_and_wage_with_http_info(xero_tenant_id, employee_id, salary_and_wage, options = {})
|
841
|
+
opts = options.dup
|
831
842
|
if @api_client.config.debugging
|
832
843
|
@api_client.config.logger.debug 'Calling API: PayrollNzApi.create_employee_salary_and_wage ...'
|
833
844
|
end
|
@@ -909,7 +920,8 @@ module XeroRuby
|
|
909
920
|
# @param employment [Employment]
|
910
921
|
# @param [Hash] opts the optional parameters
|
911
922
|
# @return [Array<(EmploymentObject, Integer, Hash)>] EmploymentObject data, response status code and response headers
|
912
|
-
def create_employment_with_http_info(xero_tenant_id, employee_id, employment,
|
923
|
+
def create_employment_with_http_info(xero_tenant_id, employee_id, employment, options = {})
|
924
|
+
opts = options.dup
|
913
925
|
if @api_client.config.debugging
|
914
926
|
@api_client.config.logger.debug 'Calling API: PayrollNzApi.create_employment ...'
|
915
927
|
end
|
@@ -989,7 +1001,8 @@ module XeroRuby
|
|
989
1001
|
# @param leave_type [LeaveType]
|
990
1002
|
# @param [Hash] opts the optional parameters
|
991
1003
|
# @return [Array<(LeaveTypeObject, Integer, Hash)>] LeaveTypeObject data, response status code and response headers
|
992
|
-
def create_leave_type_with_http_info(xero_tenant_id, leave_type,
|
1004
|
+
def create_leave_type_with_http_info(xero_tenant_id, leave_type, options = {})
|
1005
|
+
opts = options.dup
|
993
1006
|
if @api_client.config.debugging
|
994
1007
|
@api_client.config.logger.debug 'Calling API: PayrollNzApi.create_leave_type ...'
|
995
1008
|
end
|
@@ -1067,7 +1080,8 @@ module XeroRuby
|
|
1067
1080
|
# @param earnings_template [Array<EarningsTemplate>]
|
1068
1081
|
# @param [Hash] opts the optional parameters
|
1069
1082
|
# @return [Array<(EmployeeEarningsTemplates, Integer, Hash)>] EmployeeEarningsTemplates data, response status code and response headers
|
1070
|
-
def create_multiple_employee_earnings_template_with_http_info(xero_tenant_id, employee_id, earnings_template,
|
1083
|
+
def create_multiple_employee_earnings_template_with_http_info(xero_tenant_id, employee_id, earnings_template, options = {})
|
1084
|
+
opts = options.dup
|
1071
1085
|
if @api_client.config.debugging
|
1072
1086
|
@api_client.config.logger.debug 'Calling API: PayrollNzApi.create_multiple_employee_earnings_template ...'
|
1073
1087
|
end
|
@@ -1147,7 +1161,8 @@ module XeroRuby
|
|
1147
1161
|
# @param pay_run [PayRun]
|
1148
1162
|
# @param [Hash] opts the optional parameters
|
1149
1163
|
# @return [Array<(PayRunObject, Integer, Hash)>] PayRunObject data, response status code and response headers
|
1150
|
-
def create_pay_run_with_http_info(xero_tenant_id, pay_run,
|
1164
|
+
def create_pay_run_with_http_info(xero_tenant_id, pay_run, options = {})
|
1165
|
+
opts = options.dup
|
1151
1166
|
if @api_client.config.debugging
|
1152
1167
|
@api_client.config.logger.debug 'Calling API: PayrollNzApi.create_pay_run ...'
|
1153
1168
|
end
|
@@ -1223,7 +1238,8 @@ module XeroRuby
|
|
1223
1238
|
# @param pay_run_calendar [PayRunCalendar]
|
1224
1239
|
# @param [Hash] opts the optional parameters
|
1225
1240
|
# @return [Array<(PayRunCalendarObject, Integer, Hash)>] PayRunCalendarObject data, response status code and response headers
|
1226
|
-
def create_pay_run_calendar_with_http_info(xero_tenant_id, pay_run_calendar,
|
1241
|
+
def create_pay_run_calendar_with_http_info(xero_tenant_id, pay_run_calendar, options = {})
|
1242
|
+
opts = options.dup
|
1227
1243
|
if @api_client.config.debugging
|
1228
1244
|
@api_client.config.logger.debug 'Calling API: PayrollNzApi.create_pay_run_calendar ...'
|
1229
1245
|
end
|
@@ -1299,7 +1315,8 @@ module XeroRuby
|
|
1299
1315
|
# @param reimbursement [Reimbursement]
|
1300
1316
|
# @param [Hash] opts the optional parameters
|
1301
1317
|
# @return [Array<(ReimbursementObject, Integer, Hash)>] ReimbursementObject data, response status code and response headers
|
1302
|
-
def create_reimbursement_with_http_info(xero_tenant_id, reimbursement,
|
1318
|
+
def create_reimbursement_with_http_info(xero_tenant_id, reimbursement, options = {})
|
1319
|
+
opts = options.dup
|
1303
1320
|
if @api_client.config.debugging
|
1304
1321
|
@api_client.config.logger.debug 'Calling API: PayrollNzApi.create_reimbursement ...'
|
1305
1322
|
end
|
@@ -1375,7 +1392,8 @@ module XeroRuby
|
|
1375
1392
|
# @param benefit [Benefit]
|
1376
1393
|
# @param [Hash] opts the optional parameters
|
1377
1394
|
# @return [Array<(SuperannuationObject, Integer, Hash)>] SuperannuationObject data, response status code and response headers
|
1378
|
-
def create_superannuation_with_http_info(xero_tenant_id, benefit,
|
1395
|
+
def create_superannuation_with_http_info(xero_tenant_id, benefit, options = {})
|
1396
|
+
opts = options.dup
|
1379
1397
|
if @api_client.config.debugging
|
1380
1398
|
@api_client.config.logger.debug 'Calling API: PayrollNzApi.create_superannuation ...'
|
1381
1399
|
end
|
@@ -1451,7 +1469,8 @@ module XeroRuby
|
|
1451
1469
|
# @param timesheet [Timesheet]
|
1452
1470
|
# @param [Hash] opts the optional parameters
|
1453
1471
|
# @return [Array<(TimesheetObject, Integer, Hash)>] TimesheetObject data, response status code and response headers
|
1454
|
-
def create_timesheet_with_http_info(xero_tenant_id, timesheet,
|
1472
|
+
def create_timesheet_with_http_info(xero_tenant_id, timesheet, options = {})
|
1473
|
+
opts = options.dup
|
1455
1474
|
if @api_client.config.debugging
|
1456
1475
|
@api_client.config.logger.debug 'Calling API: PayrollNzApi.create_timesheet ...'
|
1457
1476
|
end
|
@@ -1529,7 +1548,8 @@ module XeroRuby
|
|
1529
1548
|
# @param timesheet_line [TimesheetLine]
|
1530
1549
|
# @param [Hash] opts the optional parameters
|
1531
1550
|
# @return [Array<(TimesheetLineObject, Integer, Hash)>] TimesheetLineObject data, response status code and response headers
|
1532
|
-
def create_timesheet_line_with_http_info(xero_tenant_id, timesheet_id, timesheet_line,
|
1551
|
+
def create_timesheet_line_with_http_info(xero_tenant_id, timesheet_id, timesheet_line, options = {})
|
1552
|
+
opts = options.dup
|
1533
1553
|
if @api_client.config.debugging
|
1534
1554
|
@api_client.config.logger.debug 'Calling API: PayrollNzApi.create_timesheet_line ...'
|
1535
1555
|
end
|
@@ -1611,7 +1631,8 @@ module XeroRuby
|
|
1611
1631
|
# @param pay_template_earning_id [String] Id for single pay template earnings object
|
1612
1632
|
# @param [Hash] opts the optional parameters
|
1613
1633
|
# @return [Array<(EarningsTemplateObject, Integer, Hash)>] EarningsTemplateObject data, response status code and response headers
|
1614
|
-
def delete_employee_earnings_template_with_http_info(xero_tenant_id, employee_id, pay_template_earning_id,
|
1634
|
+
def delete_employee_earnings_template_with_http_info(xero_tenant_id, employee_id, pay_template_earning_id, options = {})
|
1635
|
+
opts = options.dup
|
1615
1636
|
if @api_client.config.debugging
|
1616
1637
|
@api_client.config.logger.debug 'Calling API: PayrollNzApi.delete_employee_earnings_template ...'
|
1617
1638
|
end
|
@@ -1691,7 +1712,8 @@ module XeroRuby
|
|
1691
1712
|
# @param leave_id [String] Leave id for single object
|
1692
1713
|
# @param [Hash] opts the optional parameters
|
1693
1714
|
# @return [Array<(EmployeeLeaveObject, Integer, Hash)>] EmployeeLeaveObject data, response status code and response headers
|
1694
|
-
def delete_employee_leave_with_http_info(xero_tenant_id, employee_id, leave_id,
|
1715
|
+
def delete_employee_leave_with_http_info(xero_tenant_id, employee_id, leave_id, options = {})
|
1716
|
+
opts = options.dup
|
1695
1717
|
if @api_client.config.debugging
|
1696
1718
|
@api_client.config.logger.debug 'Calling API: PayrollNzApi.delete_employee_leave ...'
|
1697
1719
|
end
|
@@ -1771,7 +1793,8 @@ module XeroRuby
|
|
1771
1793
|
# @param salary_and_wages_id [String] Id for single salary and wages object
|
1772
1794
|
# @param [Hash] opts the optional parameters
|
1773
1795
|
# @return [Array<(SalaryAndWageObject, Integer, Hash)>] SalaryAndWageObject data, response status code and response headers
|
1774
|
-
def delete_employee_salary_and_wage_with_http_info(xero_tenant_id, employee_id, salary_and_wages_id,
|
1796
|
+
def delete_employee_salary_and_wage_with_http_info(xero_tenant_id, employee_id, salary_and_wages_id, options = {})
|
1797
|
+
opts = options.dup
|
1775
1798
|
if @api_client.config.debugging
|
1776
1799
|
@api_client.config.logger.debug 'Calling API: PayrollNzApi.delete_employee_salary_and_wage ...'
|
1777
1800
|
end
|
@@ -1849,7 +1872,8 @@ module XeroRuby
|
|
1849
1872
|
# @param timesheet_id [String] Identifier for the timesheet
|
1850
1873
|
# @param [Hash] opts the optional parameters
|
1851
1874
|
# @return [Array<(TimesheetLine, Integer, Hash)>] TimesheetLine data, response status code and response headers
|
1852
|
-
def delete_timesheet_with_http_info(xero_tenant_id, timesheet_id,
|
1875
|
+
def delete_timesheet_with_http_info(xero_tenant_id, timesheet_id, options = {})
|
1876
|
+
opts = options.dup
|
1853
1877
|
if @api_client.config.debugging
|
1854
1878
|
@api_client.config.logger.debug 'Calling API: PayrollNzApi.delete_timesheet ...'
|
1855
1879
|
end
|
@@ -1925,7 +1949,8 @@ module XeroRuby
|
|
1925
1949
|
# @param timesheet_line_id [String] Identifier for the timesheet line
|
1926
1950
|
# @param [Hash] opts the optional parameters
|
1927
1951
|
# @return [Array<(TimesheetLine, Integer, Hash)>] TimesheetLine data, response status code and response headers
|
1928
|
-
def delete_timesheet_line_with_http_info(xero_tenant_id, timesheet_id, timesheet_line_id,
|
1952
|
+
def delete_timesheet_line_with_http_info(xero_tenant_id, timesheet_id, timesheet_line_id, options = {})
|
1953
|
+
opts = options.dup
|
1929
1954
|
if @api_client.config.debugging
|
1930
1955
|
@api_client.config.logger.debug 'Calling API: PayrollNzApi.delete_timesheet_line ...'
|
1931
1956
|
end
|
@@ -2003,7 +2028,8 @@ module XeroRuby
|
|
2003
2028
|
# @param deduction_id [String] Identifier for the deduction
|
2004
2029
|
# @param [Hash] opts the optional parameters
|
2005
2030
|
# @return [Array<(DeductionObject, Integer, Hash)>] DeductionObject data, response status code and response headers
|
2006
|
-
def get_deduction_with_http_info(xero_tenant_id, deduction_id,
|
2031
|
+
def get_deduction_with_http_info(xero_tenant_id, deduction_id, options = {})
|
2032
|
+
opts = options.dup
|
2007
2033
|
if @api_client.config.debugging
|
2008
2034
|
@api_client.config.logger.debug 'Calling API: PayrollNzApi.get_deduction ...'
|
2009
2035
|
end
|
@@ -2077,7 +2103,8 @@ module XeroRuby
|
|
2077
2103
|
# @param [Hash] opts the optional parameters
|
2078
2104
|
# @option opts [Integer] :page Page number which specifies the set of records to retrieve. By default the number of the records per set is 100.
|
2079
2105
|
# @return [Array<(Deductions, Integer, Hash)>] Deductions data, response status code and response headers
|
2080
|
-
def get_deductions_with_http_info(xero_tenant_id,
|
2106
|
+
def get_deductions_with_http_info(xero_tenant_id, options = {})
|
2107
|
+
opts = options.dup
|
2081
2108
|
if @api_client.config.debugging
|
2082
2109
|
@api_client.config.logger.debug 'Calling API: PayrollNzApi.get_deductions ...'
|
2083
2110
|
end
|
@@ -2148,7 +2175,8 @@ module XeroRuby
|
|
2148
2175
|
# @param earnings_rate_id [String] Identifier for the earnings rate
|
2149
2176
|
# @param [Hash] opts the optional parameters
|
2150
2177
|
# @return [Array<(EarningsRateObject, Integer, Hash)>] EarningsRateObject data, response status code and response headers
|
2151
|
-
def get_earnings_rate_with_http_info(xero_tenant_id, earnings_rate_id,
|
2178
|
+
def get_earnings_rate_with_http_info(xero_tenant_id, earnings_rate_id, options = {})
|
2179
|
+
opts = options.dup
|
2152
2180
|
if @api_client.config.debugging
|
2153
2181
|
@api_client.config.logger.debug 'Calling API: PayrollNzApi.get_earnings_rate ...'
|
2154
2182
|
end
|
@@ -2222,7 +2250,8 @@ module XeroRuby
|
|
2222
2250
|
# @param [Hash] opts the optional parameters
|
2223
2251
|
# @option opts [Integer] :page Page number which specifies the set of records to retrieve. By default the number of the records per set is 100.
|
2224
2252
|
# @return [Array<(EarningsRates, Integer, Hash)>] EarningsRates data, response status code and response headers
|
2225
|
-
def get_earnings_rates_with_http_info(xero_tenant_id,
|
2253
|
+
def get_earnings_rates_with_http_info(xero_tenant_id, options = {})
|
2254
|
+
opts = options.dup
|
2226
2255
|
if @api_client.config.debugging
|
2227
2256
|
@api_client.config.logger.debug 'Calling API: PayrollNzApi.get_earnings_rates ...'
|
2228
2257
|
end
|
@@ -2293,7 +2322,8 @@ module XeroRuby
|
|
2293
2322
|
# @param employee_id [String] Employee id for single object
|
2294
2323
|
# @param [Hash] opts the optional parameters
|
2295
2324
|
# @return [Array<(EmployeeObject, Integer, Hash)>] EmployeeObject data, response status code and response headers
|
2296
|
-
def get_employee_with_http_info(xero_tenant_id, employee_id,
|
2325
|
+
def get_employee_with_http_info(xero_tenant_id, employee_id, options = {})
|
2326
|
+
opts = options.dup
|
2297
2327
|
if @api_client.config.debugging
|
2298
2328
|
@api_client.config.logger.debug 'Calling API: PayrollNzApi.get_employee ...'
|
2299
2329
|
end
|
@@ -2367,7 +2397,8 @@ module XeroRuby
|
|
2367
2397
|
# @param employee_id [String] Employee id for single object
|
2368
2398
|
# @param [Hash] opts the optional parameters
|
2369
2399
|
# @return [Array<(EmployeeLeaveBalances, Integer, Hash)>] EmployeeLeaveBalances data, response status code and response headers
|
2370
|
-
def get_employee_leave_balances_with_http_info(xero_tenant_id, employee_id,
|
2400
|
+
def get_employee_leave_balances_with_http_info(xero_tenant_id, employee_id, options = {})
|
2401
|
+
opts = options.dup
|
2371
2402
|
if @api_client.config.debugging
|
2372
2403
|
@api_client.config.logger.debug 'Calling API: PayrollNzApi.get_employee_leave_balances ...'
|
2373
2404
|
end
|
@@ -2445,7 +2476,8 @@ module XeroRuby
|
|
2445
2476
|
# @option opts [Date] :start_date Filter by start date
|
2446
2477
|
# @option opts [Date] :end_date Filter by end date
|
2447
2478
|
# @return [Array<(LeavePeriods, Integer, Hash)>] LeavePeriods data, response status code and response headers
|
2448
|
-
def get_employee_leave_periods_with_http_info(xero_tenant_id, employee_id,
|
2479
|
+
def get_employee_leave_periods_with_http_info(xero_tenant_id, employee_id, options = {})
|
2480
|
+
opts = options.dup
|
2449
2481
|
if @api_client.config.debugging
|
2450
2482
|
@api_client.config.logger.debug 'Calling API: PayrollNzApi.get_employee_leave_periods ...'
|
2451
2483
|
end
|
@@ -2521,7 +2553,8 @@ module XeroRuby
|
|
2521
2553
|
# @param employee_id [String] Employee id for single object
|
2522
2554
|
# @param [Hash] opts the optional parameters
|
2523
2555
|
# @return [Array<(EmployeeLeaveTypes, Integer, Hash)>] EmployeeLeaveTypes data, response status code and response headers
|
2524
|
-
def get_employee_leave_types_with_http_info(xero_tenant_id, employee_id,
|
2556
|
+
def get_employee_leave_types_with_http_info(xero_tenant_id, employee_id, options = {})
|
2557
|
+
opts = options.dup
|
2525
2558
|
if @api_client.config.debugging
|
2526
2559
|
@api_client.config.logger.debug 'Calling API: PayrollNzApi.get_employee_leave_types ...'
|
2527
2560
|
end
|
@@ -2595,7 +2628,8 @@ module XeroRuby
|
|
2595
2628
|
# @param employee_id [String] Employee id for single object
|
2596
2629
|
# @param [Hash] opts the optional parameters
|
2597
2630
|
# @return [Array<(EmployeeLeaves, Integer, Hash)>] EmployeeLeaves data, response status code and response headers
|
2598
|
-
def get_employee_leaves_with_http_info(xero_tenant_id, employee_id,
|
2631
|
+
def get_employee_leaves_with_http_info(xero_tenant_id, employee_id, options = {})
|
2632
|
+
opts = options.dup
|
2599
2633
|
if @api_client.config.debugging
|
2600
2634
|
@api_client.config.logger.debug 'Calling API: PayrollNzApi.get_employee_leaves ...'
|
2601
2635
|
end
|
@@ -2669,7 +2703,8 @@ module XeroRuby
|
|
2669
2703
|
# @param employee_id [String] Employee id for single object
|
2670
2704
|
# @param [Hash] opts the optional parameters
|
2671
2705
|
# @return [Array<(EmployeeOpeningBalancesObject, Integer, Hash)>] EmployeeOpeningBalancesObject data, response status code and response headers
|
2672
|
-
def get_employee_opening_balances_with_http_info(xero_tenant_id, employee_id,
|
2706
|
+
def get_employee_opening_balances_with_http_info(xero_tenant_id, employee_id, options = {})
|
2707
|
+
opts = options.dup
|
2673
2708
|
if @api_client.config.debugging
|
2674
2709
|
@api_client.config.logger.debug 'Calling API: PayrollNzApi.get_employee_opening_balances ...'
|
2675
2710
|
end
|
@@ -2743,7 +2778,8 @@ module XeroRuby
|
|
2743
2778
|
# @param employee_id [String] Employee id for single object
|
2744
2779
|
# @param [Hash] opts the optional parameters
|
2745
2780
|
# @return [Array<(EmployeePayTemplates, Integer, Hash)>] EmployeePayTemplates data, response status code and response headers
|
2746
|
-
def get_employee_pay_templates_with_http_info(xero_tenant_id, employee_id,
|
2781
|
+
def get_employee_pay_templates_with_http_info(xero_tenant_id, employee_id, options = {})
|
2782
|
+
opts = options.dup
|
2747
2783
|
if @api_client.config.debugging
|
2748
2784
|
@api_client.config.logger.debug 'Calling API: PayrollNzApi.get_employee_pay_templates ...'
|
2749
2785
|
end
|
@@ -2817,7 +2853,8 @@ module XeroRuby
|
|
2817
2853
|
# @param employee_id [String] Employee id for single object
|
2818
2854
|
# @param [Hash] opts the optional parameters
|
2819
2855
|
# @return [Array<(PaymentMethodObject, Integer, Hash)>] PaymentMethodObject data, response status code and response headers
|
2820
|
-
def get_employee_payment_method_with_http_info(xero_tenant_id, employee_id,
|
2856
|
+
def get_employee_payment_method_with_http_info(xero_tenant_id, employee_id, options = {})
|
2857
|
+
opts = options.dup
|
2821
2858
|
if @api_client.config.debugging
|
2822
2859
|
@api_client.config.logger.debug 'Calling API: PayrollNzApi.get_employee_payment_method ...'
|
2823
2860
|
end
|
@@ -2893,7 +2930,8 @@ module XeroRuby
|
|
2893
2930
|
# @param salary_and_wages_id [String] Id for single pay template earnings object
|
2894
2931
|
# @param [Hash] opts the optional parameters
|
2895
2932
|
# @return [Array<(SalaryAndWages, Integer, Hash)>] SalaryAndWages data, response status code and response headers
|
2896
|
-
def get_employee_salary_and_wage_with_http_info(xero_tenant_id, employee_id, salary_and_wages_id,
|
2933
|
+
def get_employee_salary_and_wage_with_http_info(xero_tenant_id, employee_id, salary_and_wages_id, options = {})
|
2934
|
+
opts = options.dup
|
2897
2935
|
if @api_client.config.debugging
|
2898
2936
|
@api_client.config.logger.debug 'Calling API: PayrollNzApi.get_employee_salary_and_wage ...'
|
2899
2937
|
end
|
@@ -2973,7 +3011,8 @@ module XeroRuby
|
|
2973
3011
|
# @param [Hash] opts the optional parameters
|
2974
3012
|
# @option opts [Integer] :page Page number which specifies the set of records to retrieve. By default the number of the records per set is 100.
|
2975
3013
|
# @return [Array<(SalaryAndWages, Integer, Hash)>] SalaryAndWages data, response status code and response headers
|
2976
|
-
def get_employee_salary_and_wages_with_http_info(xero_tenant_id, employee_id,
|
3014
|
+
def get_employee_salary_and_wages_with_http_info(xero_tenant_id, employee_id, options = {})
|
3015
|
+
opts = options.dup
|
2977
3016
|
if @api_client.config.debugging
|
2978
3017
|
@api_client.config.logger.debug 'Calling API: PayrollNzApi.get_employee_salary_and_wages ...'
|
2979
3018
|
end
|
@@ -3048,7 +3087,8 @@ module XeroRuby
|
|
3048
3087
|
# @param employee_id [String] Employee id for single object
|
3049
3088
|
# @param [Hash] opts the optional parameters
|
3050
3089
|
# @return [Array<(EmployeeTaxObject, Integer, Hash)>] EmployeeTaxObject data, response status code and response headers
|
3051
|
-
def get_employee_tax_with_http_info(xero_tenant_id, employee_id,
|
3090
|
+
def get_employee_tax_with_http_info(xero_tenant_id, employee_id, options = {})
|
3091
|
+
opts = options.dup
|
3052
3092
|
if @api_client.config.debugging
|
3053
3093
|
@api_client.config.logger.debug 'Calling API: PayrollNzApi.get_employee_tax ...'
|
3054
3094
|
end
|
@@ -3126,7 +3166,8 @@ module XeroRuby
|
|
3126
3166
|
# @option opts [String] :last_name Filter by last name
|
3127
3167
|
# @option opts [Integer] :page Page number which specifies the set of records to retrieve. By default the number of the records per set is 100.
|
3128
3168
|
# @return [Array<(Employees, Integer, Hash)>] Employees data, response status code and response headers
|
3129
|
-
def get_employees_with_http_info(xero_tenant_id,
|
3169
|
+
def get_employees_with_http_info(xero_tenant_id, options = {})
|
3170
|
+
opts = options.dup
|
3130
3171
|
if @api_client.config.debugging
|
3131
3172
|
@api_client.config.logger.debug 'Calling API: PayrollNzApi.get_employees ...'
|
3132
3173
|
end
|
@@ -3199,7 +3240,8 @@ module XeroRuby
|
|
3199
3240
|
# @param leave_type_id [String] Identifier for the leave type
|
3200
3241
|
# @param [Hash] opts the optional parameters
|
3201
3242
|
# @return [Array<(LeaveTypeObject, Integer, Hash)>] LeaveTypeObject data, response status code and response headers
|
3202
|
-
def get_leave_type_with_http_info(xero_tenant_id, leave_type_id,
|
3243
|
+
def get_leave_type_with_http_info(xero_tenant_id, leave_type_id, options = {})
|
3244
|
+
opts = options.dup
|
3203
3245
|
if @api_client.config.debugging
|
3204
3246
|
@api_client.config.logger.debug 'Calling API: PayrollNzApi.get_leave_type ...'
|
3205
3247
|
end
|
@@ -3275,7 +3317,8 @@ module XeroRuby
|
|
3275
3317
|
# @option opts [Integer] :page Page number which specifies the set of records to retrieve. By default the number of the records per set is 100.
|
3276
3318
|
# @option opts [Boolean] :active_only Filters leave types by active status. By default the API returns all leave types.
|
3277
3319
|
# @return [Array<(LeaveTypes, Integer, Hash)>] LeaveTypes data, response status code and response headers
|
3278
|
-
def get_leave_types_with_http_info(xero_tenant_id,
|
3320
|
+
def get_leave_types_with_http_info(xero_tenant_id, options = {})
|
3321
|
+
opts = options.dup
|
3279
3322
|
if @api_client.config.debugging
|
3280
3323
|
@api_client.config.logger.debug 'Calling API: PayrollNzApi.get_leave_types ...'
|
3281
3324
|
end
|
@@ -3347,7 +3390,8 @@ module XeroRuby
|
|
3347
3390
|
# @param pay_run_id [String] Identifier for the pay run
|
3348
3391
|
# @param [Hash] opts the optional parameters
|
3349
3392
|
# @return [Array<(PayRunObject, Integer, Hash)>] PayRunObject data, response status code and response headers
|
3350
|
-
def get_pay_run_with_http_info(xero_tenant_id, pay_run_id,
|
3393
|
+
def get_pay_run_with_http_info(xero_tenant_id, pay_run_id, options = {})
|
3394
|
+
opts = options.dup
|
3351
3395
|
if @api_client.config.debugging
|
3352
3396
|
@api_client.config.logger.debug 'Calling API: PayrollNzApi.get_pay_run ...'
|
3353
3397
|
end
|
@@ -3421,7 +3465,8 @@ module XeroRuby
|
|
3421
3465
|
# @param payroll_calendar_id [String] Identifier for the payrun calendars
|
3422
3466
|
# @param [Hash] opts the optional parameters
|
3423
3467
|
# @return [Array<(PayRunCalendarObject, Integer, Hash)>] PayRunCalendarObject data, response status code and response headers
|
3424
|
-
def get_pay_run_calendar_with_http_info(xero_tenant_id, payroll_calendar_id,
|
3468
|
+
def get_pay_run_calendar_with_http_info(xero_tenant_id, payroll_calendar_id, options = {})
|
3469
|
+
opts = options.dup
|
3425
3470
|
if @api_client.config.debugging
|
3426
3471
|
@api_client.config.logger.debug 'Calling API: PayrollNzApi.get_pay_run_calendar ...'
|
3427
3472
|
end
|
@@ -3495,7 +3540,8 @@ module XeroRuby
|
|
3495
3540
|
# @param [Hash] opts the optional parameters
|
3496
3541
|
# @option opts [Integer] :page Page number which specifies the set of records to retrieve. By default the number of the records per set is 100.
|
3497
3542
|
# @return [Array<(PayRunCalendars, Integer, Hash)>] PayRunCalendars data, response status code and response headers
|
3498
|
-
def get_pay_run_calendars_with_http_info(xero_tenant_id,
|
3543
|
+
def get_pay_run_calendars_with_http_info(xero_tenant_id, options = {})
|
3544
|
+
opts = options.dup
|
3499
3545
|
if @api_client.config.debugging
|
3500
3546
|
@api_client.config.logger.debug 'Calling API: PayrollNzApi.get_pay_run_calendars ...'
|
3501
3547
|
end
|
@@ -3568,7 +3614,8 @@ module XeroRuby
|
|
3568
3614
|
# @option opts [Integer] :page Page number which specifies the set of records to retrieve. By default the number of the records per set is 100.
|
3569
3615
|
# @option opts [String] :status By default get payruns will return all the payruns for an organization. You can add GET https://api.xero.com/payroll.xro/2.0/payRuns?statu={PayRunStatus} to filter the payruns by status.
|
3570
3616
|
# @return [Array<(PayRuns, Integer, Hash)>] PayRuns data, response status code and response headers
|
3571
|
-
def get_pay_runs_with_http_info(xero_tenant_id,
|
3617
|
+
def get_pay_runs_with_http_info(xero_tenant_id, options = {})
|
3618
|
+
opts = options.dup
|
3572
3619
|
if @api_client.config.debugging
|
3573
3620
|
@api_client.config.logger.debug 'Calling API: PayrollNzApi.get_pay_runs ...'
|
3574
3621
|
end
|
@@ -3644,7 +3691,8 @@ module XeroRuby
|
|
3644
3691
|
# @param pay_slip_id [String] Identifier for the payslip
|
3645
3692
|
# @param [Hash] opts the optional parameters
|
3646
3693
|
# @return [Array<(PaySlipObject, Integer, Hash)>] PaySlipObject data, response status code and response headers
|
3647
|
-
def get_pay_slip_with_http_info(xero_tenant_id, pay_slip_id,
|
3694
|
+
def get_pay_slip_with_http_info(xero_tenant_id, pay_slip_id, options = {})
|
3695
|
+
opts = options.dup
|
3648
3696
|
if @api_client.config.debugging
|
3649
3697
|
@api_client.config.logger.debug 'Calling API: PayrollNzApi.get_pay_slip ...'
|
3650
3698
|
end
|
@@ -3720,7 +3768,8 @@ module XeroRuby
|
|
3720
3768
|
# @param [Hash] opts the optional parameters
|
3721
3769
|
# @option opts [Integer] :page Page number which specifies the set of records to retrieve. By default the number of the records per set is 100.
|
3722
3770
|
# @return [Array<(PaySlips, Integer, Hash)>] PaySlips data, response status code and response headers
|
3723
|
-
def get_pay_slips_with_http_info(xero_tenant_id, pay_run_id,
|
3771
|
+
def get_pay_slips_with_http_info(xero_tenant_id, pay_run_id, options = {})
|
3772
|
+
opts = options.dup
|
3724
3773
|
if @api_client.config.debugging
|
3725
3774
|
@api_client.config.logger.debug 'Calling API: PayrollNzApi.get_pay_slips ...'
|
3726
3775
|
end
|
@@ -3796,7 +3845,8 @@ module XeroRuby
|
|
3796
3845
|
# @param reimbursement_id [String] Identifier for the reimbursement
|
3797
3846
|
# @param [Hash] opts the optional parameters
|
3798
3847
|
# @return [Array<(ReimbursementObject, Integer, Hash)>] ReimbursementObject data, response status code and response headers
|
3799
|
-
def get_reimbursement_with_http_info(xero_tenant_id, reimbursement_id,
|
3848
|
+
def get_reimbursement_with_http_info(xero_tenant_id, reimbursement_id, options = {})
|
3849
|
+
opts = options.dup
|
3800
3850
|
if @api_client.config.debugging
|
3801
3851
|
@api_client.config.logger.debug 'Calling API: PayrollNzApi.get_reimbursement ...'
|
3802
3852
|
end
|
@@ -3870,7 +3920,8 @@ module XeroRuby
|
|
3870
3920
|
# @param [Hash] opts the optional parameters
|
3871
3921
|
# @option opts [Integer] :page Page number which specifies the set of records to retrieve. By default the number of the records per set is 100.
|
3872
3922
|
# @return [Array<(Reimbursements, Integer, Hash)>] Reimbursements data, response status code and response headers
|
3873
|
-
def get_reimbursements_with_http_info(xero_tenant_id,
|
3923
|
+
def get_reimbursements_with_http_info(xero_tenant_id, options = {})
|
3924
|
+
opts = options.dup
|
3874
3925
|
if @api_client.config.debugging
|
3875
3926
|
@api_client.config.logger.debug 'Calling API: PayrollNzApi.get_reimbursements ...'
|
3876
3927
|
end
|
@@ -3939,7 +3990,8 @@ module XeroRuby
|
|
3939
3990
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
3940
3991
|
# @param [Hash] opts the optional parameters
|
3941
3992
|
# @return [Array<(Settings, Integer, Hash)>] Settings data, response status code and response headers
|
3942
|
-
def get_settings_with_http_info(xero_tenant_id,
|
3993
|
+
def get_settings_with_http_info(xero_tenant_id, options = {})
|
3994
|
+
opts = options.dup
|
3943
3995
|
if @api_client.config.debugging
|
3944
3996
|
@api_client.config.logger.debug 'Calling API: PayrollNzApi.get_settings ...'
|
3945
3997
|
end
|
@@ -4009,7 +4061,8 @@ module XeroRuby
|
|
4009
4061
|
# @param id [String] Identifier for the statutory deduction
|
4010
4062
|
# @param [Hash] opts the optional parameters
|
4011
4063
|
# @return [Array<(StatutoryDeductionObject, Integer, Hash)>] StatutoryDeductionObject data, response status code and response headers
|
4012
|
-
def get_statutory_deduction_with_http_info(xero_tenant_id, id,
|
4064
|
+
def get_statutory_deduction_with_http_info(xero_tenant_id, id, options = {})
|
4065
|
+
opts = options.dup
|
4013
4066
|
if @api_client.config.debugging
|
4014
4067
|
@api_client.config.logger.debug 'Calling API: PayrollNzApi.get_statutory_deduction ...'
|
4015
4068
|
end
|
@@ -4083,7 +4136,8 @@ module XeroRuby
|
|
4083
4136
|
# @param [Hash] opts the optional parameters
|
4084
4137
|
# @option opts [Integer] :page Page number which specifies the set of records to retrieve. By default the number of the records per set is 100.
|
4085
4138
|
# @return [Array<(StatutoryDeductions, Integer, Hash)>] StatutoryDeductions data, response status code and response headers
|
4086
|
-
def get_statutory_deductions_with_http_info(xero_tenant_id,
|
4139
|
+
def get_statutory_deductions_with_http_info(xero_tenant_id, options = {})
|
4140
|
+
opts = options.dup
|
4087
4141
|
if @api_client.config.debugging
|
4088
4142
|
@api_client.config.logger.debug 'Calling API: PayrollNzApi.get_statutory_deductions ...'
|
4089
4143
|
end
|
@@ -4154,7 +4208,8 @@ module XeroRuby
|
|
4154
4208
|
# @param superannuation_id [String] Identifier for the superannuation
|
4155
4209
|
# @param [Hash] opts the optional parameters
|
4156
4210
|
# @return [Array<(SuperannuationObject, Integer, Hash)>] SuperannuationObject data, response status code and response headers
|
4157
|
-
def get_superannuation_with_http_info(xero_tenant_id, superannuation_id,
|
4211
|
+
def get_superannuation_with_http_info(xero_tenant_id, superannuation_id, options = {})
|
4212
|
+
opts = options.dup
|
4158
4213
|
if @api_client.config.debugging
|
4159
4214
|
@api_client.config.logger.debug 'Calling API: PayrollNzApi.get_superannuation ...'
|
4160
4215
|
end
|
@@ -4228,7 +4283,8 @@ module XeroRuby
|
|
4228
4283
|
# @param [Hash] opts the optional parameters
|
4229
4284
|
# @option opts [Integer] :page Page number which specifies the set of records to retrieve. By default the number of the records per set is 100.
|
4230
4285
|
# @return [Array<(Superannuations, Integer, Hash)>] Superannuations data, response status code and response headers
|
4231
|
-
def get_superannuations_with_http_info(xero_tenant_id,
|
4286
|
+
def get_superannuations_with_http_info(xero_tenant_id, options = {})
|
4287
|
+
opts = options.dup
|
4232
4288
|
if @api_client.config.debugging
|
4233
4289
|
@api_client.config.logger.debug 'Calling API: PayrollNzApi.get_superannuations ...'
|
4234
4290
|
end
|
@@ -4299,7 +4355,8 @@ module XeroRuby
|
|
4299
4355
|
# @param timesheet_id [String] Identifier for the timesheet
|
4300
4356
|
# @param [Hash] opts the optional parameters
|
4301
4357
|
# @return [Array<(TimesheetObject, Integer, Hash)>] TimesheetObject data, response status code and response headers
|
4302
|
-
def get_timesheet_with_http_info(xero_tenant_id, timesheet_id,
|
4358
|
+
def get_timesheet_with_http_info(xero_tenant_id, timesheet_id, options = {})
|
4359
|
+
opts = options.dup
|
4303
4360
|
if @api_client.config.debugging
|
4304
4361
|
@api_client.config.logger.debug 'Calling API: PayrollNzApi.get_timesheet ...'
|
4305
4362
|
end
|
@@ -4377,7 +4434,8 @@ module XeroRuby
|
|
4377
4434
|
# @option opts [String] :employee_id By default get Timesheets will return the timesheets for all employees in an organization. You can add GET https://…/timesheets?filter=employeeId=={EmployeeID} to get only the timesheets of a particular employee.
|
4378
4435
|
# @option opts [String] :payroll_calendar_id By default get Timesheets will return all the timesheets for an organization. You can add GET https://…/timesheets?filter=payrollCalendarId=={PayrollCalendarID} to filter the timesheets by payroll calendar id
|
4379
4436
|
# @return [Array<(Timesheets, Integer, Hash)>] Timesheets data, response status code and response headers
|
4380
|
-
def get_timesheets_with_http_info(xero_tenant_id,
|
4437
|
+
def get_timesheets_with_http_info(xero_tenant_id, options = {})
|
4438
|
+
opts = options.dup
|
4381
4439
|
if @api_client.config.debugging
|
4382
4440
|
@api_client.config.logger.debug 'Calling API: PayrollNzApi.get_timesheets ...'
|
4383
4441
|
end
|
@@ -4448,7 +4506,8 @@ module XeroRuby
|
|
4448
4506
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
4449
4507
|
# @param [Hash] opts the optional parameters
|
4450
4508
|
# @return [Array<(TrackingCategories, Integer, Hash)>] TrackingCategories data, response status code and response headers
|
4451
|
-
def get_tracking_categories_with_http_info(xero_tenant_id,
|
4509
|
+
def get_tracking_categories_with_http_info(xero_tenant_id, options = {})
|
4510
|
+
opts = options.dup
|
4452
4511
|
if @api_client.config.debugging
|
4453
4512
|
@api_client.config.logger.debug 'Calling API: PayrollNzApi.get_tracking_categories ...'
|
4454
4513
|
end
|
@@ -4518,7 +4577,8 @@ module XeroRuby
|
|
4518
4577
|
# @param timesheet_id [String] Identifier for the timesheet
|
4519
4578
|
# @param [Hash] opts the optional parameters
|
4520
4579
|
# @return [Array<(TimesheetObject, Integer, Hash)>] TimesheetObject data, response status code and response headers
|
4521
|
-
def revert_timesheet_with_http_info(xero_tenant_id, timesheet_id,
|
4580
|
+
def revert_timesheet_with_http_info(xero_tenant_id, timesheet_id, options = {})
|
4581
|
+
opts = options.dup
|
4522
4582
|
if @api_client.config.debugging
|
4523
4583
|
@api_client.config.logger.debug 'Calling API: PayrollNzApi.revert_timesheet ...'
|
4524
4584
|
end
|
@@ -4594,7 +4654,8 @@ module XeroRuby
|
|
4594
4654
|
# @param employee [Employee]
|
4595
4655
|
# @param [Hash] opts the optional parameters
|
4596
4656
|
# @return [Array<(EmployeeObject, Integer, Hash)>] EmployeeObject data, response status code and response headers
|
4597
|
-
def update_employee_with_http_info(xero_tenant_id, employee_id, employee,
|
4657
|
+
def update_employee_with_http_info(xero_tenant_id, employee_id, employee, options = {})
|
4658
|
+
opts = options.dup
|
4598
4659
|
if @api_client.config.debugging
|
4599
4660
|
@api_client.config.logger.debug 'Calling API: PayrollNzApi.update_employee ...'
|
4600
4661
|
end
|
@@ -4678,7 +4739,8 @@ module XeroRuby
|
|
4678
4739
|
# @param earnings_template [EarningsTemplate]
|
4679
4740
|
# @param [Hash] opts the optional parameters
|
4680
4741
|
# @return [Array<(EarningsTemplateObject, Integer, Hash)>] EarningsTemplateObject data, response status code and response headers
|
4681
|
-
def update_employee_earnings_template_with_http_info(xero_tenant_id, employee_id, pay_template_earning_id, earnings_template,
|
4742
|
+
def update_employee_earnings_template_with_http_info(xero_tenant_id, employee_id, pay_template_earning_id, earnings_template, options = {})
|
4743
|
+
opts = options.dup
|
4682
4744
|
if @api_client.config.debugging
|
4683
4745
|
@api_client.config.logger.debug 'Calling API: PayrollNzApi.update_employee_earnings_template ...'
|
4684
4746
|
end
|
@@ -4766,7 +4828,8 @@ module XeroRuby
|
|
4766
4828
|
# @param employee_leave [EmployeeLeave]
|
4767
4829
|
# @param [Hash] opts the optional parameters
|
4768
4830
|
# @return [Array<(EmployeeLeaveObject, Integer, Hash)>] EmployeeLeaveObject data, response status code and response headers
|
4769
|
-
def update_employee_leave_with_http_info(xero_tenant_id, employee_id, leave_id, employee_leave,
|
4831
|
+
def update_employee_leave_with_http_info(xero_tenant_id, employee_id, leave_id, employee_leave, options = {})
|
4832
|
+
opts = options.dup
|
4770
4833
|
if @api_client.config.debugging
|
4771
4834
|
@api_client.config.logger.debug 'Calling API: PayrollNzApi.update_employee_leave ...'
|
4772
4835
|
end
|
@@ -4854,7 +4917,8 @@ module XeroRuby
|
|
4854
4917
|
# @param salary_and_wage [SalaryAndWage]
|
4855
4918
|
# @param [Hash] opts the optional parameters
|
4856
4919
|
# @return [Array<(SalaryAndWageObject, Integer, Hash)>] SalaryAndWageObject data, response status code and response headers
|
4857
|
-
def update_employee_salary_and_wage_with_http_info(xero_tenant_id, employee_id, salary_and_wages_id, salary_and_wage,
|
4920
|
+
def update_employee_salary_and_wage_with_http_info(xero_tenant_id, employee_id, salary_and_wages_id, salary_and_wage, options = {})
|
4921
|
+
opts = options.dup
|
4858
4922
|
if @api_client.config.debugging
|
4859
4923
|
@api_client.config.logger.debug 'Calling API: PayrollNzApi.update_employee_salary_and_wage ...'
|
4860
4924
|
end
|
@@ -4940,7 +5004,8 @@ module XeroRuby
|
|
4940
5004
|
# @param employee_tax [EmployeeTax]
|
4941
5005
|
# @param [Hash] opts the optional parameters
|
4942
5006
|
# @return [Array<(EmployeeTaxObject, Integer, Hash)>] EmployeeTaxObject data, response status code and response headers
|
4943
|
-
def update_employee_tax_with_http_info(xero_tenant_id, employee_id, employee_tax,
|
5007
|
+
def update_employee_tax_with_http_info(xero_tenant_id, employee_id, employee_tax, options = {})
|
5008
|
+
opts = options.dup
|
4944
5009
|
if @api_client.config.debugging
|
4945
5010
|
@api_client.config.logger.debug 'Calling API: PayrollNzApi.update_employee_tax ...'
|
4946
5011
|
end
|
@@ -5022,7 +5087,8 @@ module XeroRuby
|
|
5022
5087
|
# @param pay_run [PayRun]
|
5023
5088
|
# @param [Hash] opts the optional parameters
|
5024
5089
|
# @return [Array<(PayRunObject, Integer, Hash)>] PayRunObject data, response status code and response headers
|
5025
|
-
def update_pay_run_with_http_info(xero_tenant_id, pay_run_id, pay_run,
|
5090
|
+
def update_pay_run_with_http_info(xero_tenant_id, pay_run_id, pay_run, options = {})
|
5091
|
+
opts = options.dup
|
5026
5092
|
if @api_client.config.debugging
|
5027
5093
|
@api_client.config.logger.debug 'Calling API: PayrollNzApi.update_pay_run ...'
|
5028
5094
|
end
|
@@ -5104,7 +5170,8 @@ module XeroRuby
|
|
5104
5170
|
# @param pay_slip [PaySlip]
|
5105
5171
|
# @param [Hash] opts the optional parameters
|
5106
5172
|
# @return [Array<(PaySlipObject, Integer, Hash)>] PaySlipObject data, response status code and response headers
|
5107
|
-
def update_pay_slip_line_items_with_http_info(xero_tenant_id, pay_slip_id, pay_slip,
|
5173
|
+
def update_pay_slip_line_items_with_http_info(xero_tenant_id, pay_slip_id, pay_slip, options = {})
|
5174
|
+
opts = options.dup
|
5108
5175
|
if @api_client.config.debugging
|
5109
5176
|
@api_client.config.logger.debug 'Calling API: PayrollNzApi.update_pay_slip_line_items ...'
|
5110
5177
|
end
|
@@ -5188,7 +5255,8 @@ module XeroRuby
|
|
5188
5255
|
# @param timesheet_line [TimesheetLine]
|
5189
5256
|
# @param [Hash] opts the optional parameters
|
5190
5257
|
# @return [Array<(TimesheetLineObject, Integer, Hash)>] TimesheetLineObject data, response status code and response headers
|
5191
|
-
def update_timesheet_line_with_http_info(xero_tenant_id, timesheet_id, timesheet_line_id, timesheet_line,
|
5258
|
+
def update_timesheet_line_with_http_info(xero_tenant_id, timesheet_id, timesheet_line_id, timesheet_line, options = {})
|
5259
|
+
opts = options.dup
|
5192
5260
|
if @api_client.config.debugging
|
5193
5261
|
@api_client.config.logger.debug 'Calling API: PayrollNzApi.update_timesheet_line ...'
|
5194
5262
|
end
|