xero-ruby 2.7.0 → 2.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (405) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +51 -41
  3. data/lib/xero-ruby.rb +1 -1
  4. data/lib/xero-ruby/api/accounting_api.rb +570 -346
  5. data/lib/xero-ruby/api/asset_api.rb +12 -6
  6. data/lib/xero-ruby/api/files_api.rb +158 -32
  7. data/lib/xero-ruby/api/payroll_au_api.rb +58 -29
  8. data/lib/xero-ruby/api/payroll_nz_api.rb +136 -68
  9. data/lib/xero-ruby/api/payroll_uk_api.rb +146 -82
  10. data/lib/xero-ruby/api/project_api.rb +26 -13
  11. data/lib/xero-ruby/api_client.rb +14 -4
  12. data/lib/xero-ruby/models/accounting/account.rb +1 -1
  13. data/lib/xero-ruby/models/accounting/accounts.rb +1 -1
  14. data/lib/xero-ruby/models/accounting/accounts_payable.rb +1 -1
  15. data/lib/xero-ruby/models/accounting/accounts_receivable.rb +1 -1
  16. data/lib/xero-ruby/models/accounting/action.rb +1 -1
  17. data/lib/xero-ruby/models/accounting/actions.rb +1 -1
  18. data/lib/xero-ruby/models/accounting/address.rb +1 -1
  19. data/lib/xero-ruby/models/accounting/address_for_organisation.rb +1 -1
  20. data/lib/xero-ruby/models/accounting/allocation.rb +1 -1
  21. data/lib/xero-ruby/models/accounting/allocations.rb +1 -1
  22. data/lib/xero-ruby/models/accounting/attachment.rb +1 -1
  23. data/lib/xero-ruby/models/accounting/attachments.rb +1 -1
  24. data/lib/xero-ruby/models/accounting/balance_details.rb +1 -1
  25. data/lib/xero-ruby/models/accounting/balances.rb +1 -1
  26. data/lib/xero-ruby/models/accounting/bank_transaction.rb +1 -1
  27. data/lib/xero-ruby/models/accounting/bank_transactions.rb +1 -1
  28. data/lib/xero-ruby/models/accounting/bank_transfer.rb +1 -1
  29. data/lib/xero-ruby/models/accounting/bank_transfers.rb +1 -1
  30. data/lib/xero-ruby/models/accounting/batch_payment.rb +17 -5
  31. data/lib/xero-ruby/models/accounting/batch_payment_details.rb +1 -1
  32. data/lib/xero-ruby/models/accounting/batch_payments.rb +1 -1
  33. data/lib/xero-ruby/models/accounting/bill.rb +1 -1
  34. data/lib/xero-ruby/models/accounting/branding_theme.rb +1 -1
  35. data/lib/xero-ruby/models/accounting/branding_themes.rb +1 -1
  36. data/lib/xero-ruby/models/accounting/cis_org_setting.rb +1 -1
  37. data/lib/xero-ruby/models/accounting/cis_org_settings.rb +1 -1
  38. data/lib/xero-ruby/models/accounting/cis_setting.rb +1 -1
  39. data/lib/xero-ruby/models/accounting/cis_settings.rb +1 -1
  40. data/lib/xero-ruby/models/accounting/contact.rb +1 -1
  41. data/lib/xero-ruby/models/accounting/contact_group.rb +1 -1
  42. data/lib/xero-ruby/models/accounting/contact_groups.rb +1 -1
  43. data/lib/xero-ruby/models/accounting/contact_person.rb +1 -1
  44. data/lib/xero-ruby/models/accounting/contacts.rb +1 -1
  45. data/lib/xero-ruby/models/accounting/conversion_balances.rb +1 -1
  46. data/lib/xero-ruby/models/accounting/conversion_date.rb +1 -1
  47. data/lib/xero-ruby/models/accounting/credit_note.rb +1 -1
  48. data/lib/xero-ruby/models/accounting/credit_notes.rb +1 -1
  49. data/lib/xero-ruby/models/accounting/currencies.rb +1 -1
  50. data/lib/xero-ruby/models/accounting/currency.rb +1 -1
  51. data/lib/xero-ruby/models/accounting/element.rb +1 -1
  52. data/lib/xero-ruby/models/accounting/employee.rb +1 -1
  53. data/lib/xero-ruby/models/accounting/employees.rb +1 -1
  54. data/lib/xero-ruby/models/accounting/error.rb +1 -1
  55. data/lib/xero-ruby/models/accounting/expense_claim.rb +1 -1
  56. data/lib/xero-ruby/models/accounting/expense_claims.rb +1 -1
  57. data/lib/xero-ruby/models/accounting/external_link.rb +1 -1
  58. data/lib/xero-ruby/models/accounting/history_record.rb +1 -1
  59. data/lib/xero-ruby/models/accounting/history_records.rb +1 -1
  60. data/lib/xero-ruby/models/accounting/import_summary.rb +1 -1
  61. data/lib/xero-ruby/models/accounting/import_summary_accounts.rb +9 -9
  62. data/lib/xero-ruby/models/accounting/import_summary_object.rb +1 -1
  63. data/lib/xero-ruby/models/accounting/import_summary_organisation.rb +1 -1
  64. data/lib/xero-ruby/models/accounting/invoice.rb +1 -1
  65. data/lib/xero-ruby/models/accounting/invoice_reminder.rb +1 -1
  66. data/lib/xero-ruby/models/accounting/invoice_reminders.rb +1 -1
  67. data/lib/xero-ruby/models/accounting/invoices.rb +1 -1
  68. data/lib/xero-ruby/models/accounting/item.rb +1 -1
  69. data/lib/xero-ruby/models/accounting/items.rb +1 -1
  70. data/lib/xero-ruby/models/accounting/journal.rb +1 -1
  71. data/lib/xero-ruby/models/accounting/journal_line.rb +1 -1
  72. data/lib/xero-ruby/models/accounting/journals.rb +1 -1
  73. data/lib/xero-ruby/models/accounting/line_item.rb +1 -1
  74. data/lib/xero-ruby/models/accounting/line_item_tracking.rb +1 -1
  75. data/lib/xero-ruby/models/accounting/linked_transaction.rb +1 -1
  76. data/lib/xero-ruby/models/accounting/linked_transactions.rb +1 -1
  77. data/lib/xero-ruby/models/accounting/manual_journal.rb +1 -1
  78. data/lib/xero-ruby/models/accounting/manual_journal_line.rb +1 -1
  79. data/lib/xero-ruby/models/accounting/manual_journals.rb +1 -1
  80. data/lib/xero-ruby/models/accounting/online_invoice.rb +1 -1
  81. data/lib/xero-ruby/models/accounting/online_invoices.rb +1 -1
  82. data/lib/xero-ruby/models/accounting/organisation.rb +1 -1
  83. data/lib/xero-ruby/models/accounting/organisations.rb +1 -1
  84. data/lib/xero-ruby/models/accounting/overpayment.rb +1 -1
  85. data/lib/xero-ruby/models/accounting/overpayments.rb +1 -1
  86. data/lib/xero-ruby/models/accounting/payment.rb +1 -1
  87. data/lib/xero-ruby/models/accounting/payment_delete.rb +1 -1
  88. data/lib/xero-ruby/models/accounting/payment_service.rb +1 -1
  89. data/lib/xero-ruby/models/accounting/payment_services.rb +1 -1
  90. data/lib/xero-ruby/models/accounting/payment_term.rb +1 -1
  91. data/lib/xero-ruby/models/accounting/payments.rb +1 -1
  92. data/lib/xero-ruby/models/accounting/phone.rb +1 -1
  93. data/lib/xero-ruby/models/accounting/prepayment.rb +1 -1
  94. data/lib/xero-ruby/models/accounting/prepayments.rb +1 -1
  95. data/lib/xero-ruby/models/accounting/purchase.rb +1 -1
  96. data/lib/xero-ruby/models/accounting/purchase_order.rb +1 -1
  97. data/lib/xero-ruby/models/accounting/purchase_orders.rb +1 -1
  98. data/lib/xero-ruby/models/accounting/quote.rb +1 -1
  99. data/lib/xero-ruby/models/accounting/quotes.rb +1 -1
  100. data/lib/xero-ruby/models/accounting/receipt.rb +1 -1
  101. data/lib/xero-ruby/models/accounting/receipts.rb +1 -1
  102. data/lib/xero-ruby/models/accounting/repeating_invoice.rb +1 -1
  103. data/lib/xero-ruby/models/accounting/repeating_invoices.rb +1 -1
  104. data/lib/xero-ruby/models/accounting/report.rb +1 -1
  105. data/lib/xero-ruby/models/accounting/report_attribute.rb +1 -1
  106. data/lib/xero-ruby/models/accounting/report_cell.rb +1 -1
  107. data/lib/xero-ruby/models/accounting/report_fields.rb +1 -1
  108. data/lib/xero-ruby/models/accounting/report_row.rb +1 -1
  109. data/lib/xero-ruby/models/accounting/report_rows.rb +1 -1
  110. data/lib/xero-ruby/models/accounting/report_with_row.rb +1 -1
  111. data/lib/xero-ruby/models/accounting/report_with_rows.rb +1 -1
  112. data/lib/xero-ruby/models/accounting/reports.rb +1 -1
  113. data/lib/xero-ruby/models/accounting/request_empty.rb +1 -1
  114. data/lib/xero-ruby/models/accounting/sales_tracking_category.rb +1 -1
  115. data/lib/xero-ruby/models/accounting/schedule.rb +1 -1
  116. data/lib/xero-ruby/models/accounting/setup.rb +1 -1
  117. data/lib/xero-ruby/models/accounting/tax_component.rb +1 -1
  118. data/lib/xero-ruby/models/accounting/tax_rate.rb +1 -1
  119. data/lib/xero-ruby/models/accounting/tax_rates.rb +1 -1
  120. data/lib/xero-ruby/models/accounting/ten_ninety_nine_contact.rb +1 -1
  121. data/lib/xero-ruby/models/accounting/tracking_categories.rb +1 -1
  122. data/lib/xero-ruby/models/accounting/tracking_category.rb +1 -1
  123. data/lib/xero-ruby/models/accounting/tracking_option.rb +1 -1
  124. data/lib/xero-ruby/models/accounting/tracking_options.rb +1 -1
  125. data/lib/xero-ruby/models/accounting/user.rb +1 -1
  126. data/lib/xero-ruby/models/accounting/users.rb +1 -1
  127. data/lib/xero-ruby/models/accounting/validation_error.rb +1 -1
  128. data/lib/xero-ruby/models/assets/asset.rb +1 -1
  129. data/lib/xero-ruby/models/assets/asset_type.rb +1 -1
  130. data/lib/xero-ruby/models/assets/assets.rb +1 -1
  131. data/lib/xero-ruby/models/assets/book_depreciation_detail.rb +1 -1
  132. data/lib/xero-ruby/models/assets/book_depreciation_setting.rb +1 -1
  133. data/lib/xero-ruby/models/assets/error.rb +1 -1
  134. data/lib/xero-ruby/models/assets/field_validation_errors_element.rb +1 -1
  135. data/lib/xero-ruby/models/assets/pagination.rb +1 -1
  136. data/lib/xero-ruby/models/assets/resource_validation_errors_element.rb +1 -1
  137. data/lib/xero-ruby/models/assets/setting.rb +1 -1
  138. data/lib/xero-ruby/models/files/association.rb +1 -1
  139. data/lib/xero-ruby/models/files/file_object.rb +1 -1
  140. data/lib/xero-ruby/models/files/files.rb +1 -1
  141. data/lib/xero-ruby/models/files/folder.rb +1 -1
  142. data/lib/xero-ruby/models/files/folders.rb +1 -1
  143. data/lib/xero-ruby/models/files/{inline_object.rb → upload_object.rb} +19 -4
  144. data/lib/xero-ruby/models/files/user.rb +1 -1
  145. data/lib/xero-ruby/models/payroll_au/account.rb +1 -1
  146. data/lib/xero-ruby/models/payroll_au/api_exception.rb +1 -1
  147. data/lib/xero-ruby/models/payroll_au/bank_account.rb +1 -1
  148. data/lib/xero-ruby/models/payroll_au/deduction_line.rb +1 -1
  149. data/lib/xero-ruby/models/payroll_au/deduction_type.rb +1 -1
  150. data/lib/xero-ruby/models/payroll_au/earnings_line.rb +1 -1
  151. data/lib/xero-ruby/models/payroll_au/earnings_rate.rb +1 -1
  152. data/lib/xero-ruby/models/payroll_au/employee.rb +1 -1
  153. data/lib/xero-ruby/models/payroll_au/employees.rb +1 -1
  154. data/lib/xero-ruby/models/payroll_au/home_address.rb +1 -1
  155. data/lib/xero-ruby/models/payroll_au/leave_accrual_line.rb +1 -1
  156. data/lib/xero-ruby/models/payroll_au/leave_application.rb +1 -1
  157. data/lib/xero-ruby/models/payroll_au/leave_applications.rb +1 -1
  158. data/lib/xero-ruby/models/payroll_au/leave_balance.rb +1 -1
  159. data/lib/xero-ruby/models/payroll_au/leave_earnings_line.rb +1 -1
  160. data/lib/xero-ruby/models/payroll_au/leave_line.rb +1 -1
  161. data/lib/xero-ruby/models/payroll_au/leave_lines.rb +1 -1
  162. data/lib/xero-ruby/models/payroll_au/leave_period.rb +1 -1
  163. data/lib/xero-ruby/models/payroll_au/leave_type.rb +1 -1
  164. data/lib/xero-ruby/models/payroll_au/opening_balances.rb +1 -1
  165. data/lib/xero-ruby/models/payroll_au/pay_item.rb +1 -1
  166. data/lib/xero-ruby/models/payroll_au/pay_items.rb +1 -1
  167. data/lib/xero-ruby/models/payroll_au/pay_run.rb +1 -1
  168. data/lib/xero-ruby/models/payroll_au/pay_runs.rb +1 -1
  169. data/lib/xero-ruby/models/payroll_au/pay_template.rb +1 -1
  170. data/lib/xero-ruby/models/payroll_au/payroll_calendar.rb +1 -1
  171. data/lib/xero-ruby/models/payroll_au/payroll_calendars.rb +1 -1
  172. data/lib/xero-ruby/models/payroll_au/payslip.rb +1 -1
  173. data/lib/xero-ruby/models/payroll_au/payslip_lines.rb +1 -1
  174. data/lib/xero-ruby/models/payroll_au/payslip_object.rb +1 -1
  175. data/lib/xero-ruby/models/payroll_au/payslip_summary.rb +1 -1
  176. data/lib/xero-ruby/models/payroll_au/payslips.rb +1 -1
  177. data/lib/xero-ruby/models/payroll_au/reimbursement_line.rb +1 -1
  178. data/lib/xero-ruby/models/payroll_au/reimbursement_lines.rb +1 -1
  179. data/lib/xero-ruby/models/payroll_au/reimbursement_type.rb +1 -1
  180. data/lib/xero-ruby/models/payroll_au/settings.rb +1 -1
  181. data/lib/xero-ruby/models/payroll_au/settings_object.rb +1 -1
  182. data/lib/xero-ruby/models/payroll_au/settings_tracking_categories.rb +1 -1
  183. data/lib/xero-ruby/models/payroll_au/settings_tracking_categories_employee_groups.rb +1 -1
  184. data/lib/xero-ruby/models/payroll_au/settings_tracking_categories_timesheet_categories.rb +1 -1
  185. data/lib/xero-ruby/models/payroll_au/super_fund.rb +1 -1
  186. data/lib/xero-ruby/models/payroll_au/super_fund_product.rb +1 -1
  187. data/lib/xero-ruby/models/payroll_au/super_fund_products.rb +1 -1
  188. data/lib/xero-ruby/models/payroll_au/super_funds.rb +1 -1
  189. data/lib/xero-ruby/models/payroll_au/super_line.rb +1 -1
  190. data/lib/xero-ruby/models/payroll_au/super_membership.rb +1 -1
  191. data/lib/xero-ruby/models/payroll_au/superannuation_line.rb +1 -1
  192. data/lib/xero-ruby/models/payroll_au/tax_declaration.rb +1 -1
  193. data/lib/xero-ruby/models/payroll_au/tax_line.rb +1 -1
  194. data/lib/xero-ruby/models/payroll_au/timesheet.rb +1 -1
  195. data/lib/xero-ruby/models/payroll_au/timesheet_line.rb +1 -1
  196. data/lib/xero-ruby/models/payroll_au/timesheet_object.rb +1 -1
  197. data/lib/xero-ruby/models/payroll_au/timesheets.rb +1 -1
  198. data/lib/xero-ruby/models/payroll_au/validation_error.rb +1 -1
  199. data/lib/xero-ruby/models/payroll_nz/account.rb +1 -1
  200. data/lib/xero-ruby/models/payroll_nz/accounts.rb +1 -1
  201. data/lib/xero-ruby/models/payroll_nz/address.rb +1 -1
  202. data/lib/xero-ruby/models/payroll_nz/bank_account.rb +1 -1
  203. data/lib/xero-ruby/models/payroll_nz/benefit.rb +1 -1
  204. data/lib/xero-ruby/models/payroll_nz/deduction.rb +1 -1
  205. data/lib/xero-ruby/models/payroll_nz/deduction_line.rb +1 -1
  206. data/lib/xero-ruby/models/payroll_nz/deduction_object.rb +1 -1
  207. data/lib/xero-ruby/models/payroll_nz/deductions.rb +1 -1
  208. data/lib/xero-ruby/models/payroll_nz/earnings_line.rb +1 -1
  209. data/lib/xero-ruby/models/payroll_nz/earnings_order.rb +1 -1
  210. data/lib/xero-ruby/models/payroll_nz/earnings_order_object.rb +1 -1
  211. data/lib/xero-ruby/models/payroll_nz/earnings_orders.rb +1 -1
  212. data/lib/xero-ruby/models/payroll_nz/earnings_rate.rb +1 -1
  213. data/lib/xero-ruby/models/payroll_nz/earnings_rate_object.rb +1 -1
  214. data/lib/xero-ruby/models/payroll_nz/earnings_rates.rb +1 -1
  215. data/lib/xero-ruby/models/payroll_nz/earnings_template.rb +1 -1
  216. data/lib/xero-ruby/models/payroll_nz/earnings_template_object.rb +1 -1
  217. data/lib/xero-ruby/models/payroll_nz/employee.rb +1 -1
  218. data/lib/xero-ruby/models/payroll_nz/employee_earnings_templates.rb +1 -1
  219. data/lib/xero-ruby/models/payroll_nz/employee_leave.rb +1 -1
  220. data/lib/xero-ruby/models/payroll_nz/employee_leave_balance.rb +1 -1
  221. data/lib/xero-ruby/models/payroll_nz/employee_leave_balances.rb +1 -1
  222. data/lib/xero-ruby/models/payroll_nz/employee_leave_object.rb +1 -1
  223. data/lib/xero-ruby/models/payroll_nz/employee_leave_setup.rb +1 -1
  224. data/lib/xero-ruby/models/payroll_nz/employee_leave_setup_object.rb +1 -1
  225. data/lib/xero-ruby/models/payroll_nz/employee_leave_type.rb +1 -1
  226. data/lib/xero-ruby/models/payroll_nz/employee_leave_type_object.rb +1 -1
  227. data/lib/xero-ruby/models/payroll_nz/employee_leave_types.rb +1 -1
  228. data/lib/xero-ruby/models/payroll_nz/employee_leaves.rb +1 -1
  229. data/lib/xero-ruby/models/payroll_nz/employee_object.rb +1 -1
  230. data/lib/xero-ruby/models/payroll_nz/employee_opening_balance.rb +1 -1
  231. data/lib/xero-ruby/models/payroll_nz/employee_opening_balances_object.rb +1 -1
  232. data/lib/xero-ruby/models/payroll_nz/employee_pay_template.rb +1 -1
  233. data/lib/xero-ruby/models/payroll_nz/employee_pay_template_object.rb +1 -1
  234. data/lib/xero-ruby/models/payroll_nz/employee_pay_templates.rb +1 -1
  235. data/lib/xero-ruby/models/payroll_nz/employee_statutory_leave_balance.rb +1 -1
  236. data/lib/xero-ruby/models/payroll_nz/employee_statutory_leave_balance_object.rb +1 -1
  237. data/lib/xero-ruby/models/payroll_nz/employee_statutory_leave_summary.rb +1 -1
  238. data/lib/xero-ruby/models/payroll_nz/employee_statutory_leaves_summaries.rb +1 -1
  239. data/lib/xero-ruby/models/payroll_nz/employee_statutory_sick_leave.rb +1 -1
  240. data/lib/xero-ruby/models/payroll_nz/employee_statutory_sick_leave_object.rb +1 -1
  241. data/lib/xero-ruby/models/payroll_nz/employee_statutory_sick_leaves.rb +1 -1
  242. data/lib/xero-ruby/models/payroll_nz/employee_tax.rb +1 -1
  243. data/lib/xero-ruby/models/payroll_nz/employee_tax_object.rb +1 -1
  244. data/lib/xero-ruby/models/payroll_nz/employees.rb +1 -1
  245. data/lib/xero-ruby/models/payroll_nz/employment.rb +1 -1
  246. data/lib/xero-ruby/models/payroll_nz/employment_object.rb +1 -1
  247. data/lib/xero-ruby/models/payroll_nz/gross_earnings_history.rb +1 -1
  248. data/lib/xero-ruby/models/payroll_nz/invalid_field.rb +1 -1
  249. data/lib/xero-ruby/models/payroll_nz/leave_accrual_line.rb +1 -1
  250. data/lib/xero-ruby/models/payroll_nz/leave_earnings_line.rb +1 -1
  251. data/lib/xero-ruby/models/payroll_nz/leave_period.rb +1 -1
  252. data/lib/xero-ruby/models/payroll_nz/leave_periods.rb +1 -1
  253. data/lib/xero-ruby/models/payroll_nz/leave_type.rb +1 -1
  254. data/lib/xero-ruby/models/payroll_nz/leave_type_object.rb +1 -1
  255. data/lib/xero-ruby/models/payroll_nz/leave_types.rb +1 -1
  256. data/lib/xero-ruby/models/payroll_nz/pagination.rb +1 -1
  257. data/lib/xero-ruby/models/payroll_nz/pay_run.rb +1 -1
  258. data/lib/xero-ruby/models/payroll_nz/pay_run_calendar.rb +1 -1
  259. data/lib/xero-ruby/models/payroll_nz/pay_run_calendar_object.rb +1 -1
  260. data/lib/xero-ruby/models/payroll_nz/pay_run_calendars.rb +1 -1
  261. data/lib/xero-ruby/models/payroll_nz/pay_run_object.rb +1 -1
  262. data/lib/xero-ruby/models/payroll_nz/pay_runs.rb +1 -1
  263. data/lib/xero-ruby/models/payroll_nz/pay_slip.rb +1 -1
  264. data/lib/xero-ruby/models/payroll_nz/pay_slip_object.rb +1 -1
  265. data/lib/xero-ruby/models/payroll_nz/pay_slips.rb +1 -1
  266. data/lib/xero-ruby/models/payroll_nz/payment_line.rb +1 -1
  267. data/lib/xero-ruby/models/payroll_nz/payment_method.rb +1 -1
  268. data/lib/xero-ruby/models/payroll_nz/payment_method_object.rb +1 -1
  269. data/lib/xero-ruby/models/payroll_nz/problem.rb +1 -1
  270. data/lib/xero-ruby/models/payroll_nz/reimbursement.rb +1 -1
  271. data/lib/xero-ruby/models/payroll_nz/reimbursement_line.rb +1 -1
  272. data/lib/xero-ruby/models/payroll_nz/reimbursement_object.rb +1 -1
  273. data/lib/xero-ruby/models/payroll_nz/reimbursements.rb +1 -1
  274. data/lib/xero-ruby/models/payroll_nz/salary_and_wage.rb +4 -3
  275. data/lib/xero-ruby/models/payroll_nz/salary_and_wage_object.rb +1 -1
  276. data/lib/xero-ruby/models/payroll_nz/salary_and_wages.rb +1 -1
  277. data/lib/xero-ruby/models/payroll_nz/settings.rb +1 -1
  278. data/lib/xero-ruby/models/payroll_nz/statutory_deduction.rb +1 -1
  279. data/lib/xero-ruby/models/payroll_nz/statutory_deduction_line.rb +1 -1
  280. data/lib/xero-ruby/models/payroll_nz/statutory_deduction_object.rb +1 -1
  281. data/lib/xero-ruby/models/payroll_nz/statutory_deductions.rb +1 -1
  282. data/lib/xero-ruby/models/payroll_nz/superannuation_line.rb +1 -1
  283. data/lib/xero-ruby/models/payroll_nz/superannuation_object.rb +1 -1
  284. data/lib/xero-ruby/models/payroll_nz/superannuations.rb +1 -1
  285. data/lib/xero-ruby/models/payroll_nz/tax_line.rb +1 -1
  286. data/lib/xero-ruby/models/payroll_nz/tax_settings.rb +1 -1
  287. data/lib/xero-ruby/models/payroll_nz/timesheet.rb +4 -3
  288. data/lib/xero-ruby/models/payroll_nz/timesheet_earnings_line.rb +1 -1
  289. data/lib/xero-ruby/models/payroll_nz/timesheet_line.rb +1 -1
  290. data/lib/xero-ruby/models/payroll_nz/timesheet_line_object.rb +1 -1
  291. data/lib/xero-ruby/models/payroll_nz/timesheet_object.rb +1 -1
  292. data/lib/xero-ruby/models/payroll_nz/timesheets.rb +1 -1
  293. data/lib/xero-ruby/models/payroll_nz/tracking_categories.rb +1 -1
  294. data/lib/xero-ruby/models/payroll_nz/tracking_category.rb +1 -1
  295. data/lib/xero-ruby/models/payroll_uk/account.rb +1 -1
  296. data/lib/xero-ruby/models/payroll_uk/accounts.rb +1 -1
  297. data/lib/xero-ruby/models/payroll_uk/address.rb +1 -1
  298. data/lib/xero-ruby/models/payroll_uk/bank_account.rb +1 -1
  299. data/lib/xero-ruby/models/payroll_uk/benefit.rb +1 -1
  300. data/lib/xero-ruby/models/payroll_uk/benefit_line.rb +1 -1
  301. data/lib/xero-ruby/models/payroll_uk/benefit_object.rb +1 -1
  302. data/lib/xero-ruby/models/payroll_uk/benefits.rb +1 -1
  303. data/lib/xero-ruby/models/payroll_uk/court_order_line.rb +1 -1
  304. data/lib/xero-ruby/models/payroll_uk/deduction.rb +1 -1
  305. data/lib/xero-ruby/models/payroll_uk/deduction_line.rb +1 -1
  306. data/lib/xero-ruby/models/payroll_uk/deduction_object.rb +1 -1
  307. data/lib/xero-ruby/models/payroll_uk/deductions.rb +1 -1
  308. data/lib/xero-ruby/models/payroll_uk/earnings_line.rb +1 -1
  309. data/lib/xero-ruby/models/payroll_uk/earnings_order.rb +1 -1
  310. data/lib/xero-ruby/models/payroll_uk/earnings_order_object.rb +1 -1
  311. data/lib/xero-ruby/models/payroll_uk/earnings_orders.rb +1 -1
  312. data/lib/xero-ruby/models/payroll_uk/earnings_rate.rb +10 -3
  313. data/lib/xero-ruby/models/payroll_uk/earnings_rate_object.rb +1 -1
  314. data/lib/xero-ruby/models/payroll_uk/earnings_rates.rb +1 -1
  315. data/lib/xero-ruby/models/payroll_uk/earnings_template.rb +1 -1
  316. data/lib/xero-ruby/models/payroll_uk/earnings_template_object.rb +1 -1
  317. data/lib/xero-ruby/models/payroll_uk/employee.rb +1 -1
  318. data/lib/xero-ruby/models/payroll_uk/employee_leave.rb +1 -1
  319. data/lib/xero-ruby/models/payroll_uk/employee_leave_balance.rb +1 -1
  320. data/lib/xero-ruby/models/payroll_uk/employee_leave_balances.rb +1 -1
  321. data/lib/xero-ruby/models/payroll_uk/employee_leave_object.rb +1 -1
  322. data/lib/xero-ruby/models/payroll_uk/employee_leave_type.rb +1 -1
  323. data/lib/xero-ruby/models/payroll_uk/employee_leave_type_object.rb +1 -1
  324. data/lib/xero-ruby/models/payroll_uk/employee_leave_types.rb +1 -1
  325. data/lib/xero-ruby/models/payroll_uk/employee_leaves.rb +1 -1
  326. data/lib/xero-ruby/models/payroll_uk/employee_object.rb +1 -1
  327. data/lib/xero-ruby/models/payroll_uk/employee_opening_balances.rb +1 -1
  328. data/lib/xero-ruby/models/payroll_uk/employee_opening_balances_object.rb +1 -1
  329. data/lib/xero-ruby/models/payroll_uk/employee_pay_template.rb +1 -1
  330. data/lib/xero-ruby/models/payroll_uk/employee_pay_template_object.rb +1 -1
  331. data/lib/xero-ruby/models/payroll_uk/employee_pay_templates.rb +1 -1
  332. data/lib/xero-ruby/models/payroll_uk/employee_statutory_leave_balance.rb +1 -1
  333. data/lib/xero-ruby/models/payroll_uk/employee_statutory_leave_balance_object.rb +1 -1
  334. data/lib/xero-ruby/models/payroll_uk/employee_statutory_leave_summary.rb +1 -1
  335. data/lib/xero-ruby/models/payroll_uk/employee_statutory_leaves_summaries.rb +1 -1
  336. data/lib/xero-ruby/models/payroll_uk/employee_statutory_sick_leave.rb +1 -1
  337. data/lib/xero-ruby/models/payroll_uk/employee_statutory_sick_leave_object.rb +1 -1
  338. data/lib/xero-ruby/models/payroll_uk/employee_statutory_sick_leaves.rb +1 -1
  339. data/lib/xero-ruby/models/payroll_uk/employee_tax.rb +1 -1
  340. data/lib/xero-ruby/models/payroll_uk/employee_tax_object.rb +1 -1
  341. data/lib/xero-ruby/models/payroll_uk/employees.rb +1 -1
  342. data/lib/xero-ruby/models/payroll_uk/employment.rb +1 -1
  343. data/lib/xero-ruby/models/payroll_uk/employment_object.rb +1 -1
  344. data/lib/xero-ruby/models/payroll_uk/invalid_field.rb +1 -1
  345. data/lib/xero-ruby/models/payroll_uk/leave_accrual_line.rb +1 -1
  346. data/lib/xero-ruby/models/payroll_uk/leave_earnings_line.rb +1 -1
  347. data/lib/xero-ruby/models/payroll_uk/leave_period.rb +1 -1
  348. data/lib/xero-ruby/models/payroll_uk/leave_periods.rb +1 -1
  349. data/lib/xero-ruby/models/payroll_uk/leave_type.rb +1 -1
  350. data/lib/xero-ruby/models/payroll_uk/leave_type_object.rb +1 -1
  351. data/lib/xero-ruby/models/payroll_uk/leave_types.rb +1 -1
  352. data/lib/xero-ruby/models/payroll_uk/pagination.rb +1 -1
  353. data/lib/xero-ruby/models/payroll_uk/pay_run.rb +1 -1
  354. data/lib/xero-ruby/models/payroll_uk/pay_run_calendar.rb +1 -1
  355. data/lib/xero-ruby/models/payroll_uk/pay_run_calendar_object.rb +1 -1
  356. data/lib/xero-ruby/models/payroll_uk/pay_run_calendars.rb +1 -1
  357. data/lib/xero-ruby/models/payroll_uk/pay_run_object.rb +1 -1
  358. data/lib/xero-ruby/models/payroll_uk/pay_runs.rb +1 -1
  359. data/lib/xero-ruby/models/payroll_uk/payment_line.rb +1 -1
  360. data/lib/xero-ruby/models/payroll_uk/payment_method.rb +1 -1
  361. data/lib/xero-ruby/models/payroll_uk/payment_method_object.rb +1 -1
  362. data/lib/xero-ruby/models/payroll_uk/payslip.rb +1 -1
  363. data/lib/xero-ruby/models/payroll_uk/payslip_object.rb +1 -1
  364. data/lib/xero-ruby/models/payroll_uk/payslips.rb +1 -1
  365. data/lib/xero-ruby/models/payroll_uk/problem.rb +1 -1
  366. data/lib/xero-ruby/models/payroll_uk/reimbursement.rb +1 -1
  367. data/lib/xero-ruby/models/payroll_uk/reimbursement_line.rb +1 -1
  368. data/lib/xero-ruby/models/payroll_uk/reimbursement_object.rb +1 -1
  369. data/lib/xero-ruby/models/payroll_uk/reimbursements.rb +1 -1
  370. data/lib/xero-ruby/models/payroll_uk/salary_and_wage.rb +4 -3
  371. data/lib/xero-ruby/models/payroll_uk/salary_and_wage_object.rb +1 -1
  372. data/lib/xero-ruby/models/payroll_uk/salary_and_wages.rb +1 -1
  373. data/lib/xero-ruby/models/payroll_uk/settings.rb +1 -1
  374. data/lib/xero-ruby/models/payroll_uk/statutory_deduction.rb +1 -1
  375. data/lib/xero-ruby/models/payroll_uk/tax_line.rb +1 -1
  376. data/lib/xero-ruby/models/payroll_uk/timesheet.rb +1 -1
  377. data/lib/xero-ruby/models/payroll_uk/timesheet_earnings_line.rb +1 -1
  378. data/lib/xero-ruby/models/payroll_uk/timesheet_line.rb +1 -1
  379. data/lib/xero-ruby/models/payroll_uk/timesheet_line_object.rb +1 -1
  380. data/lib/xero-ruby/models/payroll_uk/timesheet_object.rb +1 -1
  381. data/lib/xero-ruby/models/payroll_uk/timesheets.rb +1 -1
  382. data/lib/xero-ruby/models/payroll_uk/tracking_categories.rb +1 -1
  383. data/lib/xero-ruby/models/payroll_uk/tracking_category.rb +1 -1
  384. data/lib/xero-ruby/models/projects/amount.rb +1 -1
  385. data/lib/xero-ruby/models/projects/error.rb +1 -1
  386. data/lib/xero-ruby/models/projects/pagination.rb +1 -1
  387. data/lib/xero-ruby/models/projects/project.rb +1 -1
  388. data/lib/xero-ruby/models/projects/project_create_or_update.rb +1 -1
  389. data/lib/xero-ruby/models/projects/project_patch.rb +1 -1
  390. data/lib/xero-ruby/models/projects/project_user.rb +1 -1
  391. data/lib/xero-ruby/models/projects/project_users.rb +1 -1
  392. data/lib/xero-ruby/models/projects/projects.rb +1 -1
  393. data/lib/xero-ruby/models/projects/task.rb +1 -1
  394. data/lib/xero-ruby/models/projects/task_create_or_update.rb +1 -1
  395. data/lib/xero-ruby/models/projects/tasks.rb +1 -1
  396. data/lib/xero-ruby/models/projects/time_entries.rb +1 -1
  397. data/lib/xero-ruby/models/projects/time_entry.rb +1 -1
  398. data/lib/xero-ruby/models/projects/time_entry_create_or_update.rb +1 -1
  399. data/lib/xero-ruby/version.rb +2 -2
  400. data/spec/api_client_spec.rb +14 -3
  401. data/spec/api_error_spec.rb +1 -1
  402. data/spec/configuration_spec.rb +17 -0
  403. data/spec/files/models/inline_object_spec.rb +3 -3
  404. data/spec/helper_methods_spec.rb +4 -4
  405. metadata +3 -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, opts = {})
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, opts = {})
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, opts = {})
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, opts = {})
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, opts = {})
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, opts = {})
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, opts = {})
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, opts = {})
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, opts = {})
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, opts = {})
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, opts = {})
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, opts = {})
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, opts = {})
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, opts = {})
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, opts = {})
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, opts = {})
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, opts = {})
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, opts = {})
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, opts = {})
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, opts = {})
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, opts = {})
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, opts = {})
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, opts = {})
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, opts = {})
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, opts = {})
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, opts = {})
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, opts = {})
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, opts = {})
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, opts = {})
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, opts = {})
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, opts = {})
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, opts = {})
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, opts = {})
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, opts = {})
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, opts = {})
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, opts = {})
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, opts = {})
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, opts = {})
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, opts = {})
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, opts = {})
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, opts = {})
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, opts = {})
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, opts = {})
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, opts = {})
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, opts = {})
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, opts = {})
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&#x3D;{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, opts = {})
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, opts = {})
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, opts = {})
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, opts = {})
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, opts = {})
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, opts = {})
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, opts = {})
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, opts = {})
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, opts = {})
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, opts = {})
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, opts = {})
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&#x3D;employeeId&#x3D;&#x3D;{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&#x3D;payrollCalendarId&#x3D;&#x3D;{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, opts = {})
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, opts = {})
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, opts = {})
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, opts = {})
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, opts = {})
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, opts = {})
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, opts = {})
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, opts = {})
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, opts = {})
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, opts = {})
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, opts = {})
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