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.
@@ -33,7 +33,8 @@ module XeroRuby
33
33
  # @param asset [Asset] Fixed asset you are creating
34
34
  # @param [Hash] opts the optional parameters
35
35
  # @return [Array<(Asset, Integer, Hash)>] Asset data, response status code and response headers
36
- def create_asset_with_http_info(xero_tenant_id, asset, opts = {})
36
+ def create_asset_with_http_info(xero_tenant_id, asset, options = {})
37
+ opts = options.dup
37
38
  if @api_client.config.debugging
38
39
  @api_client.config.logger.debug 'Calling API: AssetApi.create_asset ...'
39
40
  end
@@ -111,7 +112,8 @@ module XeroRuby
111
112
  # @param [Hash] opts the optional parameters
112
113
  # @option opts [AssetType] :asset_type Asset type to add
113
114
  # @return [Array<(AssetType, Integer, Hash)>] AssetType data, response status code and response headers
114
- def create_asset_type_with_http_info(xero_tenant_id, opts = {})
115
+ def create_asset_type_with_http_info(xero_tenant_id, options = {})
116
+ opts = options.dup
115
117
  if @api_client.config.debugging
116
118
  @api_client.config.logger.debug 'Calling API: AssetApi.create_asset_type ...'
117
119
  end
@@ -185,7 +187,8 @@ module XeroRuby
185
187
  # @param id [String] fixed asset id for single object
186
188
  # @param [Hash] opts the optional parameters
187
189
  # @return [Array<(Asset, Integer, Hash)>] Asset data, response status code and response headers
188
- def get_asset_by_id_with_http_info(xero_tenant_id, id, opts = {})
190
+ def get_asset_by_id_with_http_info(xero_tenant_id, id, options = {})
191
+ opts = options.dup
189
192
  if @api_client.config.debugging
190
193
  @api_client.config.logger.debug 'Calling API: AssetApi.get_asset_by_id ...'
191
194
  end
@@ -259,7 +262,8 @@ module XeroRuby
259
262
  # @param xero_tenant_id [String] Xero identifier for Tenant
260
263
  # @param [Hash] opts the optional parameters
261
264
  # @return [Array<(Setting, Integer, Hash)>] Setting data, response status code and response headers
262
- def get_asset_settings_with_http_info(xero_tenant_id, opts = {})
265
+ def get_asset_settings_with_http_info(xero_tenant_id, options = {})
266
+ opts = options.dup
263
267
  if @api_client.config.debugging
264
268
  @api_client.config.logger.debug 'Calling API: AssetApi.get_asset_settings ...'
265
269
  end
@@ -329,7 +333,8 @@ module XeroRuby
329
333
  # @param xero_tenant_id [String] Xero identifier for Tenant
330
334
  # @param [Hash] opts the optional parameters
331
335
  # @return [Array<(Array<AssetType>, Integer, Hash)>] Array<AssetType> data, response status code and response headers
332
- def get_asset_types_with_http_info(xero_tenant_id, opts = {})
336
+ def get_asset_types_with_http_info(xero_tenant_id, options = {})
337
+ opts = options.dup
333
338
  if @api_client.config.debugging
334
339
  @api_client.config.logger.debug 'Calling API: AssetApi.get_asset_types ...'
335
340
  end
@@ -411,7 +416,8 @@ module XeroRuby
411
416
  # @option opts [String] :sort_direction ASC or DESC
412
417
  # @option opts [String] :filter_by A string that can be used to filter the list to only return assets containing the text. Checks it against the AssetName, AssetNumber, Description and AssetTypeName fields.
413
418
  # @return [Array<(Assets, Integer, Hash)>] Assets data, response status code and response headers
414
- def get_assets_with_http_info(xero_tenant_id, status, opts = {})
419
+ def get_assets_with_http_info(xero_tenant_id, status, options = {})
420
+ opts = options.dup
415
421
  if @api_client.config.debugging
416
422
  @api_client.config.logger.debug 'Calling API: AssetApi.get_assets ...'
417
423
  end
@@ -35,7 +35,8 @@ module XeroRuby
35
35
  # @param [Hash] opts the optional parameters
36
36
  # @option opts [Association] :association
37
37
  # @return [Array<(Association, Integer, Hash)>] Association data, response status code and response headers
38
- def create_file_association_with_http_info(xero_tenant_id, file_id, opts = {})
38
+ def create_file_association_with_http_info(xero_tenant_id, file_id, options = {})
39
+ opts = options.dup
39
40
  if @api_client.config.debugging
40
41
  @api_client.config.logger.debug 'Calling API: FilesApi.create_file_association ...'
41
42
  end
@@ -113,7 +114,8 @@ module XeroRuby
113
114
  # @param [Hash] opts the optional parameters
114
115
  # @option opts [Folder] :folder
115
116
  # @return [Array<(Folder, Integer, Hash)>] Folder data, response status code and response headers
116
- def create_folder_with_http_info(xero_tenant_id, opts = {})
117
+ def create_folder_with_http_info(xero_tenant_id, options = {})
118
+ opts = options.dup
117
119
  if @api_client.config.debugging
118
120
  @api_client.config.logger.debug 'Calling API: FilesApi.create_folder ...'
119
121
  end
@@ -187,7 +189,8 @@ module XeroRuby
187
189
  # @param file_id [String] File id for single object
188
190
  # @param [Hash] opts the optional parameters
189
191
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
190
- def delete_file_with_http_info(xero_tenant_id, file_id, opts = {})
192
+ def delete_file_with_http_info(xero_tenant_id, file_id, options = {})
193
+ opts = options.dup
191
194
  if @api_client.config.debugging
192
195
  @api_client.config.logger.debug 'Calling API: FilesApi.delete_file ...'
193
196
  end
@@ -263,7 +266,8 @@ module XeroRuby
263
266
  # @param object_id [String] Object id for single object
264
267
  # @param [Hash] opts the optional parameters
265
268
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
266
- def delete_file_association_with_http_info(xero_tenant_id, file_id, object_id, opts = {})
269
+ def delete_file_association_with_http_info(xero_tenant_id, file_id, object_id, options = {})
270
+ opts = options.dup
267
271
  if @api_client.config.debugging
268
272
  @api_client.config.logger.debug 'Calling API: FilesApi.delete_file_association ...'
269
273
  end
@@ -341,7 +345,8 @@ module XeroRuby
341
345
  # @param folder_id [String] Folder id for single object
342
346
  # @param [Hash] opts the optional parameters
343
347
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
344
- def delete_folder_with_http_info(xero_tenant_id, folder_id, opts = {})
348
+ def delete_folder_with_http_info(xero_tenant_id, folder_id, options = {})
349
+ opts = options.dup
345
350
  if @api_client.config.debugging
346
351
  @api_client.config.logger.debug 'Calling API: FilesApi.delete_folder ...'
347
352
  end
@@ -415,7 +420,8 @@ module XeroRuby
415
420
  # @param object_id [String] Object id for single object
416
421
  # @param [Hash] opts the optional parameters
417
422
  # @return [Array<(Array<Association>, Integer, Hash)>] Array<Association> data, response status code and response headers
418
- def get_associations_by_object_with_http_info(xero_tenant_id, object_id, opts = {})
423
+ def get_associations_by_object_with_http_info(xero_tenant_id, object_id, options = {})
424
+ opts = options.dup
419
425
  if @api_client.config.debugging
420
426
  @api_client.config.logger.debug 'Calling API: FilesApi.get_associations_by_object ...'
421
427
  end
@@ -489,7 +495,8 @@ module XeroRuby
489
495
  # @param file_id [String] File id for single object
490
496
  # @param [Hash] opts the optional parameters
491
497
  # @return [Array<(FileObject, Integer, Hash)>] FileObject data, response status code and response headers
492
- def get_file_with_http_info(xero_tenant_id, file_id, opts = {})
498
+ def get_file_with_http_info(xero_tenant_id, file_id, options = {})
499
+ opts = options.dup
493
500
  if @api_client.config.debugging
494
501
  @api_client.config.logger.debug 'Calling API: FilesApi.get_file ...'
495
502
  end
@@ -565,7 +572,8 @@ module XeroRuby
565
572
  # @param file_id [String] File id for single object
566
573
  # @param [Hash] opts the optional parameters
567
574
  # @return [Array<(Array<Association>, Integer, Hash)>] Array<Association> data, response status code and response headers
568
- def get_file_associations_with_http_info(xero_tenant_id, file_id, opts = {})
575
+ def get_file_associations_with_http_info(xero_tenant_id, file_id, options = {})
576
+ opts = options.dup
569
577
  if @api_client.config.debugging
570
578
  @api_client.config.logger.debug 'Calling API: FilesApi.get_file_associations ...'
571
579
  end
@@ -641,7 +649,8 @@ module XeroRuby
641
649
  # @param file_id [String] File id for single object
642
650
  # @param [Hash] opts the optional parameters
643
651
  # @return [Array<(File, Integer, Hash)>] File data, response status code and response headers
644
- def get_file_content_with_http_info(xero_tenant_id, file_id, opts = {})
652
+ def get_file_content_with_http_info(xero_tenant_id, file_id, options = {})
653
+ opts = options.dup
645
654
  if @api_client.config.debugging
646
655
  @api_client.config.logger.debug 'Calling API: FilesApi.get_file_content ...'
647
656
  end
@@ -719,7 +728,8 @@ module XeroRuby
719
728
  # @option opts [Integer] :page number of records to skip for pagination
720
729
  # @option opts [String] :sort values to sort by
721
730
  # @return [Array<(Files, Integer, Hash)>] Files data, response status code and response headers
722
- def get_files_with_http_info(xero_tenant_id, opts = {})
731
+ def get_files_with_http_info(xero_tenant_id, options = {})
732
+ opts = options.dup
723
733
  if @api_client.config.debugging
724
734
  @api_client.config.logger.debug 'Calling API: FilesApi.get_files ...'
725
735
  end
@@ -806,7 +816,8 @@ module XeroRuby
806
816
  # @param folder_id [String] Folder id for single object
807
817
  # @param [Hash] opts the optional parameters
808
818
  # @return [Array<(Folder, Integer, Hash)>] Folder data, response status code and response headers
809
- def get_folder_with_http_info(xero_tenant_id, folder_id, opts = {})
819
+ def get_folder_with_http_info(xero_tenant_id, folder_id, options = {})
820
+ opts = options.dup
810
821
  if @api_client.config.debugging
811
822
  @api_client.config.logger.debug 'Calling API: FilesApi.get_folder ...'
812
823
  end
@@ -882,7 +893,8 @@ module XeroRuby
882
893
  # @param [Hash] opts the optional parameters
883
894
  # @option opts [String] :sort values to sort by
884
895
  # @return [Array<(Array<Folder>, Integer, Hash)>] Array<Folder> data, response status code and response headers
885
- def get_folders_with_http_info(xero_tenant_id, opts = {})
896
+ def get_folders_with_http_info(xero_tenant_id, options = {})
897
+ opts = options.dup
886
898
  if @api_client.config.debugging
887
899
  @api_client.config.logger.debug 'Calling API: FilesApi.get_folders ...'
888
900
  end
@@ -957,7 +969,8 @@ module XeroRuby
957
969
  # @param xero_tenant_id [String] Xero identifier for Tenant
958
970
  # @param [Hash] opts the optional parameters
959
971
  # @return [Array<(Folder, Integer, Hash)>] Folder data, response status code and response headers
960
- def get_inbox_with_http_info(xero_tenant_id, opts = {})
972
+ def get_inbox_with_http_info(xero_tenant_id, options = {})
973
+ opts = options.dup
961
974
  if @api_client.config.debugging
962
975
  @api_client.config.logger.debug 'Calling API: FilesApi.get_inbox ...'
963
976
  end
@@ -1031,7 +1044,8 @@ module XeroRuby
1031
1044
  # @param [Hash] opts the optional parameters
1032
1045
  # @option opts [FileObject] :file_object
1033
1046
  # @return [Array<(FileObject, Integer, Hash)>] FileObject data, response status code and response headers
1034
- def update_file_with_http_info(xero_tenant_id, file_id, opts = {})
1047
+ def update_file_with_http_info(xero_tenant_id, file_id, options = {})
1048
+ opts = options.dup
1035
1049
  if @api_client.config.debugging
1036
1050
  @api_client.config.logger.debug 'Calling API: FilesApi.update_file ...'
1037
1051
  end
@@ -1111,7 +1125,8 @@ module XeroRuby
1111
1125
  # @param folder [Folder]
1112
1126
  # @param [Hash] opts the optional parameters
1113
1127
  # @return [Array<(Folder, Integer, Hash)>] Folder data, response status code and response headers
1114
- def update_folder_with_http_info(xero_tenant_id, folder_id, folder, opts = {})
1128
+ def update_folder_with_http_info(xero_tenant_id, folder_id, folder, options = {})
1129
+ opts = options.dup
1115
1130
  if @api_client.config.debugging
1116
1131
  @api_client.config.logger.debug 'Calling API: FilesApi.update_folder ...'
1117
1132
  end
@@ -1197,7 +1212,8 @@ module XeroRuby
1197
1212
  # @param [Hash] opts the optional parameters
1198
1213
  # @option opts [String] :mime_type
1199
1214
  # @return [Array<(FileObject, Integer, Hash)>] FileObject data, response status code and response headers
1200
- def upload_file_with_http_info(xero_tenant_id, body, name, filename, opts = {})
1215
+ def upload_file_with_http_info(xero_tenant_id, body, name, filename, options = {})
1216
+ opts = options.dup
1201
1217
  if @api_client.config.debugging
1202
1218
  @api_client.config.logger.debug 'Calling API: FilesApi.upload_file ...'
1203
1219
  end
@@ -1293,7 +1309,8 @@ module XeroRuby
1293
1309
  # @param [Hash] opts the optional parameters
1294
1310
  # @option opts [String] :mime_type
1295
1311
  # @return [Array<(FileObject, Integer, Hash)>] FileObject data, response status code and response headers
1296
- def upload_file_to_folder_with_http_info(xero_tenant_id, folder_id, body, name, filename, opts = {})
1312
+ def upload_file_to_folder_with_http_info(xero_tenant_id, folder_id, body, name, filename, options = {})
1313
+ opts = options.dup
1297
1314
  if @api_client.config.debugging
1298
1315
  @api_client.config.logger.debug 'Calling API: FilesApi.upload_file_to_folder ...'
1299
1316
  end
@@ -31,7 +31,8 @@ module XeroRuby
31
31
  # @param employee [Array<Employee>]
32
32
  # @param [Hash] opts the optional parameters
33
33
  # @return [Array<(Employees, Integer, Hash)>] Employees data, response status code and response headers
34
- def create_employee_with_http_info(xero_tenant_id, employee, opts = {})
34
+ def create_employee_with_http_info(xero_tenant_id, employee, options = {})
35
+ opts = options.dup
35
36
  if @api_client.config.debugging
36
37
  @api_client.config.logger.debug 'Calling API: PayrollAuApi.create_employee ...'
37
38
  end
@@ -107,7 +108,8 @@ module XeroRuby
107
108
  # @param leave_application [Array<LeaveApplication>]
108
109
  # @param [Hash] opts the optional parameters
109
110
  # @return [Array<(LeaveApplications, Integer, Hash)>] LeaveApplications data, response status code and response headers
110
- def create_leave_application_with_http_info(xero_tenant_id, leave_application, opts = {})
111
+ def create_leave_application_with_http_info(xero_tenant_id, leave_application, options = {})
112
+ opts = options.dup
111
113
  if @api_client.config.debugging
112
114
  @api_client.config.logger.debug 'Calling API: PayrollAuApi.create_leave_application ...'
113
115
  end
@@ -183,7 +185,8 @@ module XeroRuby
183
185
  # @param pay_item [PayItem]
184
186
  # @param [Hash] opts the optional parameters
185
187
  # @return [Array<(PayItems, Integer, Hash)>] PayItems data, response status code and response headers
186
- def create_pay_item_with_http_info(xero_tenant_id, pay_item, opts = {})
188
+ def create_pay_item_with_http_info(xero_tenant_id, pay_item, options = {})
189
+ opts = options.dup
187
190
  if @api_client.config.debugging
188
191
  @api_client.config.logger.debug 'Calling API: PayrollAuApi.create_pay_item ...'
189
192
  end
@@ -259,7 +262,8 @@ module XeroRuby
259
262
  # @param pay_run [Array<PayRun>]
260
263
  # @param [Hash] opts the optional parameters
261
264
  # @return [Array<(PayRuns, Integer, Hash)>] PayRuns data, response status code and response headers
262
- def create_pay_run_with_http_info(xero_tenant_id, pay_run, opts = {})
265
+ def create_pay_run_with_http_info(xero_tenant_id, pay_run, options = {})
266
+ opts = options.dup
263
267
  if @api_client.config.debugging
264
268
  @api_client.config.logger.debug 'Calling API: PayrollAuApi.create_pay_run ...'
265
269
  end
@@ -335,7 +339,8 @@ module XeroRuby
335
339
  # @param payroll_calendar [Array<PayrollCalendar>]
336
340
  # @param [Hash] opts the optional parameters
337
341
  # @return [Array<(PayrollCalendars, Integer, Hash)>] PayrollCalendars data, response status code and response headers
338
- def create_payroll_calendar_with_http_info(xero_tenant_id, payroll_calendar, opts = {})
342
+ def create_payroll_calendar_with_http_info(xero_tenant_id, payroll_calendar, options = {})
343
+ opts = options.dup
339
344
  if @api_client.config.debugging
340
345
  @api_client.config.logger.debug 'Calling API: PayrollAuApi.create_payroll_calendar ...'
341
346
  end
@@ -411,7 +416,8 @@ module XeroRuby
411
416
  # @param super_fund [Array<SuperFund>]
412
417
  # @param [Hash] opts the optional parameters
413
418
  # @return [Array<(SuperFunds, Integer, Hash)>] SuperFunds data, response status code and response headers
414
- def create_superfund_with_http_info(xero_tenant_id, super_fund, opts = {})
419
+ def create_superfund_with_http_info(xero_tenant_id, super_fund, options = {})
420
+ opts = options.dup
415
421
  if @api_client.config.debugging
416
422
  @api_client.config.logger.debug 'Calling API: PayrollAuApi.create_superfund ...'
417
423
  end
@@ -487,7 +493,8 @@ module XeroRuby
487
493
  # @param timesheet [Array<Timesheet>]
488
494
  # @param [Hash] opts the optional parameters
489
495
  # @return [Array<(Timesheets, Integer, Hash)>] Timesheets data, response status code and response headers
490
- def create_timesheet_with_http_info(xero_tenant_id, timesheet, opts = {})
496
+ def create_timesheet_with_http_info(xero_tenant_id, timesheet, options = {})
497
+ opts = options.dup
491
498
  if @api_client.config.debugging
492
499
  @api_client.config.logger.debug 'Calling API: PayrollAuApi.create_timesheet ...'
493
500
  end
@@ -563,7 +570,8 @@ module XeroRuby
563
570
  # @param employee_id [String] Employee id for single object
564
571
  # @param [Hash] opts the optional parameters
565
572
  # @return [Array<(Employees, Integer, Hash)>] Employees data, response status code and response headers
566
- def get_employee_with_http_info(xero_tenant_id, employee_id, opts = {})
573
+ def get_employee_with_http_info(xero_tenant_id, employee_id, options = {})
574
+ opts = options.dup
567
575
  if @api_client.config.debugging
568
576
  @api_client.config.logger.debug 'Calling API: PayrollAuApi.get_employee ...'
569
577
  end
@@ -643,7 +651,8 @@ module XeroRuby
643
651
  # @option opts [String] :order Order by an any element
644
652
  # @option opts [Integer] :page e.g. page&#x3D;1 – Up to 100 employees will be returned in a single API call
645
653
  # @return [Array<(Employees, Integer, Hash)>] Employees data, response status code and response headers
646
- def get_employees_with_http_info(xero_tenant_id, opts = {})
654
+ def get_employees_with_http_info(xero_tenant_id, options = {})
655
+ opts = options.dup
647
656
  if @api_client.config.debugging
648
657
  @api_client.config.logger.debug 'Calling API: PayrollAuApi.get_employees ...'
649
658
  end
@@ -717,7 +726,8 @@ module XeroRuby
717
726
  # @param leave_application_id [String] Leave Application id for single object
718
727
  # @param [Hash] opts the optional parameters
719
728
  # @return [Array<(LeaveApplications, Integer, Hash)>] LeaveApplications data, response status code and response headers
720
- def get_leave_application_with_http_info(xero_tenant_id, leave_application_id, opts = {})
729
+ def get_leave_application_with_http_info(xero_tenant_id, leave_application_id, options = {})
730
+ opts = options.dup
721
731
  if @api_client.config.debugging
722
732
  @api_client.config.logger.debug 'Calling API: PayrollAuApi.get_leave_application ...'
723
733
  end
@@ -797,7 +807,8 @@ module XeroRuby
797
807
  # @option opts [String] :order Order by an any element
798
808
  # @option opts [Integer] :page e.g. page&#x3D;1 – Up to 100 objects will be returned in a single API call
799
809
  # @return [Array<(LeaveApplications, Integer, Hash)>] LeaveApplications data, response status code and response headers
800
- def get_leave_applications_with_http_info(xero_tenant_id, opts = {})
810
+ def get_leave_applications_with_http_info(xero_tenant_id, options = {})
811
+ opts = options.dup
801
812
  if @api_client.config.debugging
802
813
  @api_client.config.logger.debug 'Calling API: PayrollAuApi.get_leave_applications ...'
803
814
  end
@@ -877,7 +888,8 @@ module XeroRuby
877
888
  # @option opts [String] :order Order by an any element
878
889
  # @option opts [Integer] :page e.g. page&#x3D;1 – Up to 100 objects will be returned in a single API call
879
890
  # @return [Array<(PayItems, Integer, Hash)>] PayItems data, response status code and response headers
880
- def get_pay_items_with_http_info(xero_tenant_id, opts = {})
891
+ def get_pay_items_with_http_info(xero_tenant_id, options = {})
892
+ opts = options.dup
881
893
  if @api_client.config.debugging
882
894
  @api_client.config.logger.debug 'Calling API: PayrollAuApi.get_pay_items ...'
883
895
  end
@@ -951,7 +963,8 @@ module XeroRuby
951
963
  # @param pay_run_id [String] PayRun id for single object
952
964
  # @param [Hash] opts the optional parameters
953
965
  # @return [Array<(PayRuns, Integer, Hash)>] PayRuns data, response status code and response headers
954
- def get_pay_run_with_http_info(xero_tenant_id, pay_run_id, opts = {})
966
+ def get_pay_run_with_http_info(xero_tenant_id, pay_run_id, options = {})
967
+ opts = options.dup
955
968
  if @api_client.config.debugging
956
969
  @api_client.config.logger.debug 'Calling API: PayrollAuApi.get_pay_run ...'
957
970
  end
@@ -1031,7 +1044,8 @@ module XeroRuby
1031
1044
  # @option opts [String] :order Order by an any element
1032
1045
  # @option opts [Integer] :page e.g. page&#x3D;1 – Up to 100 PayRuns will be returned in a single API call
1033
1046
  # @return [Array<(PayRuns, Integer, Hash)>] PayRuns data, response status code and response headers
1034
- def get_pay_runs_with_http_info(xero_tenant_id, opts = {})
1047
+ def get_pay_runs_with_http_info(xero_tenant_id, options = {})
1048
+ opts = options.dup
1035
1049
  if @api_client.config.debugging
1036
1050
  @api_client.config.logger.debug 'Calling API: PayrollAuApi.get_pay_runs ...'
1037
1051
  end
@@ -1105,7 +1119,8 @@ module XeroRuby
1105
1119
  # @param payroll_calendar_id [String] Payroll Calendar id for single object
1106
1120
  # @param [Hash] opts the optional parameters
1107
1121
  # @return [Array<(PayrollCalendars, Integer, Hash)>] PayrollCalendars data, response status code and response headers
1108
- def get_payroll_calendar_with_http_info(xero_tenant_id, payroll_calendar_id, opts = {})
1122
+ def get_payroll_calendar_with_http_info(xero_tenant_id, payroll_calendar_id, options = {})
1123
+ opts = options.dup
1109
1124
  if @api_client.config.debugging
1110
1125
  @api_client.config.logger.debug 'Calling API: PayrollAuApi.get_payroll_calendar ...'
1111
1126
  end
@@ -1185,7 +1200,8 @@ module XeroRuby
1185
1200
  # @option opts [String] :order Order by an any element
1186
1201
  # @option opts [Integer] :page e.g. page&#x3D;1 – Up to 100 objects will be returned in a single API call
1187
1202
  # @return [Array<(PayrollCalendars, Integer, Hash)>] PayrollCalendars data, response status code and response headers
1188
- def get_payroll_calendars_with_http_info(xero_tenant_id, opts = {})
1203
+ def get_payroll_calendars_with_http_info(xero_tenant_id, options = {})
1204
+ opts = options.dup
1189
1205
  if @api_client.config.debugging
1190
1206
  @api_client.config.logger.debug 'Calling API: PayrollAuApi.get_payroll_calendars ...'
1191
1207
  end
@@ -1259,7 +1275,8 @@ module XeroRuby
1259
1275
  # @param payslip_id [String] Payslip id for single object
1260
1276
  # @param [Hash] opts the optional parameters
1261
1277
  # @return [Array<(PayslipObject, Integer, Hash)>] PayslipObject data, response status code and response headers
1262
- def get_payslip_with_http_info(xero_tenant_id, payslip_id, opts = {})
1278
+ def get_payslip_with_http_info(xero_tenant_id, payslip_id, options = {})
1279
+ opts = options.dup
1263
1280
  if @api_client.config.debugging
1264
1281
  @api_client.config.logger.debug 'Calling API: PayrollAuApi.get_payslip ...'
1265
1282
  end
@@ -1331,7 +1348,8 @@ module XeroRuby
1331
1348
  # @param xero_tenant_id [String] Xero identifier for Tenant
1332
1349
  # @param [Hash] opts the optional parameters
1333
1350
  # @return [Array<(SettingsObject, Integer, Hash)>] SettingsObject data, response status code and response headers
1334
- def get_settings_with_http_info(xero_tenant_id, opts = {})
1351
+ def get_settings_with_http_info(xero_tenant_id, options = {})
1352
+ opts = options.dup
1335
1353
  if @api_client.config.debugging
1336
1354
  @api_client.config.logger.debug 'Calling API: PayrollAuApi.get_settings ...'
1337
1355
  end
@@ -1401,7 +1419,8 @@ module XeroRuby
1401
1419
  # @param super_fund_id [String] Superfund id for single object
1402
1420
  # @param [Hash] opts the optional parameters
1403
1421
  # @return [Array<(SuperFunds, Integer, Hash)>] SuperFunds data, response status code and response headers
1404
- def get_superfund_with_http_info(xero_tenant_id, super_fund_id, opts = {})
1422
+ def get_superfund_with_http_info(xero_tenant_id, super_fund_id, options = {})
1423
+ opts = options.dup
1405
1424
  if @api_client.config.debugging
1406
1425
  @api_client.config.logger.debug 'Calling API: PayrollAuApi.get_superfund ...'
1407
1426
  end
@@ -1477,7 +1496,8 @@ module XeroRuby
1477
1496
  # @option opts [String] :abn The ABN of the Regulated SuperFund
1478
1497
  # @option opts [String] :usi The USI of the Regulated SuperFund
1479
1498
  # @return [Array<(SuperFundProducts, Integer, Hash)>] SuperFundProducts data, response status code and response headers
1480
- def get_superfund_products_with_http_info(xero_tenant_id, opts = {})
1499
+ def get_superfund_products_with_http_info(xero_tenant_id, options = {})
1500
+ opts = options.dup
1481
1501
  if @api_client.config.debugging
1482
1502
  @api_client.config.logger.debug 'Calling API: PayrollAuApi.get_superfund_products ...'
1483
1503
  end
@@ -1555,7 +1575,8 @@ module XeroRuby
1555
1575
  # @option opts [String] :order Order by an any element
1556
1576
  # @option opts [Integer] :page e.g. page&#x3D;1 – Up to 100 SuperFunds will be returned in a single API call
1557
1577
  # @return [Array<(SuperFunds, Integer, Hash)>] SuperFunds data, response status code and response headers
1558
- def get_superfunds_with_http_info(xero_tenant_id, opts = {})
1578
+ def get_superfunds_with_http_info(xero_tenant_id, options = {})
1579
+ opts = options.dup
1559
1580
  if @api_client.config.debugging
1560
1581
  @api_client.config.logger.debug 'Calling API: PayrollAuApi.get_superfunds ...'
1561
1582
  end
@@ -1629,7 +1650,8 @@ module XeroRuby
1629
1650
  # @param timesheet_id [String] Timesheet id for single object
1630
1651
  # @param [Hash] opts the optional parameters
1631
1652
  # @return [Array<(TimesheetObject, Integer, Hash)>] TimesheetObject data, response status code and response headers
1632
- def get_timesheet_with_http_info(xero_tenant_id, timesheet_id, opts = {})
1653
+ def get_timesheet_with_http_info(xero_tenant_id, timesheet_id, options = {})
1654
+ opts = options.dup
1633
1655
  if @api_client.config.debugging
1634
1656
  @api_client.config.logger.debug 'Calling API: PayrollAuApi.get_timesheet ...'
1635
1657
  end
@@ -1709,7 +1731,8 @@ module XeroRuby
1709
1731
  # @option opts [String] :order Order by an any element
1710
1732
  # @option opts [Integer] :page e.g. page&#x3D;1 – Up to 100 timesheets will be returned in a single API call
1711
1733
  # @return [Array<(Timesheets, Integer, Hash)>] Timesheets data, response status code and response headers
1712
- def get_timesheets_with_http_info(xero_tenant_id, opts = {})
1734
+ def get_timesheets_with_http_info(xero_tenant_id, options = {})
1735
+ opts = options.dup
1713
1736
  if @api_client.config.debugging
1714
1737
  @api_client.config.logger.debug 'Calling API: PayrollAuApi.get_timesheets ...'
1715
1738
  end
@@ -1787,7 +1810,8 @@ module XeroRuby
1787
1810
  # @param [Hash] opts the optional parameters
1788
1811
  # @option opts [Array<Employee>] :employee
1789
1812
  # @return [Array<(Employees, Integer, Hash)>] Employees data, response status code and response headers
1790
- def update_employee_with_http_info(xero_tenant_id, employee_id, opts = {})
1813
+ def update_employee_with_http_info(xero_tenant_id, employee_id, options = {})
1814
+ opts = options.dup
1791
1815
  if @api_client.config.debugging
1792
1816
  @api_client.config.logger.debug 'Calling API: PayrollAuApi.update_employee ...'
1793
1817
  end
@@ -1865,7 +1889,8 @@ module XeroRuby
1865
1889
  # @param leave_application [Array<LeaveApplication>]
1866
1890
  # @param [Hash] opts the optional parameters
1867
1891
  # @return [Array<(LeaveApplications, Integer, Hash)>] LeaveApplications data, response status code and response headers
1868
- def update_leave_application_with_http_info(xero_tenant_id, leave_application_id, leave_application, opts = {})
1892
+ def update_leave_application_with_http_info(xero_tenant_id, leave_application_id, leave_application, options = {})
1893
+ opts = options.dup
1869
1894
  if @api_client.config.debugging
1870
1895
  @api_client.config.logger.debug 'Calling API: PayrollAuApi.update_leave_application ...'
1871
1896
  end
@@ -1949,7 +1974,8 @@ module XeroRuby
1949
1974
  # @param [Hash] opts the optional parameters
1950
1975
  # @option opts [Array<PayRun>] :pay_run
1951
1976
  # @return [Array<(PayRuns, Integer, Hash)>] PayRuns data, response status code and response headers
1952
- def update_pay_run_with_http_info(xero_tenant_id, pay_run_id, opts = {})
1977
+ def update_pay_run_with_http_info(xero_tenant_id, pay_run_id, options = {})
1978
+ opts = options.dup
1953
1979
  if @api_client.config.debugging
1954
1980
  @api_client.config.logger.debug 'Calling API: PayrollAuApi.update_pay_run ...'
1955
1981
  end
@@ -2029,7 +2055,8 @@ module XeroRuby
2029
2055
  # @param [Hash] opts the optional parameters
2030
2056
  # @option opts [Array<PayslipLines>] :payslip_lines
2031
2057
  # @return [Array<(Payslips, Integer, Hash)>] Payslips data, response status code and response headers
2032
- def update_payslip_with_http_info(xero_tenant_id, payslip_id, opts = {})
2058
+ def update_payslip_with_http_info(xero_tenant_id, payslip_id, options = {})
2059
+ opts = options.dup
2033
2060
  if @api_client.config.debugging
2034
2061
  @api_client.config.logger.debug 'Calling API: PayrollAuApi.update_payslip ...'
2035
2062
  end
@@ -2109,7 +2136,8 @@ module XeroRuby
2109
2136
  # @param [Hash] opts the optional parameters
2110
2137
  # @option opts [Array<SuperFund>] :super_fund
2111
2138
  # @return [Array<(SuperFunds, Integer, Hash)>] SuperFunds data, response status code and response headers
2112
- def update_superfund_with_http_info(xero_tenant_id, super_fund_id, opts = {})
2139
+ def update_superfund_with_http_info(xero_tenant_id, super_fund_id, options = {})
2140
+ opts = options.dup
2113
2141
  if @api_client.config.debugging
2114
2142
  @api_client.config.logger.debug 'Calling API: PayrollAuApi.update_superfund ...'
2115
2143
  end
@@ -2189,7 +2217,8 @@ module XeroRuby
2189
2217
  # @param [Hash] opts the optional parameters
2190
2218
  # @option opts [Array<Timesheet>] :timesheet
2191
2219
  # @return [Array<(Timesheets, Integer, Hash)>] Timesheets data, response status code and response headers
2192
- def update_timesheet_with_http_info(xero_tenant_id, timesheet_id, opts = {})
2220
+ def update_timesheet_with_http_info(xero_tenant_id, timesheet_id, options = {})
2221
+ opts = options.dup
2193
2222
  if @api_client.config.debugging
2194
2223
  @api_client.config.logger.debug 'Calling API: PayrollAuApi.update_timesheet ...'
2195
2224
  end