xero-ruby 2.8.2 → 2.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +21 -2
- data/lib/xero-ruby/api/accounting_api.rb +448 -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 +10 -2
- data/lib/xero-ruby/models/payroll_uk/salary_and_wage.rb +3 -2
- data/lib/xero-ruby/version.rb +1 -1
- data/spec/api_client_spec.rb +11 -0
- data/spec/configuration_spec.rb +17 -0
- metadata +2 -2
@@ -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: PayrollUkApi.approve_timesheet ...'
|
37
38
|
end
|
@@ -105,7 +106,8 @@ module XeroRuby
|
|
105
106
|
# @param benefit [Benefit]
|
106
107
|
# @param [Hash] opts the optional parameters
|
107
108
|
# @return [Array<(BenefitObject, Integer, Hash)>] BenefitObject data, response status code and response headers
|
108
|
-
def create_benefit_with_http_info(xero_tenant_id, benefit,
|
109
|
+
def create_benefit_with_http_info(xero_tenant_id, benefit, options = {})
|
110
|
+
opts = options.dup
|
109
111
|
if @api_client.config.debugging
|
110
112
|
@api_client.config.logger.debug 'Calling API: PayrollUkApi.create_benefit ...'
|
111
113
|
end
|
@@ -181,7 +183,8 @@ module XeroRuby
|
|
181
183
|
# @param deduction [Deduction]
|
182
184
|
# @param [Hash] opts the optional parameters
|
183
185
|
# @return [Array<(DeductionObject, Integer, Hash)>] DeductionObject data, response status code and response headers
|
184
|
-
def create_deduction_with_http_info(xero_tenant_id, deduction,
|
186
|
+
def create_deduction_with_http_info(xero_tenant_id, deduction, options = {})
|
187
|
+
opts = options.dup
|
185
188
|
if @api_client.config.debugging
|
186
189
|
@api_client.config.logger.debug 'Calling API: PayrollUkApi.create_deduction ...'
|
187
190
|
end
|
@@ -257,7 +260,8 @@ module XeroRuby
|
|
257
260
|
# @param earnings_rate [EarningsRate]
|
258
261
|
# @param [Hash] opts the optional parameters
|
259
262
|
# @return [Array<(EarningsRateObject, Integer, Hash)>] EarningsRateObject data, response status code and response headers
|
260
|
-
def create_earnings_rate_with_http_info(xero_tenant_id, earnings_rate,
|
263
|
+
def create_earnings_rate_with_http_info(xero_tenant_id, earnings_rate, options = {})
|
264
|
+
opts = options.dup
|
261
265
|
if @api_client.config.debugging
|
262
266
|
@api_client.config.logger.debug 'Calling API: PayrollUkApi.create_earnings_rate ...'
|
263
267
|
end
|
@@ -333,7 +337,8 @@ module XeroRuby
|
|
333
337
|
# @param employee [Employee]
|
334
338
|
# @param [Hash] opts the optional parameters
|
335
339
|
# @return [Array<(EmployeeObject, Integer, Hash)>] EmployeeObject data, response status code and response headers
|
336
|
-
def create_employee_with_http_info(xero_tenant_id, employee,
|
340
|
+
def create_employee_with_http_info(xero_tenant_id, employee, options = {})
|
341
|
+
opts = options.dup
|
337
342
|
if @api_client.config.debugging
|
338
343
|
@api_client.config.logger.debug 'Calling API: PayrollUkApi.create_employee ...'
|
339
344
|
end
|
@@ -411,7 +416,8 @@ module XeroRuby
|
|
411
416
|
# @param earnings_template [EarningsTemplate]
|
412
417
|
# @param [Hash] opts the optional parameters
|
413
418
|
# @return [Array<(EarningsTemplateObject, Integer, Hash)>] EarningsTemplateObject data, response status code and response headers
|
414
|
-
def create_employee_earnings_template_with_http_info(xero_tenant_id, employee_id, earnings_template,
|
419
|
+
def create_employee_earnings_template_with_http_info(xero_tenant_id, employee_id, earnings_template, options = {})
|
420
|
+
opts = options.dup
|
415
421
|
if @api_client.config.debugging
|
416
422
|
@api_client.config.logger.debug 'Calling API: PayrollUkApi.create_employee_earnings_template ...'
|
417
423
|
end
|
@@ -493,7 +499,8 @@ module XeroRuby
|
|
493
499
|
# @param employee_leave [EmployeeLeave]
|
494
500
|
# @param [Hash] opts the optional parameters
|
495
501
|
# @return [Array<(EmployeeLeaveObject, Integer, Hash)>] EmployeeLeaveObject data, response status code and response headers
|
496
|
-
def create_employee_leave_with_http_info(xero_tenant_id, employee_id, employee_leave,
|
502
|
+
def create_employee_leave_with_http_info(xero_tenant_id, employee_id, employee_leave, options = {})
|
503
|
+
opts = options.dup
|
497
504
|
if @api_client.config.debugging
|
498
505
|
@api_client.config.logger.debug 'Calling API: PayrollUkApi.create_employee_leave ...'
|
499
506
|
end
|
@@ -575,7 +582,8 @@ module XeroRuby
|
|
575
582
|
# @param employee_leave_type [EmployeeLeaveType]
|
576
583
|
# @param [Hash] opts the optional parameters
|
577
584
|
# @return [Array<(EmployeeLeaveTypeObject, Integer, Hash)>] EmployeeLeaveTypeObject data, response status code and response headers
|
578
|
-
def create_employee_leave_type_with_http_info(xero_tenant_id, employee_id, employee_leave_type,
|
585
|
+
def create_employee_leave_type_with_http_info(xero_tenant_id, employee_id, employee_leave_type, options = {})
|
586
|
+
opts = options.dup
|
579
587
|
if @api_client.config.debugging
|
580
588
|
@api_client.config.logger.debug 'Calling API: PayrollUkApi.create_employee_leave_type ...'
|
581
589
|
end
|
@@ -657,7 +665,8 @@ module XeroRuby
|
|
657
665
|
# @param employee_opening_balances [EmployeeOpeningBalances]
|
658
666
|
# @param [Hash] opts the optional parameters
|
659
667
|
# @return [Array<(EmployeeOpeningBalancesObject, Integer, Hash)>] EmployeeOpeningBalancesObject data, response status code and response headers
|
660
|
-
def create_employee_opening_balances_with_http_info(xero_tenant_id, employee_id, employee_opening_balances,
|
668
|
+
def create_employee_opening_balances_with_http_info(xero_tenant_id, employee_id, employee_opening_balances, options = {})
|
669
|
+
opts = options.dup
|
661
670
|
if @api_client.config.debugging
|
662
671
|
@api_client.config.logger.debug 'Calling API: PayrollUkApi.create_employee_opening_balances ...'
|
663
672
|
end
|
@@ -739,7 +748,8 @@ module XeroRuby
|
|
739
748
|
# @param payment_method [PaymentMethod]
|
740
749
|
# @param [Hash] opts the optional parameters
|
741
750
|
# @return [Array<(PaymentMethodObject, Integer, Hash)>] PaymentMethodObject data, response status code and response headers
|
742
|
-
def create_employee_payment_method_with_http_info(xero_tenant_id, employee_id, payment_method,
|
751
|
+
def create_employee_payment_method_with_http_info(xero_tenant_id, employee_id, payment_method, options = {})
|
752
|
+
opts = options.dup
|
743
753
|
if @api_client.config.debugging
|
744
754
|
@api_client.config.logger.debug 'Calling API: PayrollUkApi.create_employee_payment_method ...'
|
745
755
|
end
|
@@ -821,7 +831,8 @@ module XeroRuby
|
|
821
831
|
# @param salary_and_wage [SalaryAndWage]
|
822
832
|
# @param [Hash] opts the optional parameters
|
823
833
|
# @return [Array<(SalaryAndWageObject, Integer, Hash)>] SalaryAndWageObject data, response status code and response headers
|
824
|
-
def create_employee_salary_and_wage_with_http_info(xero_tenant_id, employee_id, salary_and_wage,
|
834
|
+
def create_employee_salary_and_wage_with_http_info(xero_tenant_id, employee_id, salary_and_wage, options = {})
|
835
|
+
opts = options.dup
|
825
836
|
if @api_client.config.debugging
|
826
837
|
@api_client.config.logger.debug 'Calling API: PayrollUkApi.create_employee_salary_and_wage ...'
|
827
838
|
end
|
@@ -901,7 +912,8 @@ module XeroRuby
|
|
901
912
|
# @param employee_statutory_sick_leave [EmployeeStatutorySickLeave]
|
902
913
|
# @param [Hash] opts the optional parameters
|
903
914
|
# @return [Array<(EmployeeStatutorySickLeaveObject, Integer, Hash)>] EmployeeStatutorySickLeaveObject data, response status code and response headers
|
904
|
-
def create_employee_statutory_sick_leave_with_http_info(xero_tenant_id, employee_statutory_sick_leave,
|
915
|
+
def create_employee_statutory_sick_leave_with_http_info(xero_tenant_id, employee_statutory_sick_leave, options = {})
|
916
|
+
opts = options.dup
|
905
917
|
if @api_client.config.debugging
|
906
918
|
@api_client.config.logger.debug 'Calling API: PayrollUkApi.create_employee_statutory_sick_leave ...'
|
907
919
|
end
|
@@ -979,7 +991,8 @@ module XeroRuby
|
|
979
991
|
# @param employment [Employment]
|
980
992
|
# @param [Hash] opts the optional parameters
|
981
993
|
# @return [Array<(EmploymentObject, Integer, Hash)>] EmploymentObject data, response status code and response headers
|
982
|
-
def create_employment_with_http_info(xero_tenant_id, employee_id, employment,
|
994
|
+
def create_employment_with_http_info(xero_tenant_id, employee_id, employment, options = {})
|
995
|
+
opts = options.dup
|
983
996
|
if @api_client.config.debugging
|
984
997
|
@api_client.config.logger.debug 'Calling API: PayrollUkApi.create_employment ...'
|
985
998
|
end
|
@@ -1059,7 +1072,8 @@ module XeroRuby
|
|
1059
1072
|
# @param leave_type [LeaveType]
|
1060
1073
|
# @param [Hash] opts the optional parameters
|
1061
1074
|
# @return [Array<(LeaveTypeObject, Integer, Hash)>] LeaveTypeObject data, response status code and response headers
|
1062
|
-
def create_leave_type_with_http_info(xero_tenant_id, leave_type,
|
1075
|
+
def create_leave_type_with_http_info(xero_tenant_id, leave_type, options = {})
|
1076
|
+
opts = options.dup
|
1063
1077
|
if @api_client.config.debugging
|
1064
1078
|
@api_client.config.logger.debug 'Calling API: PayrollUkApi.create_leave_type ...'
|
1065
1079
|
end
|
@@ -1137,7 +1151,8 @@ module XeroRuby
|
|
1137
1151
|
# @param earnings_template [Array<EarningsTemplate>]
|
1138
1152
|
# @param [Hash] opts the optional parameters
|
1139
1153
|
# @return [Array<(EmployeePayTemplates, Integer, Hash)>] EmployeePayTemplates data, response status code and response headers
|
1140
|
-
def create_multiple_employee_earnings_template_with_http_info(xero_tenant_id, employee_id, earnings_template,
|
1154
|
+
def create_multiple_employee_earnings_template_with_http_info(xero_tenant_id, employee_id, earnings_template, options = {})
|
1155
|
+
opts = options.dup
|
1141
1156
|
if @api_client.config.debugging
|
1142
1157
|
@api_client.config.logger.debug 'Calling API: PayrollUkApi.create_multiple_employee_earnings_template ...'
|
1143
1158
|
end
|
@@ -1217,7 +1232,8 @@ module XeroRuby
|
|
1217
1232
|
# @param pay_run_calendar [PayRunCalendar]
|
1218
1233
|
# @param [Hash] opts the optional parameters
|
1219
1234
|
# @return [Array<(PayRunCalendarObject, Integer, Hash)>] PayRunCalendarObject data, response status code and response headers
|
1220
|
-
def create_pay_run_calendar_with_http_info(xero_tenant_id, pay_run_calendar,
|
1235
|
+
def create_pay_run_calendar_with_http_info(xero_tenant_id, pay_run_calendar, options = {})
|
1236
|
+
opts = options.dup
|
1221
1237
|
if @api_client.config.debugging
|
1222
1238
|
@api_client.config.logger.debug 'Calling API: PayrollUkApi.create_pay_run_calendar ...'
|
1223
1239
|
end
|
@@ -1293,7 +1309,8 @@ module XeroRuby
|
|
1293
1309
|
# @param reimbursement [Reimbursement]
|
1294
1310
|
# @param [Hash] opts the optional parameters
|
1295
1311
|
# @return [Array<(ReimbursementObject, Integer, Hash)>] ReimbursementObject data, response status code and response headers
|
1296
|
-
def create_reimbursement_with_http_info(xero_tenant_id, reimbursement,
|
1312
|
+
def create_reimbursement_with_http_info(xero_tenant_id, reimbursement, options = {})
|
1313
|
+
opts = options.dup
|
1297
1314
|
if @api_client.config.debugging
|
1298
1315
|
@api_client.config.logger.debug 'Calling API: PayrollUkApi.create_reimbursement ...'
|
1299
1316
|
end
|
@@ -1369,7 +1386,8 @@ module XeroRuby
|
|
1369
1386
|
# @param timesheet [Timesheet]
|
1370
1387
|
# @param [Hash] opts the optional parameters
|
1371
1388
|
# @return [Array<(TimesheetObject, Integer, Hash)>] TimesheetObject data, response status code and response headers
|
1372
|
-
def create_timesheet_with_http_info(xero_tenant_id, timesheet,
|
1389
|
+
def create_timesheet_with_http_info(xero_tenant_id, timesheet, options = {})
|
1390
|
+
opts = options.dup
|
1373
1391
|
if @api_client.config.debugging
|
1374
1392
|
@api_client.config.logger.debug 'Calling API: PayrollUkApi.create_timesheet ...'
|
1375
1393
|
end
|
@@ -1447,7 +1465,8 @@ module XeroRuby
|
|
1447
1465
|
# @param timesheet_line [TimesheetLine]
|
1448
1466
|
# @param [Hash] opts the optional parameters
|
1449
1467
|
# @return [Array<(TimesheetLineObject, Integer, Hash)>] TimesheetLineObject data, response status code and response headers
|
1450
|
-
def create_timesheet_line_with_http_info(xero_tenant_id, timesheet_id, timesheet_line,
|
1468
|
+
def create_timesheet_line_with_http_info(xero_tenant_id, timesheet_id, timesheet_line, options = {})
|
1469
|
+
opts = options.dup
|
1451
1470
|
if @api_client.config.debugging
|
1452
1471
|
@api_client.config.logger.debug 'Calling API: PayrollUkApi.create_timesheet_line ...'
|
1453
1472
|
end
|
@@ -1529,7 +1548,8 @@ module XeroRuby
|
|
1529
1548
|
# @param pay_template_earning_id [String] Id for single pay template earnings object
|
1530
1549
|
# @param [Hash] opts the optional parameters
|
1531
1550
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
1532
|
-
def delete_employee_earnings_template_with_http_info(xero_tenant_id, employee_id, pay_template_earning_id,
|
1551
|
+
def delete_employee_earnings_template_with_http_info(xero_tenant_id, employee_id, pay_template_earning_id, options = {})
|
1552
|
+
opts = options.dup
|
1533
1553
|
if @api_client.config.debugging
|
1534
1554
|
@api_client.config.logger.debug 'Calling API: PayrollUkApi.delete_employee_earnings_template ...'
|
1535
1555
|
end
|
@@ -1607,7 +1627,8 @@ module XeroRuby
|
|
1607
1627
|
# @param leave_id [String] Leave id for single object
|
1608
1628
|
# @param [Hash] opts the optional parameters
|
1609
1629
|
# @return [Array<(EmployeeLeaveObject, Integer, Hash)>] EmployeeLeaveObject data, response status code and response headers
|
1610
|
-
def delete_employee_leave_with_http_info(xero_tenant_id, employee_id, leave_id,
|
1630
|
+
def delete_employee_leave_with_http_info(xero_tenant_id, employee_id, leave_id, options = {})
|
1631
|
+
opts = options.dup
|
1611
1632
|
if @api_client.config.debugging
|
1612
1633
|
@api_client.config.logger.debug 'Calling API: PayrollUkApi.delete_employee_leave ...'
|
1613
1634
|
end
|
@@ -1687,7 +1708,8 @@ module XeroRuby
|
|
1687
1708
|
# @param salary_and_wages_id [String] Id for single salary and wages object
|
1688
1709
|
# @param [Hash] opts the optional parameters
|
1689
1710
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
1690
|
-
def delete_employee_salary_and_wage_with_http_info(xero_tenant_id, employee_id, salary_and_wages_id,
|
1711
|
+
def delete_employee_salary_and_wage_with_http_info(xero_tenant_id, employee_id, salary_and_wages_id, options = {})
|
1712
|
+
opts = options.dup
|
1691
1713
|
if @api_client.config.debugging
|
1692
1714
|
@api_client.config.logger.debug 'Calling API: PayrollUkApi.delete_employee_salary_and_wage ...'
|
1693
1715
|
end
|
@@ -1763,7 +1785,8 @@ module XeroRuby
|
|
1763
1785
|
# @param timesheet_id [String] Identifier for the timesheet
|
1764
1786
|
# @param [Hash] opts the optional parameters
|
1765
1787
|
# @return [Array<(TimesheetLine, Integer, Hash)>] TimesheetLine data, response status code and response headers
|
1766
|
-
def delete_timesheet_with_http_info(xero_tenant_id, timesheet_id,
|
1788
|
+
def delete_timesheet_with_http_info(xero_tenant_id, timesheet_id, options = {})
|
1789
|
+
opts = options.dup
|
1767
1790
|
if @api_client.config.debugging
|
1768
1791
|
@api_client.config.logger.debug 'Calling API: PayrollUkApi.delete_timesheet ...'
|
1769
1792
|
end
|
@@ -1839,7 +1862,8 @@ module XeroRuby
|
|
1839
1862
|
# @param timesheet_line_id [String] Identifier for the timesheet line
|
1840
1863
|
# @param [Hash] opts the optional parameters
|
1841
1864
|
# @return [Array<(TimesheetLine, Integer, Hash)>] TimesheetLine data, response status code and response headers
|
1842
|
-
def delete_timesheet_line_with_http_info(xero_tenant_id, timesheet_id, timesheet_line_id,
|
1865
|
+
def delete_timesheet_line_with_http_info(xero_tenant_id, timesheet_id, timesheet_line_id, options = {})
|
1866
|
+
opts = options.dup
|
1843
1867
|
if @api_client.config.debugging
|
1844
1868
|
@api_client.config.logger.debug 'Calling API: PayrollUkApi.delete_timesheet_line ...'
|
1845
1869
|
end
|
@@ -1917,7 +1941,8 @@ module XeroRuby
|
|
1917
1941
|
# @param id [String] Identifier for the benefit
|
1918
1942
|
# @param [Hash] opts the optional parameters
|
1919
1943
|
# @return [Array<(BenefitObject, Integer, Hash)>] BenefitObject data, response status code and response headers
|
1920
|
-
def get_benefit_with_http_info(xero_tenant_id, id,
|
1944
|
+
def get_benefit_with_http_info(xero_tenant_id, id, options = {})
|
1945
|
+
opts = options.dup
|
1921
1946
|
if @api_client.config.debugging
|
1922
1947
|
@api_client.config.logger.debug 'Calling API: PayrollUkApi.get_benefit ...'
|
1923
1948
|
end
|
@@ -1991,7 +2016,8 @@ module XeroRuby
|
|
1991
2016
|
# @param [Hash] opts the optional parameters
|
1992
2017
|
# @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.
|
1993
2018
|
# @return [Array<(Benefits, Integer, Hash)>] Benefits data, response status code and response headers
|
1994
|
-
def get_benefits_with_http_info(xero_tenant_id,
|
2019
|
+
def get_benefits_with_http_info(xero_tenant_id, options = {})
|
2020
|
+
opts = options.dup
|
1995
2021
|
if @api_client.config.debugging
|
1996
2022
|
@api_client.config.logger.debug 'Calling API: PayrollUkApi.get_benefits ...'
|
1997
2023
|
end
|
@@ -2062,7 +2088,8 @@ module XeroRuby
|
|
2062
2088
|
# @param deduction_id [String] Identifier for the deduction
|
2063
2089
|
# @param [Hash] opts the optional parameters
|
2064
2090
|
# @return [Array<(DeductionObject, Integer, Hash)>] DeductionObject data, response status code and response headers
|
2065
|
-
def get_deduction_with_http_info(xero_tenant_id, deduction_id,
|
2091
|
+
def get_deduction_with_http_info(xero_tenant_id, deduction_id, options = {})
|
2092
|
+
opts = options.dup
|
2066
2093
|
if @api_client.config.debugging
|
2067
2094
|
@api_client.config.logger.debug 'Calling API: PayrollUkApi.get_deduction ...'
|
2068
2095
|
end
|
@@ -2136,7 +2163,8 @@ module XeroRuby
|
|
2136
2163
|
# @param [Hash] opts the optional parameters
|
2137
2164
|
# @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.
|
2138
2165
|
# @return [Array<(Deductions, Integer, Hash)>] Deductions data, response status code and response headers
|
2139
|
-
def get_deductions_with_http_info(xero_tenant_id,
|
2166
|
+
def get_deductions_with_http_info(xero_tenant_id, options = {})
|
2167
|
+
opts = options.dup
|
2140
2168
|
if @api_client.config.debugging
|
2141
2169
|
@api_client.config.logger.debug 'Calling API: PayrollUkApi.get_deductions ...'
|
2142
2170
|
end
|
@@ -2207,7 +2235,8 @@ module XeroRuby
|
|
2207
2235
|
# @param id [String] Identifier for the deduction
|
2208
2236
|
# @param [Hash] opts the optional parameters
|
2209
2237
|
# @return [Array<(EarningsOrderObject, Integer, Hash)>] EarningsOrderObject data, response status code and response headers
|
2210
|
-
def get_earnings_order_with_http_info(xero_tenant_id, id,
|
2238
|
+
def get_earnings_order_with_http_info(xero_tenant_id, id, options = {})
|
2239
|
+
opts = options.dup
|
2211
2240
|
if @api_client.config.debugging
|
2212
2241
|
@api_client.config.logger.debug 'Calling API: PayrollUkApi.get_earnings_order ...'
|
2213
2242
|
end
|
@@ -2281,7 +2310,8 @@ module XeroRuby
|
|
2281
2310
|
# @param [Hash] opts the optional parameters
|
2282
2311
|
# @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.
|
2283
2312
|
# @return [Array<(EarningsOrders, Integer, Hash)>] EarningsOrders data, response status code and response headers
|
2284
|
-
def get_earnings_orders_with_http_info(xero_tenant_id,
|
2313
|
+
def get_earnings_orders_with_http_info(xero_tenant_id, options = {})
|
2314
|
+
opts = options.dup
|
2285
2315
|
if @api_client.config.debugging
|
2286
2316
|
@api_client.config.logger.debug 'Calling API: PayrollUkApi.get_earnings_orders ...'
|
2287
2317
|
end
|
@@ -2352,7 +2382,8 @@ module XeroRuby
|
|
2352
2382
|
# @param earnings_rate_id [String] Identifier for the earnings rate
|
2353
2383
|
# @param [Hash] opts the optional parameters
|
2354
2384
|
# @return [Array<(EarningsRateObject, Integer, Hash)>] EarningsRateObject data, response status code and response headers
|
2355
|
-
def get_earnings_rate_with_http_info(xero_tenant_id, earnings_rate_id,
|
2385
|
+
def get_earnings_rate_with_http_info(xero_tenant_id, earnings_rate_id, options = {})
|
2386
|
+
opts = options.dup
|
2356
2387
|
if @api_client.config.debugging
|
2357
2388
|
@api_client.config.logger.debug 'Calling API: PayrollUkApi.get_earnings_rate ...'
|
2358
2389
|
end
|
@@ -2426,7 +2457,8 @@ module XeroRuby
|
|
2426
2457
|
# @param [Hash] opts the optional parameters
|
2427
2458
|
# @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.
|
2428
2459
|
# @return [Array<(EarningsRates, Integer, Hash)>] EarningsRates data, response status code and response headers
|
2429
|
-
def get_earnings_rates_with_http_info(xero_tenant_id,
|
2460
|
+
def get_earnings_rates_with_http_info(xero_tenant_id, options = {})
|
2461
|
+
opts = options.dup
|
2430
2462
|
if @api_client.config.debugging
|
2431
2463
|
@api_client.config.logger.debug 'Calling API: PayrollUkApi.get_earnings_rates ...'
|
2432
2464
|
end
|
@@ -2497,7 +2529,8 @@ module XeroRuby
|
|
2497
2529
|
# @param employee_id [String] Employee id for single object
|
2498
2530
|
# @param [Hash] opts the optional parameters
|
2499
2531
|
# @return [Array<(EmployeeObject, Integer, Hash)>] EmployeeObject data, response status code and response headers
|
2500
|
-
def get_employee_with_http_info(xero_tenant_id, employee_id,
|
2532
|
+
def get_employee_with_http_info(xero_tenant_id, employee_id, options = {})
|
2533
|
+
opts = options.dup
|
2501
2534
|
if @api_client.config.debugging
|
2502
2535
|
@api_client.config.logger.debug 'Calling API: PayrollUkApi.get_employee ...'
|
2503
2536
|
end
|
@@ -2573,7 +2606,8 @@ module XeroRuby
|
|
2573
2606
|
# @param leave_id [String] Leave id for single object
|
2574
2607
|
# @param [Hash] opts the optional parameters
|
2575
2608
|
# @return [Array<(EmployeeLeaveObject, Integer, Hash)>] EmployeeLeaveObject data, response status code and response headers
|
2576
|
-
def get_employee_leave_with_http_info(xero_tenant_id, employee_id, leave_id,
|
2609
|
+
def get_employee_leave_with_http_info(xero_tenant_id, employee_id, leave_id, options = {})
|
2610
|
+
opts = options.dup
|
2577
2611
|
if @api_client.config.debugging
|
2578
2612
|
@api_client.config.logger.debug 'Calling API: PayrollUkApi.get_employee_leave ...'
|
2579
2613
|
end
|
@@ -2651,7 +2685,8 @@ module XeroRuby
|
|
2651
2685
|
# @param employee_id [String] Employee id for single object
|
2652
2686
|
# @param [Hash] opts the optional parameters
|
2653
2687
|
# @return [Array<(EmployeeLeaveBalances, Integer, Hash)>] EmployeeLeaveBalances data, response status code and response headers
|
2654
|
-
def get_employee_leave_balances_with_http_info(xero_tenant_id, employee_id,
|
2688
|
+
def get_employee_leave_balances_with_http_info(xero_tenant_id, employee_id, options = {})
|
2689
|
+
opts = options.dup
|
2655
2690
|
if @api_client.config.debugging
|
2656
2691
|
@api_client.config.logger.debug 'Calling API: PayrollUkApi.get_employee_leave_balances ...'
|
2657
2692
|
end
|
@@ -2729,7 +2764,8 @@ module XeroRuby
|
|
2729
2764
|
# @option opts [Date] :start_date Filter by start date
|
2730
2765
|
# @option opts [Date] :end_date Filter by end date
|
2731
2766
|
# @return [Array<(LeavePeriods, Integer, Hash)>] LeavePeriods data, response status code and response headers
|
2732
|
-
def get_employee_leave_periods_with_http_info(xero_tenant_id, employee_id,
|
2767
|
+
def get_employee_leave_periods_with_http_info(xero_tenant_id, employee_id, options = {})
|
2768
|
+
opts = options.dup
|
2733
2769
|
if @api_client.config.debugging
|
2734
2770
|
@api_client.config.logger.debug 'Calling API: PayrollUkApi.get_employee_leave_periods ...'
|
2735
2771
|
end
|
@@ -2805,7 +2841,8 @@ module XeroRuby
|
|
2805
2841
|
# @param employee_id [String] Employee id for single object
|
2806
2842
|
# @param [Hash] opts the optional parameters
|
2807
2843
|
# @return [Array<(EmployeeLeaveTypes, Integer, Hash)>] EmployeeLeaveTypes data, response status code and response headers
|
2808
|
-
def get_employee_leave_types_with_http_info(xero_tenant_id, employee_id,
|
2844
|
+
def get_employee_leave_types_with_http_info(xero_tenant_id, employee_id, options = {})
|
2845
|
+
opts = options.dup
|
2809
2846
|
if @api_client.config.debugging
|
2810
2847
|
@api_client.config.logger.debug 'Calling API: PayrollUkApi.get_employee_leave_types ...'
|
2811
2848
|
end
|
@@ -2879,7 +2916,8 @@ module XeroRuby
|
|
2879
2916
|
# @param employee_id [String] Employee id for single object
|
2880
2917
|
# @param [Hash] opts the optional parameters
|
2881
2918
|
# @return [Array<(EmployeeLeaves, Integer, Hash)>] EmployeeLeaves data, response status code and response headers
|
2882
|
-
def get_employee_leaves_with_http_info(xero_tenant_id, employee_id,
|
2919
|
+
def get_employee_leaves_with_http_info(xero_tenant_id, employee_id, options = {})
|
2920
|
+
opts = options.dup
|
2883
2921
|
if @api_client.config.debugging
|
2884
2922
|
@api_client.config.logger.debug 'Calling API: PayrollUkApi.get_employee_leaves ...'
|
2885
2923
|
end
|
@@ -2953,7 +2991,8 @@ module XeroRuby
|
|
2953
2991
|
# @param employee_id [String] Employee id for single object
|
2954
2992
|
# @param [Hash] opts the optional parameters
|
2955
2993
|
# @return [Array<(EmployeeOpeningBalancesObject, Integer, Hash)>] EmployeeOpeningBalancesObject data, response status code and response headers
|
2956
|
-
def get_employee_opening_balances_with_http_info(xero_tenant_id, employee_id,
|
2994
|
+
def get_employee_opening_balances_with_http_info(xero_tenant_id, employee_id, options = {})
|
2995
|
+
opts = options.dup
|
2957
2996
|
if @api_client.config.debugging
|
2958
2997
|
@api_client.config.logger.debug 'Calling API: PayrollUkApi.get_employee_opening_balances ...'
|
2959
2998
|
end
|
@@ -3027,7 +3066,8 @@ module XeroRuby
|
|
3027
3066
|
# @param employee_id [String] Employee id for single object
|
3028
3067
|
# @param [Hash] opts the optional parameters
|
3029
3068
|
# @return [Array<(EmployeePayTemplateObject, Integer, Hash)>] EmployeePayTemplateObject data, response status code and response headers
|
3030
|
-
def get_employee_pay_template_with_http_info(xero_tenant_id, employee_id,
|
3069
|
+
def get_employee_pay_template_with_http_info(xero_tenant_id, employee_id, options = {})
|
3070
|
+
opts = options.dup
|
3031
3071
|
if @api_client.config.debugging
|
3032
3072
|
@api_client.config.logger.debug 'Calling API: PayrollUkApi.get_employee_pay_template ...'
|
3033
3073
|
end
|
@@ -3101,7 +3141,8 @@ module XeroRuby
|
|
3101
3141
|
# @param employee_id [String] Employee id for single object
|
3102
3142
|
# @param [Hash] opts the optional parameters
|
3103
3143
|
# @return [Array<(PaymentMethodObject, Integer, Hash)>] PaymentMethodObject data, response status code and response headers
|
3104
|
-
def get_employee_payment_method_with_http_info(xero_tenant_id, employee_id,
|
3144
|
+
def get_employee_payment_method_with_http_info(xero_tenant_id, employee_id, options = {})
|
3145
|
+
opts = options.dup
|
3105
3146
|
if @api_client.config.debugging
|
3106
3147
|
@api_client.config.logger.debug 'Calling API: PayrollUkApi.get_employee_payment_method ...'
|
3107
3148
|
end
|
@@ -3177,7 +3218,8 @@ module XeroRuby
|
|
3177
3218
|
# @param salary_and_wages_id [String] Id for single pay template earnings object
|
3178
3219
|
# @param [Hash] opts the optional parameters
|
3179
3220
|
# @return [Array<(SalaryAndWages, Integer, Hash)>] SalaryAndWages data, response status code and response headers
|
3180
|
-
def get_employee_salary_and_wage_with_http_info(xero_tenant_id, employee_id, salary_and_wages_id,
|
3221
|
+
def get_employee_salary_and_wage_with_http_info(xero_tenant_id, employee_id, salary_and_wages_id, options = {})
|
3222
|
+
opts = options.dup
|
3181
3223
|
if @api_client.config.debugging
|
3182
3224
|
@api_client.config.logger.debug 'Calling API: PayrollUkApi.get_employee_salary_and_wage ...'
|
3183
3225
|
end
|
@@ -3257,7 +3299,8 @@ module XeroRuby
|
|
3257
3299
|
# @param [Hash] opts the optional parameters
|
3258
3300
|
# @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.
|
3259
3301
|
# @return [Array<(SalaryAndWages, Integer, Hash)>] SalaryAndWages data, response status code and response headers
|
3260
|
-
def get_employee_salary_and_wages_with_http_info(xero_tenant_id, employee_id,
|
3302
|
+
def get_employee_salary_and_wages_with_http_info(xero_tenant_id, employee_id, options = {})
|
3303
|
+
opts = options.dup
|
3261
3304
|
if @api_client.config.debugging
|
3262
3305
|
@api_client.config.logger.debug 'Calling API: PayrollUkApi.get_employee_salary_and_wages ...'
|
3263
3306
|
end
|
@@ -3336,7 +3379,8 @@ module XeroRuby
|
|
3336
3379
|
# @option opts [String] :leave_type Filter by the type of statutory leave
|
3337
3380
|
# @option opts [Date] :as_of_date The date from which to calculate balance remaining. If not specified, current date UTC is used.
|
3338
3381
|
# @return [Array<(EmployeeStatutoryLeaveBalanceObject, Integer, Hash)>] EmployeeStatutoryLeaveBalanceObject data, response status code and response headers
|
3339
|
-
def get_employee_statutory_leave_balances_with_http_info(xero_tenant_id, employee_id,
|
3382
|
+
def get_employee_statutory_leave_balances_with_http_info(xero_tenant_id, employee_id, options = {})
|
3383
|
+
opts = options.dup
|
3340
3384
|
if @api_client.config.debugging
|
3341
3385
|
@api_client.config.logger.debug 'Calling API: PayrollUkApi.get_employee_statutory_leave_balances ...'
|
3342
3386
|
end
|
@@ -3412,7 +3456,8 @@ module XeroRuby
|
|
3412
3456
|
# @param statutory_sick_leave_id [String] Statutory sick leave id for single object
|
3413
3457
|
# @param [Hash] opts the optional parameters
|
3414
3458
|
# @return [Array<(EmployeeStatutorySickLeaveObject, Integer, Hash)>] EmployeeStatutorySickLeaveObject data, response status code and response headers
|
3415
|
-
def get_employee_statutory_sick_leave_with_http_info(xero_tenant_id, statutory_sick_leave_id,
|
3459
|
+
def get_employee_statutory_sick_leave_with_http_info(xero_tenant_id, statutory_sick_leave_id, options = {})
|
3460
|
+
opts = options.dup
|
3416
3461
|
if @api_client.config.debugging
|
3417
3462
|
@api_client.config.logger.debug 'Calling API: PayrollUkApi.get_employee_statutory_sick_leave ...'
|
3418
3463
|
end
|
@@ -3486,7 +3531,8 @@ module XeroRuby
|
|
3486
3531
|
# @param employee_id [String] Employee id for single object
|
3487
3532
|
# @param [Hash] opts the optional parameters
|
3488
3533
|
# @return [Array<(EmployeeTaxObject, Integer, Hash)>] EmployeeTaxObject data, response status code and response headers
|
3489
|
-
def get_employee_tax_with_http_info(xero_tenant_id, employee_id,
|
3534
|
+
def get_employee_tax_with_http_info(xero_tenant_id, employee_id, options = {})
|
3535
|
+
opts = options.dup
|
3490
3536
|
if @api_client.config.debugging
|
3491
3537
|
@api_client.config.logger.debug 'Calling API: PayrollUkApi.get_employee_tax ...'
|
3492
3538
|
end
|
@@ -3562,7 +3608,8 @@ module XeroRuby
|
|
3562
3608
|
# @option opts [String] :filter Filter by first name and/or lastname
|
3563
3609
|
# @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.
|
3564
3610
|
# @return [Array<(Employees, Integer, Hash)>] Employees data, response status code and response headers
|
3565
|
-
def get_employees_with_http_info(xero_tenant_id,
|
3611
|
+
def get_employees_with_http_info(xero_tenant_id, options = {})
|
3612
|
+
opts = options.dup
|
3566
3613
|
if @api_client.config.debugging
|
3567
3614
|
@api_client.config.logger.debug 'Calling API: PayrollUkApi.get_employees ...'
|
3568
3615
|
end
|
@@ -3634,7 +3681,8 @@ module XeroRuby
|
|
3634
3681
|
# @param leave_type_id [String] Identifier for the leave type
|
3635
3682
|
# @param [Hash] opts the optional parameters
|
3636
3683
|
# @return [Array<(LeaveTypeObject, Integer, Hash)>] LeaveTypeObject data, response status code and response headers
|
3637
|
-
def get_leave_type_with_http_info(xero_tenant_id, leave_type_id,
|
3684
|
+
def get_leave_type_with_http_info(xero_tenant_id, leave_type_id, options = {})
|
3685
|
+
opts = options.dup
|
3638
3686
|
if @api_client.config.debugging
|
3639
3687
|
@api_client.config.logger.debug 'Calling API: PayrollUkApi.get_leave_type ...'
|
3640
3688
|
end
|
@@ -3710,7 +3758,8 @@ module XeroRuby
|
|
3710
3758
|
# @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.
|
3711
3759
|
# @option opts [Boolean] :active_only Filters leave types by active status. By default the API returns all leave types.
|
3712
3760
|
# @return [Array<(LeaveTypes, Integer, Hash)>] LeaveTypes data, response status code and response headers
|
3713
|
-
def get_leave_types_with_http_info(xero_tenant_id,
|
3761
|
+
def get_leave_types_with_http_info(xero_tenant_id, options = {})
|
3762
|
+
opts = options.dup
|
3714
3763
|
if @api_client.config.debugging
|
3715
3764
|
@api_client.config.logger.debug 'Calling API: PayrollUkApi.get_leave_types ...'
|
3716
3765
|
end
|
@@ -3782,7 +3831,8 @@ module XeroRuby
|
|
3782
3831
|
# @param pay_run_id [String] Identifier for the pay run
|
3783
3832
|
# @param [Hash] opts the optional parameters
|
3784
3833
|
# @return [Array<(PayRunObject, Integer, Hash)>] PayRunObject data, response status code and response headers
|
3785
|
-
def get_pay_run_with_http_info(xero_tenant_id, pay_run_id,
|
3834
|
+
def get_pay_run_with_http_info(xero_tenant_id, pay_run_id, options = {})
|
3835
|
+
opts = options.dup
|
3786
3836
|
if @api_client.config.debugging
|
3787
3837
|
@api_client.config.logger.debug 'Calling API: PayrollUkApi.get_pay_run ...'
|
3788
3838
|
end
|
@@ -3856,7 +3906,8 @@ module XeroRuby
|
|
3856
3906
|
# @param pay_run_calendar_id [String] Identifier for the payrun calendars
|
3857
3907
|
# @param [Hash] opts the optional parameters
|
3858
3908
|
# @return [Array<(PayRunCalendarObject, Integer, Hash)>] PayRunCalendarObject data, response status code and response headers
|
3859
|
-
def get_pay_run_calendar_with_http_info(xero_tenant_id, pay_run_calendar_id,
|
3909
|
+
def get_pay_run_calendar_with_http_info(xero_tenant_id, pay_run_calendar_id, options = {})
|
3910
|
+
opts = options.dup
|
3860
3911
|
if @api_client.config.debugging
|
3861
3912
|
@api_client.config.logger.debug 'Calling API: PayrollUkApi.get_pay_run_calendar ...'
|
3862
3913
|
end
|
@@ -3930,7 +3981,8 @@ module XeroRuby
|
|
3930
3981
|
# @param [Hash] opts the optional parameters
|
3931
3982
|
# @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.
|
3932
3983
|
# @return [Array<(PayRunCalendars, Integer, Hash)>] PayRunCalendars data, response status code and response headers
|
3933
|
-
def get_pay_run_calendars_with_http_info(xero_tenant_id,
|
3984
|
+
def get_pay_run_calendars_with_http_info(xero_tenant_id, options = {})
|
3985
|
+
opts = options.dup
|
3934
3986
|
if @api_client.config.debugging
|
3935
3987
|
@api_client.config.logger.debug 'Calling API: PayrollUkApi.get_pay_run_calendars ...'
|
3936
3988
|
end
|
@@ -4003,7 +4055,8 @@ module XeroRuby
|
|
4003
4055
|
# @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.
|
4004
4056
|
# @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.
|
4005
4057
|
# @return [Array<(PayRuns, Integer, Hash)>] PayRuns data, response status code and response headers
|
4006
|
-
def get_pay_runs_with_http_info(xero_tenant_id,
|
4058
|
+
def get_pay_runs_with_http_info(xero_tenant_id, options = {})
|
4059
|
+
opts = options.dup
|
4007
4060
|
if @api_client.config.debugging
|
4008
4061
|
@api_client.config.logger.debug 'Calling API: PayrollUkApi.get_pay_runs ...'
|
4009
4062
|
end
|
@@ -4079,7 +4132,8 @@ module XeroRuby
|
|
4079
4132
|
# @param payslip_id [String] Identifier for the payslip
|
4080
4133
|
# @param [Hash] opts the optional parameters
|
4081
4134
|
# @return [Array<(PayslipObject, Integer, Hash)>] PayslipObject data, response status code and response headers
|
4082
|
-
def get_pay_slip_with_http_info(xero_tenant_id, payslip_id,
|
4135
|
+
def get_pay_slip_with_http_info(xero_tenant_id, payslip_id, options = {})
|
4136
|
+
opts = options.dup
|
4083
4137
|
if @api_client.config.debugging
|
4084
4138
|
@api_client.config.logger.debug 'Calling API: PayrollUkApi.get_pay_slip ...'
|
4085
4139
|
end
|
@@ -4155,7 +4209,8 @@ module XeroRuby
|
|
4155
4209
|
# @param [Hash] opts the optional parameters
|
4156
4210
|
# @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.
|
4157
4211
|
# @return [Array<(Payslips, Integer, Hash)>] Payslips data, response status code and response headers
|
4158
|
-
def get_pay_slips_with_http_info(xero_tenant_id, pay_run_id,
|
4212
|
+
def get_pay_slips_with_http_info(xero_tenant_id, pay_run_id, options = {})
|
4213
|
+
opts = options.dup
|
4159
4214
|
if @api_client.config.debugging
|
4160
4215
|
@api_client.config.logger.debug 'Calling API: PayrollUkApi.get_pay_slips ...'
|
4161
4216
|
end
|
@@ -4231,7 +4286,8 @@ module XeroRuby
|
|
4231
4286
|
# @param reimbursement_id [String] Identifier for the reimbursement
|
4232
4287
|
# @param [Hash] opts the optional parameters
|
4233
4288
|
# @return [Array<(ReimbursementObject, Integer, Hash)>] ReimbursementObject data, response status code and response headers
|
4234
|
-
def get_reimbursement_with_http_info(xero_tenant_id, reimbursement_id,
|
4289
|
+
def get_reimbursement_with_http_info(xero_tenant_id, reimbursement_id, options = {})
|
4290
|
+
opts = options.dup
|
4235
4291
|
if @api_client.config.debugging
|
4236
4292
|
@api_client.config.logger.debug 'Calling API: PayrollUkApi.get_reimbursement ...'
|
4237
4293
|
end
|
@@ -4305,7 +4361,8 @@ module XeroRuby
|
|
4305
4361
|
# @param [Hash] opts the optional parameters
|
4306
4362
|
# @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.
|
4307
4363
|
# @return [Array<(Reimbursements, Integer, Hash)>] Reimbursements data, response status code and response headers
|
4308
|
-
def get_reimbursements_with_http_info(xero_tenant_id,
|
4364
|
+
def get_reimbursements_with_http_info(xero_tenant_id, options = {})
|
4365
|
+
opts = options.dup
|
4309
4366
|
if @api_client.config.debugging
|
4310
4367
|
@api_client.config.logger.debug 'Calling API: PayrollUkApi.get_reimbursements ...'
|
4311
4368
|
end
|
@@ -4374,7 +4431,8 @@ module XeroRuby
|
|
4374
4431
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
4375
4432
|
# @param [Hash] opts the optional parameters
|
4376
4433
|
# @return [Array<(Settings, Integer, Hash)>] Settings data, response status code and response headers
|
4377
|
-
def get_settings_with_http_info(xero_tenant_id,
|
4434
|
+
def get_settings_with_http_info(xero_tenant_id, options = {})
|
4435
|
+
opts = options.dup
|
4378
4436
|
if @api_client.config.debugging
|
4379
4437
|
@api_client.config.logger.debug 'Calling API: PayrollUkApi.get_settings ...'
|
4380
4438
|
end
|
@@ -4446,7 +4504,8 @@ module XeroRuby
|
|
4446
4504
|
# @param [Hash] opts the optional parameters
|
4447
4505
|
# @option opts [Boolean] :active_only Filter response with leaves that are currently active or yet to be taken. If not specified, all leaves (past, current, and future scheduled) are returned
|
4448
4506
|
# @return [Array<(EmployeeStatutoryLeavesSummaries, Integer, Hash)>] EmployeeStatutoryLeavesSummaries data, response status code and response headers
|
4449
|
-
def get_statutory_leave_summary_with_http_info(xero_tenant_id, employee_id,
|
4507
|
+
def get_statutory_leave_summary_with_http_info(xero_tenant_id, employee_id, options = {})
|
4508
|
+
opts = options.dup
|
4450
4509
|
if @api_client.config.debugging
|
4451
4510
|
@api_client.config.logger.debug 'Calling API: PayrollUkApi.get_statutory_leave_summary ...'
|
4452
4511
|
end
|
@@ -4521,7 +4580,8 @@ module XeroRuby
|
|
4521
4580
|
# @param timesheet_id [String] Identifier for the timesheet
|
4522
4581
|
# @param [Hash] opts the optional parameters
|
4523
4582
|
# @return [Array<(TimesheetObject, Integer, Hash)>] TimesheetObject data, response status code and response headers
|
4524
|
-
def get_timesheet_with_http_info(xero_tenant_id, timesheet_id,
|
4583
|
+
def get_timesheet_with_http_info(xero_tenant_id, timesheet_id, options = {})
|
4584
|
+
opts = options.dup
|
4525
4585
|
if @api_client.config.debugging
|
4526
4586
|
@api_client.config.logger.debug 'Calling API: PayrollUkApi.get_timesheet ...'
|
4527
4587
|
end
|
@@ -4597,7 +4657,8 @@ module XeroRuby
|
|
4597
4657
|
# @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.
|
4598
4658
|
# @option opts [String] :filter Filter by first name and/or lastname
|
4599
4659
|
# @return [Array<(Timesheets, Integer, Hash)>] Timesheets data, response status code and response headers
|
4600
|
-
def get_timesheets_with_http_info(xero_tenant_id,
|
4660
|
+
def get_timesheets_with_http_info(xero_tenant_id, options = {})
|
4661
|
+
opts = options.dup
|
4601
4662
|
if @api_client.config.debugging
|
4602
4663
|
@api_client.config.logger.debug 'Calling API: PayrollUkApi.get_timesheets ...'
|
4603
4664
|
end
|
@@ -4667,7 +4728,8 @@ module XeroRuby
|
|
4667
4728
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
4668
4729
|
# @param [Hash] opts the optional parameters
|
4669
4730
|
# @return [Array<(TrackingCategories, Integer, Hash)>] TrackingCategories data, response status code and response headers
|
4670
|
-
def get_tracking_categories_with_http_info(xero_tenant_id,
|
4731
|
+
def get_tracking_categories_with_http_info(xero_tenant_id, options = {})
|
4732
|
+
opts = options.dup
|
4671
4733
|
if @api_client.config.debugging
|
4672
4734
|
@api_client.config.logger.debug 'Calling API: PayrollUkApi.get_tracking_categories ...'
|
4673
4735
|
end
|
@@ -4737,7 +4799,8 @@ module XeroRuby
|
|
4737
4799
|
# @param timesheet_id [String] Identifier for the timesheet
|
4738
4800
|
# @param [Hash] opts the optional parameters
|
4739
4801
|
# @return [Array<(TimesheetObject, Integer, Hash)>] TimesheetObject data, response status code and response headers
|
4740
|
-
def revert_timesheet_with_http_info(xero_tenant_id, timesheet_id,
|
4802
|
+
def revert_timesheet_with_http_info(xero_tenant_id, timesheet_id, options = {})
|
4803
|
+
opts = options.dup
|
4741
4804
|
if @api_client.config.debugging
|
4742
4805
|
@api_client.config.logger.debug 'Calling API: PayrollUkApi.revert_timesheet ...'
|
4743
4806
|
end
|
@@ -4813,7 +4876,8 @@ module XeroRuby
|
|
4813
4876
|
# @param employee [Employee]
|
4814
4877
|
# @param [Hash] opts the optional parameters
|
4815
4878
|
# @return [Array<(EmployeeObject, Integer, Hash)>] EmployeeObject data, response status code and response headers
|
4816
|
-
def update_employee_with_http_info(xero_tenant_id, employee_id, employee,
|
4879
|
+
def update_employee_with_http_info(xero_tenant_id, employee_id, employee, options = {})
|
4880
|
+
opts = options.dup
|
4817
4881
|
if @api_client.config.debugging
|
4818
4882
|
@api_client.config.logger.debug 'Calling API: PayrollUkApi.update_employee ...'
|
4819
4883
|
end
|
@@ -4897,7 +4961,8 @@ module XeroRuby
|
|
4897
4961
|
# @param earnings_template [EarningsTemplate]
|
4898
4962
|
# @param [Hash] opts the optional parameters
|
4899
4963
|
# @return [Array<(EarningsTemplateObject, Integer, Hash)>] EarningsTemplateObject data, response status code and response headers
|
4900
|
-
def update_employee_earnings_template_with_http_info(xero_tenant_id, employee_id, pay_template_earning_id, earnings_template,
|
4964
|
+
def update_employee_earnings_template_with_http_info(xero_tenant_id, employee_id, pay_template_earning_id, earnings_template, options = {})
|
4965
|
+
opts = options.dup
|
4901
4966
|
if @api_client.config.debugging
|
4902
4967
|
@api_client.config.logger.debug 'Calling API: PayrollUkApi.update_employee_earnings_template ...'
|
4903
4968
|
end
|
@@ -4985,7 +5050,8 @@ module XeroRuby
|
|
4985
5050
|
# @param employee_leave [EmployeeLeave]
|
4986
5051
|
# @param [Hash] opts the optional parameters
|
4987
5052
|
# @return [Array<(EmployeeLeaveObject, Integer, Hash)>] EmployeeLeaveObject data, response status code and response headers
|
4988
|
-
def update_employee_leave_with_http_info(xero_tenant_id, employee_id, leave_id, employee_leave,
|
5053
|
+
def update_employee_leave_with_http_info(xero_tenant_id, employee_id, leave_id, employee_leave, options = {})
|
5054
|
+
opts = options.dup
|
4989
5055
|
if @api_client.config.debugging
|
4990
5056
|
@api_client.config.logger.debug 'Calling API: PayrollUkApi.update_employee_leave ...'
|
4991
5057
|
end
|
@@ -5071,7 +5137,8 @@ module XeroRuby
|
|
5071
5137
|
# @param employee_opening_balances [EmployeeOpeningBalances]
|
5072
5138
|
# @param [Hash] opts the optional parameters
|
5073
5139
|
# @return [Array<(EmployeeOpeningBalancesObject, Integer, Hash)>] EmployeeOpeningBalancesObject data, response status code and response headers
|
5074
|
-
def update_employee_opening_balances_with_http_info(xero_tenant_id, employee_id, employee_opening_balances,
|
5140
|
+
def update_employee_opening_balances_with_http_info(xero_tenant_id, employee_id, employee_opening_balances, options = {})
|
5141
|
+
opts = options.dup
|
5075
5142
|
if @api_client.config.debugging
|
5076
5143
|
@api_client.config.logger.debug 'Calling API: PayrollUkApi.update_employee_opening_balances ...'
|
5077
5144
|
end
|
@@ -5155,7 +5222,8 @@ module XeroRuby
|
|
5155
5222
|
# @param salary_and_wage [SalaryAndWage]
|
5156
5223
|
# @param [Hash] opts the optional parameters
|
5157
5224
|
# @return [Array<(SalaryAndWageObject, Integer, Hash)>] SalaryAndWageObject data, response status code and response headers
|
5158
|
-
def update_employee_salary_and_wage_with_http_info(xero_tenant_id, employee_id, salary_and_wages_id, salary_and_wage,
|
5225
|
+
def update_employee_salary_and_wage_with_http_info(xero_tenant_id, employee_id, salary_and_wages_id, salary_and_wage, options = {})
|
5226
|
+
opts = options.dup
|
5159
5227
|
if @api_client.config.debugging
|
5160
5228
|
@api_client.config.logger.debug 'Calling API: PayrollUkApi.update_employee_salary_and_wage ...'
|
5161
5229
|
end
|
@@ -5241,7 +5309,8 @@ module XeroRuby
|
|
5241
5309
|
# @param pay_run [PayRun]
|
5242
5310
|
# @param [Hash] opts the optional parameters
|
5243
5311
|
# @return [Array<(PayRunObject, Integer, Hash)>] PayRunObject data, response status code and response headers
|
5244
|
-
def update_pay_run_with_http_info(xero_tenant_id, pay_run_id, pay_run,
|
5312
|
+
def update_pay_run_with_http_info(xero_tenant_id, pay_run_id, pay_run, options = {})
|
5313
|
+
opts = options.dup
|
5245
5314
|
if @api_client.config.debugging
|
5246
5315
|
@api_client.config.logger.debug 'Calling API: PayrollUkApi.update_pay_run ...'
|
5247
5316
|
end
|
@@ -5325,7 +5394,8 @@ module XeroRuby
|
|
5325
5394
|
# @param timesheet_line [TimesheetLine]
|
5326
5395
|
# @param [Hash] opts the optional parameters
|
5327
5396
|
# @return [Array<(TimesheetLineObject, Integer, Hash)>] TimesheetLineObject data, response status code and response headers
|
5328
|
-
def update_timesheet_line_with_http_info(xero_tenant_id, timesheet_id, timesheet_line_id, timesheet_line,
|
5397
|
+
def update_timesheet_line_with_http_info(xero_tenant_id, timesheet_id, timesheet_line_id, timesheet_line, options = {})
|
5398
|
+
opts = options.dup
|
5329
5399
|
if @api_client.config.debugging
|
5330
5400
|
@api_client.config.logger.debug 'Calling API: PayrollUkApi.update_timesheet_line ...'
|
5331
5401
|
end
|