xero-ruby 2.6.2 → 2.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (449) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +47 -46
  3. data/lib/xero-ruby.rb +5 -3
  4. data/lib/xero-ruby/api/accounting_api.rb +568 -568
  5. data/lib/xero-ruby/api/asset_api.rb +3 -7
  6. data/lib/xero-ruby/api/files_api.rb +172 -69
  7. data/lib/xero-ruby/api/payroll_au_api.rb +63 -63
  8. data/lib/xero-ruby/api/payroll_nz_api.rb +171 -171
  9. data/lib/xero-ruby/api/payroll_uk_api.rb +177 -183
  10. data/lib/xero-ruby/api/project_api.rb +45 -45
  11. data/lib/xero-ruby/api_client.rb +25 -88
  12. data/lib/xero-ruby/api_error.rb +1 -1
  13. data/lib/xero-ruby/configuration.rb +3 -3
  14. data/lib/xero-ruby/models/accounting/account.rb +2 -2
  15. data/lib/xero-ruby/models/accounting/account_type.rb +1 -1
  16. data/lib/xero-ruby/models/accounting/accounts.rb +2 -2
  17. data/lib/xero-ruby/models/accounting/accounts_payable.rb +2 -2
  18. data/lib/xero-ruby/models/accounting/accounts_receivable.rb +2 -2
  19. data/lib/xero-ruby/models/accounting/action.rb +2 -2
  20. data/lib/xero-ruby/models/accounting/actions.rb +2 -2
  21. data/lib/xero-ruby/models/accounting/address.rb +2 -2
  22. data/lib/xero-ruby/models/accounting/address_for_organisation.rb +2 -2
  23. data/lib/xero-ruby/models/accounting/allocation.rb +2 -2
  24. data/lib/xero-ruby/models/accounting/allocations.rb +2 -2
  25. data/lib/xero-ruby/models/accounting/attachment.rb +2 -2
  26. data/lib/xero-ruby/models/accounting/attachments.rb +2 -2
  27. data/lib/xero-ruby/models/accounting/balance_details.rb +2 -2
  28. data/lib/xero-ruby/models/accounting/balances.rb +2 -2
  29. data/lib/xero-ruby/models/accounting/bank_transaction.rb +2 -2
  30. data/lib/xero-ruby/models/accounting/bank_transactions.rb +2 -2
  31. data/lib/xero-ruby/models/accounting/bank_transfer.rb +2 -2
  32. data/lib/xero-ruby/models/accounting/bank_transfers.rb +2 -2
  33. data/lib/xero-ruby/models/accounting/batch_payment.rb +18 -6
  34. data/lib/xero-ruby/models/accounting/batch_payment_details.rb +2 -2
  35. data/lib/xero-ruby/models/accounting/batch_payments.rb +2 -2
  36. data/lib/xero-ruby/models/accounting/bill.rb +2 -2
  37. data/lib/xero-ruby/models/accounting/branding_theme.rb +2 -2
  38. data/lib/xero-ruby/models/accounting/branding_themes.rb +2 -2
  39. data/lib/xero-ruby/models/accounting/cis_org_setting.rb +2 -2
  40. data/lib/xero-ruby/models/{files/file_response204.rb → accounting/cis_org_settings.rb} +17 -15
  41. data/lib/xero-ruby/models/accounting/cis_setting.rb +2 -2
  42. data/lib/xero-ruby/models/accounting/cis_settings.rb +2 -2
  43. data/lib/xero-ruby/models/accounting/contact.rb +2 -2
  44. data/lib/xero-ruby/models/accounting/contact_group.rb +2 -2
  45. data/lib/xero-ruby/models/accounting/contact_groups.rb +2 -2
  46. data/lib/xero-ruby/models/accounting/contact_person.rb +2 -2
  47. data/lib/xero-ruby/models/accounting/contacts.rb +2 -2
  48. data/lib/xero-ruby/models/accounting/conversion_balances.rb +2 -2
  49. data/lib/xero-ruby/models/accounting/conversion_date.rb +2 -2
  50. data/lib/xero-ruby/models/accounting/country_code.rb +1 -1
  51. data/lib/xero-ruby/models/accounting/credit_note.rb +19 -7
  52. data/lib/xero-ruby/models/accounting/credit_notes.rb +2 -2
  53. data/lib/xero-ruby/models/accounting/currencies.rb +2 -2
  54. data/lib/xero-ruby/models/accounting/currency.rb +2 -2
  55. data/lib/xero-ruby/models/accounting/currency_code.rb +1 -1
  56. data/lib/xero-ruby/models/accounting/element.rb +2 -2
  57. data/lib/xero-ruby/models/accounting/employee.rb +2 -2
  58. data/lib/xero-ruby/models/accounting/employees.rb +2 -2
  59. data/lib/xero-ruby/models/accounting/error.rb +2 -2
  60. data/lib/xero-ruby/models/accounting/expense_claim.rb +2 -2
  61. data/lib/xero-ruby/models/accounting/expense_claims.rb +2 -2
  62. data/lib/xero-ruby/models/accounting/external_link.rb +2 -2
  63. data/lib/xero-ruby/models/accounting/history_record.rb +2 -2
  64. data/lib/xero-ruby/models/accounting/history_records.rb +2 -2
  65. data/lib/xero-ruby/models/accounting/import_summary.rb +2 -2
  66. data/lib/xero-ruby/models/accounting/import_summary_accounts.rb +10 -10
  67. data/lib/xero-ruby/models/accounting/import_summary_object.rb +2 -2
  68. data/lib/xero-ruby/models/accounting/import_summary_organisation.rb +2 -2
  69. data/lib/xero-ruby/models/accounting/invoice.rb +2 -2
  70. data/lib/xero-ruby/models/accounting/invoice_reminder.rb +2 -2
  71. data/lib/xero-ruby/models/accounting/invoice_reminders.rb +2 -2
  72. data/lib/xero-ruby/models/accounting/invoices.rb +2 -2
  73. data/lib/xero-ruby/models/accounting/item.rb +2 -2
  74. data/lib/xero-ruby/models/accounting/items.rb +2 -2
  75. data/lib/xero-ruby/models/accounting/journal.rb +2 -2
  76. data/lib/xero-ruby/models/accounting/journal_line.rb +2 -2
  77. data/lib/xero-ruby/models/accounting/journals.rb +2 -2
  78. data/lib/xero-ruby/models/accounting/line_amount_types.rb +1 -1
  79. data/lib/xero-ruby/models/accounting/line_item.rb +2 -2
  80. data/lib/xero-ruby/models/accounting/line_item_tracking.rb +2 -2
  81. data/lib/xero-ruby/models/accounting/linked_transaction.rb +2 -2
  82. data/lib/xero-ruby/models/accounting/linked_transactions.rb +2 -2
  83. data/lib/xero-ruby/models/accounting/manual_journal.rb +2 -2
  84. data/lib/xero-ruby/models/accounting/manual_journal_line.rb +2 -2
  85. data/lib/xero-ruby/models/accounting/manual_journals.rb +2 -2
  86. data/lib/xero-ruby/models/accounting/online_invoice.rb +2 -2
  87. data/lib/xero-ruby/models/accounting/online_invoices.rb +2 -2
  88. data/lib/xero-ruby/models/accounting/organisation.rb +2 -2
  89. data/lib/xero-ruby/models/accounting/organisations.rb +2 -2
  90. data/lib/xero-ruby/models/accounting/overpayment.rb +2 -2
  91. data/lib/xero-ruby/models/accounting/overpayments.rb +2 -2
  92. data/lib/xero-ruby/models/accounting/payment.rb +13 -3
  93. data/lib/xero-ruby/models/accounting/payment_delete.rb +2 -2
  94. data/lib/xero-ruby/models/accounting/payment_service.rb +2 -2
  95. data/lib/xero-ruby/models/accounting/payment_services.rb +2 -2
  96. data/lib/xero-ruby/models/accounting/payment_term.rb +2 -2
  97. data/lib/xero-ruby/models/accounting/payment_term_type.rb +1 -1
  98. data/lib/xero-ruby/models/accounting/payments.rb +2 -2
  99. data/lib/xero-ruby/models/accounting/phone.rb +2 -2
  100. data/lib/xero-ruby/models/accounting/prepayment.rb +2 -2
  101. data/lib/xero-ruby/models/accounting/prepayments.rb +2 -2
  102. data/lib/xero-ruby/models/accounting/purchase.rb +2 -2
  103. data/lib/xero-ruby/models/accounting/purchase_order.rb +2 -2
  104. data/lib/xero-ruby/models/accounting/purchase_orders.rb +2 -2
  105. data/lib/xero-ruby/models/accounting/quote.rb +2 -2
  106. data/lib/xero-ruby/models/accounting/quote_line_amount_types.rb +1 -1
  107. data/lib/xero-ruby/models/accounting/quote_status_codes.rb +1 -1
  108. data/lib/xero-ruby/models/accounting/quotes.rb +2 -2
  109. data/lib/xero-ruby/models/accounting/receipt.rb +2 -2
  110. data/lib/xero-ruby/models/accounting/receipts.rb +2 -2
  111. data/lib/xero-ruby/models/accounting/repeating_invoice.rb +2 -2
  112. data/lib/xero-ruby/models/accounting/repeating_invoices.rb +2 -2
  113. data/lib/xero-ruby/models/accounting/report.rb +2 -2
  114. data/lib/xero-ruby/models/accounting/report_attribute.rb +2 -2
  115. data/lib/xero-ruby/models/accounting/report_cell.rb +2 -2
  116. data/lib/xero-ruby/models/accounting/report_fields.rb +2 -2
  117. data/lib/xero-ruby/models/accounting/report_row.rb +2 -2
  118. data/lib/xero-ruby/models/accounting/report_rows.rb +2 -2
  119. data/lib/xero-ruby/models/accounting/report_with_row.rb +2 -2
  120. data/lib/xero-ruby/models/accounting/report_with_rows.rb +2 -2
  121. data/lib/xero-ruby/models/accounting/reports.rb +2 -2
  122. data/lib/xero-ruby/models/accounting/request_empty.rb +2 -2
  123. data/lib/xero-ruby/models/accounting/row_type.rb +1 -1
  124. data/lib/xero-ruby/models/accounting/sales_tracking_category.rb +2 -2
  125. data/lib/xero-ruby/models/accounting/schedule.rb +2 -2
  126. data/lib/xero-ruby/models/accounting/setup.rb +2 -2
  127. data/lib/xero-ruby/models/accounting/tax_component.rb +2 -2
  128. data/lib/xero-ruby/models/accounting/tax_rate.rb +2 -2
  129. data/lib/xero-ruby/models/accounting/tax_rates.rb +2 -2
  130. data/lib/xero-ruby/models/accounting/tax_type.rb +1 -1
  131. data/lib/xero-ruby/models/accounting/ten_ninety_nine_contact.rb +2 -2
  132. data/lib/xero-ruby/models/accounting/time_zone.rb +1 -1
  133. data/lib/xero-ruby/models/accounting/tracking_categories.rb +2 -2
  134. data/lib/xero-ruby/models/accounting/tracking_category.rb +2 -2
  135. data/lib/xero-ruby/models/accounting/tracking_option.rb +2 -2
  136. data/lib/xero-ruby/models/accounting/tracking_options.rb +2 -2
  137. data/lib/xero-ruby/models/accounting/user.rb +2 -2
  138. data/lib/xero-ruby/models/accounting/users.rb +2 -2
  139. data/lib/xero-ruby/models/accounting/validation_error.rb +2 -2
  140. data/lib/xero-ruby/models/assets/asset.rb +2 -2
  141. data/lib/xero-ruby/models/assets/asset_status.rb +1 -1
  142. data/lib/xero-ruby/models/assets/asset_status_query_param.rb +1 -1
  143. data/lib/xero-ruby/models/assets/asset_type.rb +2 -2
  144. data/lib/xero-ruby/models/assets/assets.rb +2 -2
  145. data/lib/xero-ruby/models/assets/book_depreciation_detail.rb +2 -2
  146. data/lib/xero-ruby/models/assets/book_depreciation_setting.rb +2 -2
  147. data/lib/xero-ruby/models/assets/error.rb +2 -2
  148. data/lib/xero-ruby/models/assets/field_validation_errors_element.rb +3 -3
  149. data/lib/xero-ruby/models/assets/pagination.rb +2 -2
  150. data/lib/xero-ruby/models/assets/resource_validation_errors_element.rb +3 -3
  151. data/lib/xero-ruby/models/assets/setting.rb +2 -2
  152. data/lib/xero-ruby/models/files/association.rb +2 -2
  153. data/lib/xero-ruby/models/files/file_object.rb +2 -2
  154. data/lib/xero-ruby/models/files/files.rb +2 -2
  155. data/lib/xero-ruby/models/files/folder.rb +2 -2
  156. data/lib/xero-ruby/models/files/folders.rb +2 -2
  157. data/lib/xero-ruby/models/files/object_group.rb +1 -1
  158. data/lib/xero-ruby/models/files/object_type.rb +1 -1
  159. data/lib/xero-ruby/models/files/{inline_object.rb → upload_object.rb} +20 -5
  160. data/lib/xero-ruby/models/files/user.rb +2 -2
  161. data/lib/xero-ruby/models/payroll_au/account.rb +2 -2
  162. data/lib/xero-ruby/models/payroll_au/account_type.rb +1 -1
  163. data/lib/xero-ruby/models/payroll_au/allowance_type.rb +1 -1
  164. data/lib/xero-ruby/models/payroll_au/api_exception.rb +2 -2
  165. data/lib/xero-ruby/models/payroll_au/bank_account.rb +2 -2
  166. data/lib/xero-ruby/models/payroll_au/calendar_type.rb +1 -1
  167. data/lib/xero-ruby/models/payroll_au/deduction_line.rb +2 -2
  168. data/lib/xero-ruby/models/payroll_au/deduction_type.rb +2 -2
  169. data/lib/xero-ruby/models/payroll_au/deduction_type_calculation_type.rb +1 -1
  170. data/lib/xero-ruby/models/payroll_au/earnings_line.rb +2 -2
  171. data/lib/xero-ruby/models/payroll_au/earnings_rate.rb +2 -2
  172. data/lib/xero-ruby/models/payroll_au/earnings_rate_calculation_type.rb +1 -1
  173. data/lib/xero-ruby/models/payroll_au/earnings_type.rb +1 -1
  174. data/lib/xero-ruby/models/payroll_au/employee.rb +2 -2
  175. data/lib/xero-ruby/models/payroll_au/employee_status.rb +1 -1
  176. data/lib/xero-ruby/models/payroll_au/employees.rb +2 -2
  177. data/lib/xero-ruby/models/payroll_au/employment_basis.rb +1 -1
  178. data/lib/xero-ruby/models/payroll_au/employment_termination_payment_type.rb +1 -1
  179. data/lib/xero-ruby/models/payroll_au/entitlement_final_pay_payout_type.rb +1 -1
  180. data/lib/xero-ruby/models/payroll_au/home_address.rb +2 -2
  181. data/lib/xero-ruby/models/payroll_au/leave_accrual_line.rb +2 -2
  182. data/lib/xero-ruby/models/payroll_au/leave_application.rb +2 -2
  183. data/lib/xero-ruby/models/payroll_au/leave_applications.rb +2 -2
  184. data/lib/xero-ruby/models/payroll_au/leave_balance.rb +2 -2
  185. data/lib/xero-ruby/models/payroll_au/leave_earnings_line.rb +2 -2
  186. data/lib/xero-ruby/models/payroll_au/leave_line.rb +2 -2
  187. data/lib/xero-ruby/models/payroll_au/leave_line_calculation_type.rb +1 -1
  188. data/lib/xero-ruby/models/payroll_au/leave_lines.rb +2 -2
  189. data/lib/xero-ruby/models/payroll_au/leave_period.rb +2 -2
  190. data/lib/xero-ruby/models/payroll_au/leave_period_status.rb +1 -1
  191. data/lib/xero-ruby/models/payroll_au/leave_type.rb +2 -2
  192. data/lib/xero-ruby/models/payroll_au/leave_type_contribution_type.rb +1 -1
  193. data/lib/xero-ruby/models/payroll_au/manual_tax_type.rb +1 -1
  194. data/lib/xero-ruby/models/payroll_au/opening_balances.rb +2 -2
  195. data/lib/xero-ruby/models/payroll_au/pay_item.rb +2 -2
  196. data/lib/xero-ruby/models/payroll_au/pay_items.rb +2 -2
  197. data/lib/xero-ruby/models/payroll_au/pay_run.rb +2 -2
  198. data/lib/xero-ruby/models/payroll_au/pay_run_status.rb +1 -1
  199. data/lib/xero-ruby/models/payroll_au/pay_runs.rb +2 -2
  200. data/lib/xero-ruby/models/payroll_au/pay_template.rb +2 -2
  201. data/lib/xero-ruby/models/payroll_au/payment_frequency_type.rb +1 -1
  202. data/lib/xero-ruby/models/payroll_au/payroll_calendar.rb +2 -2
  203. data/lib/xero-ruby/models/payroll_au/payroll_calendars.rb +2 -2
  204. data/lib/xero-ruby/models/payroll_au/payslip.rb +2 -2
  205. data/lib/xero-ruby/models/payroll_au/payslip_lines.rb +2 -2
  206. data/lib/xero-ruby/models/payroll_au/payslip_object.rb +2 -2
  207. data/lib/xero-ruby/models/payroll_au/payslip_summary.rb +2 -2
  208. data/lib/xero-ruby/models/payroll_au/payslips.rb +2 -2
  209. data/lib/xero-ruby/models/payroll_au/rate_type.rb +1 -1
  210. data/lib/xero-ruby/models/payroll_au/reimbursement_line.rb +2 -2
  211. data/lib/xero-ruby/models/payroll_au/reimbursement_lines.rb +2 -2
  212. data/lib/xero-ruby/models/payroll_au/reimbursement_type.rb +2 -2
  213. data/lib/xero-ruby/models/payroll_au/residency_status.rb +1 -1
  214. data/lib/xero-ruby/models/payroll_au/settings.rb +2 -2
  215. data/lib/xero-ruby/models/payroll_au/settings_object.rb +2 -2
  216. data/lib/xero-ruby/models/payroll_au/settings_tracking_categories.rb +2 -2
  217. data/lib/xero-ruby/models/payroll_au/settings_tracking_categories_employee_groups.rb +2 -2
  218. data/lib/xero-ruby/models/payroll_au/settings_tracking_categories_timesheet_categories.rb +2 -2
  219. data/lib/xero-ruby/models/payroll_au/state.rb +1 -1
  220. data/lib/xero-ruby/models/payroll_au/super_fund.rb +2 -2
  221. data/lib/xero-ruby/models/payroll_au/super_fund_product.rb +2 -2
  222. data/lib/xero-ruby/models/payroll_au/super_fund_products.rb +2 -2
  223. data/lib/xero-ruby/models/payroll_au/super_fund_type.rb +1 -1
  224. data/lib/xero-ruby/models/payroll_au/super_funds.rb +2 -2
  225. data/lib/xero-ruby/models/payroll_au/super_line.rb +3 -3
  226. data/lib/xero-ruby/models/payroll_au/super_membership.rb +3 -3
  227. data/lib/xero-ruby/models/payroll_au/superannuation_calculation_type.rb +1 -1
  228. data/lib/xero-ruby/models/payroll_au/superannuation_contribution_type.rb +1 -1
  229. data/lib/xero-ruby/models/payroll_au/superannuation_line.rb +2 -2
  230. data/lib/xero-ruby/models/payroll_au/tax_declaration.rb +2 -2
  231. data/lib/xero-ruby/models/payroll_au/tax_line.rb +2 -2
  232. data/lib/xero-ruby/models/payroll_au/tfn_exemption_type.rb +1 -1
  233. data/lib/xero-ruby/models/payroll_au/timesheet.rb +2 -2
  234. data/lib/xero-ruby/models/payroll_au/timesheet_line.rb +2 -2
  235. data/lib/xero-ruby/models/payroll_au/timesheet_object.rb +2 -2
  236. data/lib/xero-ruby/models/payroll_au/timesheet_status.rb +1 -1
  237. data/lib/xero-ruby/models/payroll_au/timesheets.rb +2 -2
  238. data/lib/xero-ruby/models/payroll_au/validation_error.rb +2 -2
  239. data/lib/xero-ruby/models/payroll_nz/account.rb +1 -1
  240. data/lib/xero-ruby/models/payroll_nz/accounts.rb +1 -1
  241. data/lib/xero-ruby/models/payroll_nz/address.rb +1 -1
  242. data/lib/xero-ruby/models/payroll_nz/bank_account.rb +1 -1
  243. data/lib/xero-ruby/models/payroll_nz/benefit.rb +1 -1
  244. data/lib/xero-ruby/models/payroll_nz/deduction.rb +1 -1
  245. data/lib/xero-ruby/models/payroll_nz/deduction_line.rb +1 -1
  246. data/lib/xero-ruby/models/payroll_nz/deduction_object.rb +1 -1
  247. data/lib/xero-ruby/models/payroll_nz/deductions.rb +1 -1
  248. data/lib/xero-ruby/models/payroll_nz/earnings_line.rb +2 -2
  249. data/lib/xero-ruby/models/payroll_nz/earnings_order.rb +1 -1
  250. data/lib/xero-ruby/models/payroll_nz/earnings_order_object.rb +1 -1
  251. data/lib/xero-ruby/models/payroll_nz/earnings_orders.rb +1 -1
  252. data/lib/xero-ruby/models/payroll_nz/earnings_rate.rb +1 -1
  253. data/lib/xero-ruby/models/payroll_nz/earnings_rate_object.rb +1 -1
  254. data/lib/xero-ruby/models/payroll_nz/earnings_rates.rb +1 -1
  255. data/lib/xero-ruby/models/payroll_nz/earnings_template.rb +1 -1
  256. data/lib/xero-ruby/models/payroll_nz/earnings_template_object.rb +1 -1
  257. data/lib/xero-ruby/models/payroll_nz/employee.rb +1 -1
  258. data/lib/xero-ruby/models/payroll_nz/employee_earnings_templates.rb +1 -1
  259. data/lib/xero-ruby/models/payroll_nz/employee_leave.rb +1 -1
  260. data/lib/xero-ruby/models/payroll_nz/employee_leave_balance.rb +1 -1
  261. data/lib/xero-ruby/models/payroll_nz/employee_leave_balances.rb +1 -1
  262. data/lib/xero-ruby/models/payroll_nz/employee_leave_object.rb +1 -1
  263. data/lib/xero-ruby/models/payroll_nz/employee_leave_setup.rb +1 -1
  264. data/lib/xero-ruby/models/payroll_nz/employee_leave_setup_object.rb +1 -1
  265. data/lib/xero-ruby/models/payroll_nz/employee_leave_type.rb +1 -1
  266. data/lib/xero-ruby/models/payroll_nz/employee_leave_type_object.rb +1 -1
  267. data/lib/xero-ruby/models/payroll_nz/employee_leave_types.rb +1 -1
  268. data/lib/xero-ruby/models/payroll_nz/employee_leaves.rb +1 -1
  269. data/lib/xero-ruby/models/payroll_nz/employee_object.rb +1 -1
  270. data/lib/xero-ruby/models/payroll_nz/employee_opening_balance.rb +1 -1
  271. data/lib/xero-ruby/models/payroll_nz/employee_opening_balances_object.rb +1 -1
  272. data/lib/xero-ruby/models/payroll_nz/employee_pay_template.rb +1 -1
  273. data/lib/xero-ruby/models/payroll_nz/employee_pay_template_object.rb +1 -1
  274. data/lib/xero-ruby/models/payroll_nz/employee_pay_templates.rb +1 -1
  275. data/lib/xero-ruby/models/payroll_nz/employee_statutory_leave_balance.rb +1 -1
  276. data/lib/xero-ruby/models/payroll_nz/employee_statutory_leave_balance_object.rb +1 -1
  277. data/lib/xero-ruby/models/payroll_nz/employee_statutory_leave_summary.rb +1 -1
  278. data/lib/xero-ruby/models/payroll_nz/employee_statutory_leaves_summaries.rb +1 -1
  279. data/lib/xero-ruby/models/payroll_nz/employee_statutory_sick_leave.rb +2 -2
  280. data/lib/xero-ruby/models/payroll_nz/employee_statutory_sick_leave_object.rb +1 -1
  281. data/lib/xero-ruby/models/payroll_nz/employee_statutory_sick_leaves.rb +1 -1
  282. data/lib/xero-ruby/models/payroll_nz/employee_tax.rb +1 -1
  283. data/lib/xero-ruby/models/payroll_nz/employee_tax_object.rb +1 -1
  284. data/lib/xero-ruby/models/payroll_nz/employees.rb +1 -1
  285. data/lib/xero-ruby/models/payroll_nz/employment.rb +1 -1
  286. data/lib/xero-ruby/models/payroll_nz/employment_object.rb +1 -1
  287. data/lib/xero-ruby/models/payroll_nz/gross_earnings_history.rb +1 -1
  288. data/lib/xero-ruby/models/payroll_nz/invalid_field.rb +1 -1
  289. data/lib/xero-ruby/models/payroll_nz/leave_accrual_line.rb +1 -1
  290. data/lib/xero-ruby/models/payroll_nz/leave_earnings_line.rb +2 -2
  291. data/lib/xero-ruby/models/payroll_nz/leave_period.rb +1 -1
  292. data/lib/xero-ruby/models/payroll_nz/leave_periods.rb +1 -1
  293. data/lib/xero-ruby/models/payroll_nz/leave_type.rb +1 -1
  294. data/lib/xero-ruby/models/payroll_nz/leave_type_object.rb +1 -1
  295. data/lib/xero-ruby/models/payroll_nz/leave_types.rb +1 -1
  296. data/lib/xero-ruby/models/payroll_nz/pagination.rb +1 -1
  297. data/lib/xero-ruby/models/payroll_nz/pay_run.rb +1 -1
  298. data/lib/xero-ruby/models/payroll_nz/pay_run_calendar.rb +1 -1
  299. data/lib/xero-ruby/models/payroll_nz/pay_run_calendar_object.rb +1 -1
  300. data/lib/xero-ruby/models/payroll_nz/pay_run_calendars.rb +1 -1
  301. data/lib/xero-ruby/models/payroll_nz/pay_run_object.rb +1 -1
  302. data/lib/xero-ruby/models/payroll_nz/pay_runs.rb +1 -1
  303. data/lib/xero-ruby/models/payroll_nz/pay_slip.rb +1 -1
  304. data/lib/xero-ruby/models/payroll_nz/pay_slip_object.rb +1 -1
  305. data/lib/xero-ruby/models/payroll_nz/pay_slips.rb +1 -1
  306. data/lib/xero-ruby/models/payroll_nz/payment_line.rb +1 -1
  307. data/lib/xero-ruby/models/payroll_nz/payment_method.rb +1 -1
  308. data/lib/xero-ruby/models/payroll_nz/payment_method_object.rb +1 -1
  309. data/lib/xero-ruby/models/payroll_nz/problem.rb +1 -1
  310. data/lib/xero-ruby/models/payroll_nz/reimbursement.rb +1 -1
  311. data/lib/xero-ruby/models/payroll_nz/reimbursement_line.rb +1 -1
  312. data/lib/xero-ruby/models/payroll_nz/reimbursement_object.rb +1 -1
  313. data/lib/xero-ruby/models/payroll_nz/reimbursements.rb +1 -1
  314. data/lib/xero-ruby/models/payroll_nz/salary_and_wage.rb +4 -3
  315. data/lib/xero-ruby/models/payroll_nz/salary_and_wage_object.rb +1 -1
  316. data/lib/xero-ruby/models/payroll_nz/salary_and_wages.rb +1 -1
  317. data/lib/xero-ruby/models/payroll_nz/settings.rb +1 -1
  318. data/lib/xero-ruby/models/payroll_nz/statutory_deduction.rb +1 -1
  319. data/lib/xero-ruby/models/payroll_nz/statutory_deduction_line.rb +1 -1
  320. data/lib/xero-ruby/models/payroll_nz/statutory_deduction_object.rb +1 -1
  321. data/lib/xero-ruby/models/payroll_nz/statutory_deductions.rb +1 -1
  322. data/lib/xero-ruby/models/payroll_nz/superannuation_line.rb +2 -2
  323. data/lib/xero-ruby/models/payroll_nz/superannuation_object.rb +1 -1
  324. data/lib/xero-ruby/models/payroll_nz/superannuations.rb +1 -1
  325. data/lib/xero-ruby/models/payroll_nz/tax_line.rb +1 -1
  326. data/lib/xero-ruby/models/payroll_nz/tax_settings.rb +1 -1
  327. data/lib/xero-ruby/models/payroll_nz/timesheet.rb +5 -4
  328. data/lib/xero-ruby/models/payroll_nz/timesheet_earnings_line.rb +2 -2
  329. data/lib/xero-ruby/models/payroll_nz/timesheet_line.rb +1 -1
  330. data/lib/xero-ruby/models/payroll_nz/timesheet_line_object.rb +1 -1
  331. data/lib/xero-ruby/models/payroll_nz/timesheet_object.rb +1 -1
  332. data/lib/xero-ruby/models/payroll_nz/timesheets.rb +1 -1
  333. data/lib/xero-ruby/models/payroll_nz/tracking_categories.rb +1 -1
  334. data/lib/xero-ruby/models/payroll_nz/tracking_category.rb +1 -1
  335. data/lib/xero-ruby/models/payroll_uk/account.rb +1 -1
  336. data/lib/xero-ruby/models/payroll_uk/accounts.rb +1 -1
  337. data/lib/xero-ruby/models/payroll_uk/address.rb +1 -1
  338. data/lib/xero-ruby/models/payroll_uk/bank_account.rb +1 -1
  339. data/lib/xero-ruby/models/payroll_uk/benefit.rb +1 -1
  340. data/lib/xero-ruby/models/payroll_uk/benefit_line.rb +1 -1
  341. data/lib/xero-ruby/models/payroll_uk/benefit_object.rb +1 -1
  342. data/lib/xero-ruby/models/payroll_uk/benefits.rb +1 -1
  343. data/lib/xero-ruby/models/payroll_uk/court_order_line.rb +1 -1
  344. data/lib/xero-ruby/models/payroll_uk/deduction.rb +1 -1
  345. data/lib/xero-ruby/models/payroll_uk/deduction_line.rb +1 -1
  346. data/lib/xero-ruby/models/payroll_uk/deduction_object.rb +1 -1
  347. data/lib/xero-ruby/models/payroll_uk/deductions.rb +1 -1
  348. data/lib/xero-ruby/models/payroll_uk/earnings_line.rb +1 -1
  349. data/lib/xero-ruby/models/payroll_uk/earnings_order.rb +1 -1
  350. data/lib/xero-ruby/models/payroll_uk/earnings_order_object.rb +1 -1
  351. data/lib/xero-ruby/models/payroll_uk/earnings_orders.rb +1 -1
  352. data/lib/xero-ruby/models/payroll_uk/earnings_rate.rb +10 -3
  353. data/lib/xero-ruby/models/payroll_uk/earnings_rate_object.rb +1 -1
  354. data/lib/xero-ruby/models/payroll_uk/earnings_rates.rb +1 -1
  355. data/lib/xero-ruby/models/payroll_uk/earnings_template.rb +1 -1
  356. data/lib/xero-ruby/models/payroll_uk/earnings_template_object.rb +1 -1
  357. data/lib/xero-ruby/models/payroll_uk/employee.rb +1 -1
  358. data/lib/xero-ruby/models/payroll_uk/employee_leave.rb +1 -1
  359. data/lib/xero-ruby/models/payroll_uk/employee_leave_balance.rb +1 -1
  360. data/lib/xero-ruby/models/payroll_uk/employee_leave_balances.rb +1 -1
  361. data/lib/xero-ruby/models/payroll_uk/employee_leave_object.rb +1 -1
  362. data/lib/xero-ruby/models/payroll_uk/employee_leave_type.rb +1 -1
  363. data/lib/xero-ruby/models/payroll_uk/employee_leave_type_object.rb +1 -1
  364. data/lib/xero-ruby/models/payroll_uk/employee_leave_types.rb +1 -1
  365. data/lib/xero-ruby/models/payroll_uk/employee_leaves.rb +1 -1
  366. data/lib/xero-ruby/models/payroll_uk/employee_object.rb +1 -1
  367. data/lib/xero-ruby/models/payroll_uk/employee_opening_balances.rb +1 -1
  368. data/lib/xero-ruby/models/payroll_uk/employee_opening_balances_object.rb +1 -1
  369. data/lib/xero-ruby/models/payroll_uk/employee_pay_template.rb +1 -1
  370. data/lib/xero-ruby/models/payroll_uk/employee_pay_template_object.rb +1 -1
  371. data/lib/xero-ruby/models/payroll_uk/employee_pay_templates.rb +1 -1
  372. data/lib/xero-ruby/models/payroll_uk/employee_statutory_leave_balance.rb +1 -1
  373. data/lib/xero-ruby/models/payroll_uk/employee_statutory_leave_balance_object.rb +1 -1
  374. data/lib/xero-ruby/models/payroll_uk/employee_statutory_leave_summary.rb +1 -1
  375. data/lib/xero-ruby/models/payroll_uk/employee_statutory_leaves_summaries.rb +1 -1
  376. data/lib/xero-ruby/models/payroll_uk/employee_statutory_sick_leave.rb +2 -2
  377. data/lib/xero-ruby/models/payroll_uk/employee_statutory_sick_leave_object.rb +1 -1
  378. data/lib/xero-ruby/models/payroll_uk/employee_statutory_sick_leaves.rb +1 -1
  379. data/lib/xero-ruby/models/payroll_uk/employee_tax.rb +1 -1
  380. data/lib/xero-ruby/models/payroll_uk/employee_tax_object.rb +1 -1
  381. data/lib/xero-ruby/models/payroll_uk/employees.rb +1 -1
  382. data/lib/xero-ruby/models/payroll_uk/employment.rb +1 -1
  383. data/lib/xero-ruby/models/payroll_uk/employment_object.rb +1 -1
  384. data/lib/xero-ruby/models/payroll_uk/invalid_field.rb +1 -1
  385. data/lib/xero-ruby/models/payroll_uk/leave_accrual_line.rb +1 -1
  386. data/lib/xero-ruby/models/payroll_uk/leave_earnings_line.rb +1 -1
  387. data/lib/xero-ruby/models/payroll_uk/leave_period.rb +1 -1
  388. data/lib/xero-ruby/models/payroll_uk/leave_periods.rb +1 -1
  389. data/lib/xero-ruby/models/payroll_uk/leave_type.rb +1 -1
  390. data/lib/xero-ruby/models/payroll_uk/leave_type_object.rb +1 -1
  391. data/lib/xero-ruby/models/payroll_uk/leave_types.rb +1 -1
  392. data/lib/xero-ruby/models/payroll_uk/pagination.rb +1 -1
  393. data/lib/xero-ruby/models/payroll_uk/pay_run.rb +1 -1
  394. data/lib/xero-ruby/models/payroll_uk/pay_run_calendar.rb +1 -1
  395. data/lib/xero-ruby/models/payroll_uk/pay_run_calendar_object.rb +1 -1
  396. data/lib/xero-ruby/models/payroll_uk/pay_run_calendars.rb +1 -1
  397. data/lib/xero-ruby/models/payroll_uk/pay_run_object.rb +1 -1
  398. data/lib/xero-ruby/models/payroll_uk/pay_runs.rb +1 -1
  399. data/lib/xero-ruby/models/payroll_uk/payment_line.rb +1 -1
  400. data/lib/xero-ruby/models/payroll_uk/payment_method.rb +1 -1
  401. data/lib/xero-ruby/models/payroll_uk/payment_method_object.rb +1 -1
  402. data/lib/xero-ruby/models/payroll_uk/payslip.rb +1 -1
  403. data/lib/xero-ruby/models/payroll_uk/payslip_object.rb +1 -1
  404. data/lib/xero-ruby/models/payroll_uk/payslips.rb +1 -1
  405. data/lib/xero-ruby/models/payroll_uk/problem.rb +1 -1
  406. data/lib/xero-ruby/models/payroll_uk/reimbursement.rb +1 -1
  407. data/lib/xero-ruby/models/payroll_uk/reimbursement_line.rb +1 -1
  408. data/lib/xero-ruby/models/payroll_uk/reimbursement_object.rb +1 -1
  409. data/lib/xero-ruby/models/payroll_uk/reimbursements.rb +1 -1
  410. data/lib/xero-ruby/models/payroll_uk/salary_and_wage.rb +1 -1
  411. data/lib/xero-ruby/models/payroll_uk/salary_and_wage_object.rb +1 -1
  412. data/lib/xero-ruby/models/payroll_uk/salary_and_wages.rb +1 -1
  413. data/lib/xero-ruby/models/payroll_uk/settings.rb +1 -1
  414. data/lib/xero-ruby/models/payroll_uk/statutory_deduction.rb +1 -1
  415. data/lib/xero-ruby/models/payroll_uk/tax_line.rb +1 -1
  416. data/lib/xero-ruby/models/payroll_uk/timesheet.rb +2 -2
  417. data/lib/xero-ruby/models/payroll_uk/timesheet_earnings_line.rb +1 -1
  418. data/lib/xero-ruby/models/payroll_uk/timesheet_line.rb +1 -1
  419. data/lib/xero-ruby/models/payroll_uk/timesheet_line_object.rb +1 -1
  420. data/lib/xero-ruby/models/payroll_uk/timesheet_object.rb +1 -1
  421. data/lib/xero-ruby/models/payroll_uk/timesheets.rb +1 -1
  422. data/lib/xero-ruby/models/payroll_uk/tracking_categories.rb +1 -1
  423. data/lib/xero-ruby/models/payroll_uk/tracking_category.rb +1 -1
  424. data/lib/xero-ruby/models/projects/amount.rb +1 -1
  425. data/lib/xero-ruby/models/projects/error.rb +1 -1
  426. data/lib/xero-ruby/models/projects/pagination.rb +1 -1
  427. data/lib/xero-ruby/models/projects/project.rb +1 -1
  428. data/lib/xero-ruby/models/projects/project_create_or_update.rb +1 -1
  429. data/lib/xero-ruby/models/projects/project_patch.rb +1 -1
  430. data/lib/xero-ruby/models/projects/project_user.rb +1 -1
  431. data/lib/xero-ruby/models/projects/project_users.rb +1 -1
  432. data/lib/xero-ruby/models/projects/projects.rb +1 -1
  433. data/lib/xero-ruby/models/projects/task.rb +1 -1
  434. data/lib/xero-ruby/models/projects/task_create_or_update.rb +1 -1
  435. data/lib/xero-ruby/models/projects/tasks.rb +1 -1
  436. data/lib/xero-ruby/models/projects/time_entries.rb +1 -1
  437. data/lib/xero-ruby/models/projects/time_entry.rb +1 -1
  438. data/lib/xero-ruby/models/projects/time_entry_create_or_update.rb +1 -1
  439. data/lib/xero-ruby/string_serialization.rb +52 -0
  440. data/lib/xero-ruby/version.rb +3 -3
  441. data/lib/xero-ruby/where.rb +65 -0
  442. data/spec/api_client_spec.rb +3 -3
  443. data/spec/api_error_spec.rb +1 -1
  444. data/spec/configuration_spec.rb +1 -1
  445. data/spec/files/models/inline_object_spec.rb +3 -3
  446. data/spec/helper_methods_spec.rb +4 -4
  447. data/spec/where_spec.rb +82 -0
  448. metadata +9 -7
  449. data/spec/files/models/file_response204_spec.rb +0 -41
@@ -16,7 +16,7 @@ module XeroRuby
16
16
  def initialize(api_client = ApiClient.new)
17
17
  @api_client = api_client
18
18
  end
19
- # approve a timesheet
19
+ # Approves a specific timesheet
20
20
  # @param xero_tenant_id [String] Xero identifier for Tenant
21
21
  # @param timesheet_id [String] Identifier for the timesheet
22
22
  # @param [Hash] opts the optional parameters
@@ -26,7 +26,7 @@ module XeroRuby
26
26
  data
27
27
  end
28
28
 
29
- # approve a timesheet
29
+ # Approves a specific timesheet
30
30
  # @param xero_tenant_id [String] Xero identifier for Tenant
31
31
  # @param timesheet_id [String] Identifier for the timesheet
32
32
  # @param [Hash] opts the optional parameters
@@ -90,7 +90,7 @@ module XeroRuby
90
90
  return data, status_code, headers
91
91
  end
92
92
 
93
- # create a new benefit
93
+ # Creates a new employee benefit
94
94
  # @param xero_tenant_id [String] Xero identifier for Tenant
95
95
  # @param benefit [Benefit]
96
96
  # @param [Hash] opts the optional parameters
@@ -100,7 +100,7 @@ module XeroRuby
100
100
  data
101
101
  end
102
102
 
103
- # create a new benefit
103
+ # Creates a new employee benefit
104
104
  # @param xero_tenant_id [String] Xero identifier for Tenant
105
105
  # @param benefit [Benefit]
106
106
  # @param [Hash] opts the optional parameters
@@ -166,7 +166,7 @@ module XeroRuby
166
166
  return data, status_code, headers
167
167
  end
168
168
 
169
- # create a new deduction
169
+ # Creates a new deduction
170
170
  # @param xero_tenant_id [String] Xero identifier for Tenant
171
171
  # @param deduction [Deduction]
172
172
  # @param [Hash] opts the optional parameters
@@ -176,7 +176,7 @@ module XeroRuby
176
176
  data
177
177
  end
178
178
 
179
- # create a new deduction
179
+ # Creates a new deduction
180
180
  # @param xero_tenant_id [String] Xero identifier for Tenant
181
181
  # @param deduction [Deduction]
182
182
  # @param [Hash] opts the optional parameters
@@ -242,7 +242,7 @@ module XeroRuby
242
242
  return data, status_code, headers
243
243
  end
244
244
 
245
- # create a new earnings rate
245
+ # Creates a new earnings rate
246
246
  # @param xero_tenant_id [String] Xero identifier for Tenant
247
247
  # @param earnings_rate [EarningsRate]
248
248
  # @param [Hash] opts the optional parameters
@@ -252,7 +252,7 @@ module XeroRuby
252
252
  data
253
253
  end
254
254
 
255
- # create a new earnings rate
255
+ # Creates a new earnings rate
256
256
  # @param xero_tenant_id [String] Xero identifier for Tenant
257
257
  # @param earnings_rate [EarningsRate]
258
258
  # @param [Hash] opts the optional parameters
@@ -318,7 +318,7 @@ module XeroRuby
318
318
  return data, status_code, headers
319
319
  end
320
320
 
321
- # creates employees
321
+ # Creates employees
322
322
  # @param xero_tenant_id [String] Xero identifier for Tenant
323
323
  # @param employee [Employee]
324
324
  # @param [Hash] opts the optional parameters
@@ -328,7 +328,7 @@ module XeroRuby
328
328
  data
329
329
  end
330
330
 
331
- # creates employees
331
+ # Creates employees
332
332
  # @param xero_tenant_id [String] Xero identifier for Tenant
333
333
  # @param employee [Employee]
334
334
  # @param [Hash] opts the optional parameters
@@ -394,7 +394,7 @@ module XeroRuby
394
394
  return data, status_code, headers
395
395
  end
396
396
 
397
- # creates employee earnings template records
397
+ # Creates an earnings template records for a specific employee
398
398
  # @param xero_tenant_id [String] Xero identifier for Tenant
399
399
  # @param employee_id [String] Employee id for single object
400
400
  # @param earnings_template [EarningsTemplate]
@@ -405,7 +405,7 @@ module XeroRuby
405
405
  data
406
406
  end
407
407
 
408
- # creates employee earnings template records
408
+ # Creates an earnings template records for a specific employee
409
409
  # @param xero_tenant_id [String] Xero identifier for Tenant
410
410
  # @param employee_id [String] Employee id for single object
411
411
  # @param earnings_template [EarningsTemplate]
@@ -428,7 +428,7 @@ module XeroRuby
428
428
  fail ArgumentError, "Missing the required parameter 'earnings_template' when calling PayrollUkApi.create_employee_earnings_template"
429
429
  end
430
430
  # resource path
431
- local_var_path = '/Employees/{EmployeeId}/PayTemplates/earnings'.sub('{' + 'EmployeeId' + '}', employee_id.to_s)
431
+ local_var_path = '/Employees/{EmployeeID}/PayTemplates/earnings'.sub('{' + 'EmployeeID' + '}', employee_id.to_s)
432
432
 
433
433
  # camelize keys of incoming `where` opts
434
434
  opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
@@ -476,7 +476,7 @@ module XeroRuby
476
476
  return data, status_code, headers
477
477
  end
478
478
 
479
- # creates employee leave records
479
+ # Creates leave records for a specific employee
480
480
  # @param xero_tenant_id [String] Xero identifier for Tenant
481
481
  # @param employee_id [String] Employee id for single object
482
482
  # @param employee_leave [EmployeeLeave]
@@ -487,7 +487,7 @@ module XeroRuby
487
487
  data
488
488
  end
489
489
 
490
- # creates employee leave records
490
+ # Creates leave records for a specific employee
491
491
  # @param xero_tenant_id [String] Xero identifier for Tenant
492
492
  # @param employee_id [String] Employee id for single object
493
493
  # @param employee_leave [EmployeeLeave]
@@ -510,7 +510,7 @@ module XeroRuby
510
510
  fail ArgumentError, "Missing the required parameter 'employee_leave' when calling PayrollUkApi.create_employee_leave"
511
511
  end
512
512
  # resource path
513
- local_var_path = '/Employees/{EmployeeId}/Leave'.sub('{' + 'EmployeeId' + '}', employee_id.to_s)
513
+ local_var_path = '/Employees/{EmployeeID}/Leave'.sub('{' + 'EmployeeID' + '}', employee_id.to_s)
514
514
 
515
515
  # camelize keys of incoming `where` opts
516
516
  opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
@@ -558,7 +558,7 @@ module XeroRuby
558
558
  return data, status_code, headers
559
559
  end
560
560
 
561
- # creates employee leave type records
561
+ # Creates employee leave type records
562
562
  # @param xero_tenant_id [String] Xero identifier for Tenant
563
563
  # @param employee_id [String] Employee id for single object
564
564
  # @param employee_leave_type [EmployeeLeaveType]
@@ -569,7 +569,7 @@ module XeroRuby
569
569
  data
570
570
  end
571
571
 
572
- # creates employee leave type records
572
+ # Creates employee leave type records
573
573
  # @param xero_tenant_id [String] Xero identifier for Tenant
574
574
  # @param employee_id [String] Employee id for single object
575
575
  # @param employee_leave_type [EmployeeLeaveType]
@@ -592,7 +592,7 @@ module XeroRuby
592
592
  fail ArgumentError, "Missing the required parameter 'employee_leave_type' when calling PayrollUkApi.create_employee_leave_type"
593
593
  end
594
594
  # resource path
595
- local_var_path = '/Employees/{EmployeeId}/LeaveTypes'.sub('{' + 'EmployeeId' + '}', employee_id.to_s)
595
+ local_var_path = '/Employees/{EmployeeID}/LeaveTypes'.sub('{' + 'EmployeeID' + '}', employee_id.to_s)
596
596
 
597
597
  # camelize keys of incoming `where` opts
598
598
  opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
@@ -640,7 +640,7 @@ module XeroRuby
640
640
  return data, status_code, headers
641
641
  end
642
642
 
643
- # creates employee opening balances
643
+ # Creates an opening balance for a specific employee
644
644
  # @param xero_tenant_id [String] Xero identifier for Tenant
645
645
  # @param employee_id [String] Employee id for single object
646
646
  # @param employee_opening_balances [EmployeeOpeningBalances]
@@ -651,7 +651,7 @@ module XeroRuby
651
651
  data
652
652
  end
653
653
 
654
- # creates employee opening balances
654
+ # Creates an opening balance for a specific employee
655
655
  # @param xero_tenant_id [String] Xero identifier for Tenant
656
656
  # @param employee_id [String] Employee id for single object
657
657
  # @param employee_opening_balances [EmployeeOpeningBalances]
@@ -674,7 +674,7 @@ module XeroRuby
674
674
  fail ArgumentError, "Missing the required parameter 'employee_opening_balances' when calling PayrollUkApi.create_employee_opening_balances"
675
675
  end
676
676
  # resource path
677
- local_var_path = '/Employees/{EmployeeId}/ukopeningbalances'.sub('{' + 'EmployeeId' + '}', employee_id.to_s)
677
+ local_var_path = '/Employees/{EmployeeID}/ukopeningbalances'.sub('{' + 'EmployeeID' + '}', employee_id.to_s)
678
678
 
679
679
  # camelize keys of incoming `where` opts
680
680
  opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
@@ -722,7 +722,7 @@ module XeroRuby
722
722
  return data, status_code, headers
723
723
  end
724
724
 
725
- # creates employee payment method
725
+ # Creates an employee payment method
726
726
  # @param xero_tenant_id [String] Xero identifier for Tenant
727
727
  # @param employee_id [String] Employee id for single object
728
728
  # @param payment_method [PaymentMethod]
@@ -733,7 +733,7 @@ module XeroRuby
733
733
  data
734
734
  end
735
735
 
736
- # creates employee payment method
736
+ # Creates an employee payment method
737
737
  # @param xero_tenant_id [String] Xero identifier for Tenant
738
738
  # @param employee_id [String] Employee id for single object
739
739
  # @param payment_method [PaymentMethod]
@@ -756,7 +756,7 @@ module XeroRuby
756
756
  fail ArgumentError, "Missing the required parameter 'payment_method' when calling PayrollUkApi.create_employee_payment_method"
757
757
  end
758
758
  # resource path
759
- local_var_path = '/Employees/{EmployeeId}/PaymentMethods'.sub('{' + 'EmployeeId' + '}', employee_id.to_s)
759
+ local_var_path = '/Employees/{EmployeeID}/PaymentMethods'.sub('{' + 'EmployeeID' + '}', employee_id.to_s)
760
760
 
761
761
  # camelize keys of incoming `where` opts
762
762
  opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
@@ -804,7 +804,7 @@ module XeroRuby
804
804
  return data, status_code, headers
805
805
  end
806
806
 
807
- # creates employee salary and wage record
807
+ # Creates a salary and wage record for a specific employee
808
808
  # @param xero_tenant_id [String] Xero identifier for Tenant
809
809
  # @param employee_id [String] Employee id for single object
810
810
  # @param salary_and_wage [SalaryAndWage]
@@ -815,7 +815,7 @@ module XeroRuby
815
815
  data
816
816
  end
817
817
 
818
- # creates employee salary and wage record
818
+ # Creates a salary and wage record for a specific employee
819
819
  # @param xero_tenant_id [String] Xero identifier for Tenant
820
820
  # @param employee_id [String] Employee id for single object
821
821
  # @param salary_and_wage [SalaryAndWage]
@@ -838,7 +838,7 @@ module XeroRuby
838
838
  fail ArgumentError, "Missing the required parameter 'salary_and_wage' when calling PayrollUkApi.create_employee_salary_and_wage"
839
839
  end
840
840
  # resource path
841
- local_var_path = '/Employees/{EmployeeId}/SalaryAndWages'.sub('{' + 'EmployeeId' + '}', employee_id.to_s)
841
+ local_var_path = '/Employees/{EmployeeID}/SalaryAndWages'.sub('{' + 'EmployeeID' + '}', employee_id.to_s)
842
842
 
843
843
  # camelize keys of incoming `where` opts
844
844
  opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
@@ -886,7 +886,7 @@ module XeroRuby
886
886
  return data, status_code, headers
887
887
  end
888
888
 
889
- # creates employee statutory sick leave records
889
+ # Creates statutory sick leave records
890
890
  # @param xero_tenant_id [String] Xero identifier for Tenant
891
891
  # @param employee_statutory_sick_leave [EmployeeStatutorySickLeave]
892
892
  # @param [Hash] opts the optional parameters
@@ -896,7 +896,7 @@ module XeroRuby
896
896
  data
897
897
  end
898
898
 
899
- # creates employee statutory sick leave records
899
+ # Creates statutory sick leave records
900
900
  # @param xero_tenant_id [String] Xero identifier for Tenant
901
901
  # @param employee_statutory_sick_leave [EmployeeStatutorySickLeave]
902
902
  # @param [Hash] opts the optional parameters
@@ -962,7 +962,7 @@ module XeroRuby
962
962
  return data, status_code, headers
963
963
  end
964
964
 
965
- # creates employment
965
+ # Creates employment detail for a specific employee using a unique employee ID
966
966
  # @param xero_tenant_id [String] Xero identifier for Tenant
967
967
  # @param employee_id [String] Employee id for single object
968
968
  # @param employment [Employment]
@@ -973,7 +973,7 @@ module XeroRuby
973
973
  data
974
974
  end
975
975
 
976
- # creates employment
976
+ # Creates employment detail for a specific employee using a unique employee ID
977
977
  # @param xero_tenant_id [String] Xero identifier for Tenant
978
978
  # @param employee_id [String] Employee id for single object
979
979
  # @param employment [Employment]
@@ -996,7 +996,7 @@ module XeroRuby
996
996
  fail ArgumentError, "Missing the required parameter 'employment' when calling PayrollUkApi.create_employment"
997
997
  end
998
998
  # resource path
999
- local_var_path = '/Employees/{EmployeeId}/Employment'.sub('{' + 'EmployeeId' + '}', employee_id.to_s)
999
+ local_var_path = '/Employees/{EmployeeID}/Employment'.sub('{' + 'EmployeeID' + '}', employee_id.to_s)
1000
1000
 
1001
1001
  # camelize keys of incoming `where` opts
1002
1002
  opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
@@ -1044,7 +1044,7 @@ module XeroRuby
1044
1044
  return data, status_code, headers
1045
1045
  end
1046
1046
 
1047
- # create a new leave type
1047
+ # Creates a new leave type
1048
1048
  # @param xero_tenant_id [String] Xero identifier for Tenant
1049
1049
  # @param leave_type [LeaveType]
1050
1050
  # @param [Hash] opts the optional parameters
@@ -1054,7 +1054,7 @@ module XeroRuby
1054
1054
  data
1055
1055
  end
1056
1056
 
1057
- # create a new leave type
1057
+ # Creates a new leave type
1058
1058
  # @param xero_tenant_id [String] Xero identifier for Tenant
1059
1059
  # @param leave_type [LeaveType]
1060
1060
  # @param [Hash] opts the optional parameters
@@ -1120,7 +1120,7 @@ module XeroRuby
1120
1120
  return data, status_code, headers
1121
1121
  end
1122
1122
 
1123
- # creates multiple employee earnings template records
1123
+ # Creates multiple earnings template records for a specific employee using a unique employee ID
1124
1124
  # @param xero_tenant_id [String] Xero identifier for Tenant
1125
1125
  # @param employee_id [String] Employee id for single object
1126
1126
  # @param earnings_template [Array<EarningsTemplate>]
@@ -1131,7 +1131,7 @@ module XeroRuby
1131
1131
  data
1132
1132
  end
1133
1133
 
1134
- # creates multiple employee earnings template records
1134
+ # Creates multiple earnings template records for a specific employee using a unique employee ID
1135
1135
  # @param xero_tenant_id [String] Xero identifier for Tenant
1136
1136
  # @param employee_id [String] Employee id for single object
1137
1137
  # @param earnings_template [Array<EarningsTemplate>]
@@ -1154,7 +1154,7 @@ module XeroRuby
1154
1154
  fail ArgumentError, "Missing the required parameter 'earnings_template' when calling PayrollUkApi.create_multiple_employee_earnings_template"
1155
1155
  end
1156
1156
  # resource path
1157
- local_var_path = '/Employees/{EmployeeId}/paytemplateearnings'.sub('{' + 'EmployeeId' + '}', employee_id.to_s)
1157
+ local_var_path = '/Employees/{EmployeeID}/paytemplateearnings'.sub('{' + 'EmployeeID' + '}', employee_id.to_s)
1158
1158
 
1159
1159
  # camelize keys of incoming `where` opts
1160
1160
  opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
@@ -1202,7 +1202,7 @@ module XeroRuby
1202
1202
  return data, status_code, headers
1203
1203
  end
1204
1204
 
1205
- # create a new payrun calendar
1205
+ # Creates a new payrun calendar
1206
1206
  # @param xero_tenant_id [String] Xero identifier for Tenant
1207
1207
  # @param pay_run_calendar [PayRunCalendar]
1208
1208
  # @param [Hash] opts the optional parameters
@@ -1212,7 +1212,7 @@ module XeroRuby
1212
1212
  data
1213
1213
  end
1214
1214
 
1215
- # create a new payrun calendar
1215
+ # Creates a new payrun calendar
1216
1216
  # @param xero_tenant_id [String] Xero identifier for Tenant
1217
1217
  # @param pay_run_calendar [PayRunCalendar]
1218
1218
  # @param [Hash] opts the optional parameters
@@ -1278,7 +1278,7 @@ module XeroRuby
1278
1278
  return data, status_code, headers
1279
1279
  end
1280
1280
 
1281
- # create a new reimbursement
1281
+ # Creates a new reimbursement
1282
1282
  # @param xero_tenant_id [String] Xero identifier for Tenant
1283
1283
  # @param reimbursement [Reimbursement]
1284
1284
  # @param [Hash] opts the optional parameters
@@ -1288,7 +1288,7 @@ module XeroRuby
1288
1288
  data
1289
1289
  end
1290
1290
 
1291
- # create a new reimbursement
1291
+ # Creates a new reimbursement
1292
1292
  # @param xero_tenant_id [String] Xero identifier for Tenant
1293
1293
  # @param reimbursement [Reimbursement]
1294
1294
  # @param [Hash] opts the optional parameters
@@ -1354,7 +1354,7 @@ module XeroRuby
1354
1354
  return data, status_code, headers
1355
1355
  end
1356
1356
 
1357
- # create a new timesheet
1357
+ # Creates a new timesheet
1358
1358
  # @param xero_tenant_id [String] Xero identifier for Tenant
1359
1359
  # @param timesheet [Timesheet]
1360
1360
  # @param [Hash] opts the optional parameters
@@ -1364,7 +1364,7 @@ module XeroRuby
1364
1364
  data
1365
1365
  end
1366
1366
 
1367
- # create a new timesheet
1367
+ # Creates a new timesheet
1368
1368
  # @param xero_tenant_id [String] Xero identifier for Tenant
1369
1369
  # @param timesheet [Timesheet]
1370
1370
  # @param [Hash] opts the optional parameters
@@ -1430,7 +1430,7 @@ module XeroRuby
1430
1430
  return data, status_code, headers
1431
1431
  end
1432
1432
 
1433
- # create a new timesheet line
1433
+ # Creates a new timesheet line for a specific timesheet using a unique timesheet ID
1434
1434
  # @param xero_tenant_id [String] Xero identifier for Tenant
1435
1435
  # @param timesheet_id [String] Identifier for the timesheet
1436
1436
  # @param timesheet_line [TimesheetLine]
@@ -1441,7 +1441,7 @@ module XeroRuby
1441
1441
  data
1442
1442
  end
1443
1443
 
1444
- # create a new timesheet line
1444
+ # Creates a new timesheet line for a specific timesheet using a unique timesheet ID
1445
1445
  # @param xero_tenant_id [String] Xero identifier for Tenant
1446
1446
  # @param timesheet_id [String] Identifier for the timesheet
1447
1447
  # @param timesheet_line [TimesheetLine]
@@ -1512,7 +1512,7 @@ module XeroRuby
1512
1512
  return data, status_code, headers
1513
1513
  end
1514
1514
 
1515
- # deletes an employee earnings template record
1515
+ # Deletes a specific employee's earnings template record
1516
1516
  # @param xero_tenant_id [String] Xero identifier for Tenant
1517
1517
  # @param employee_id [String] Employee id for single object
1518
1518
  # @param pay_template_earning_id [String] Id for single pay template earnings object
@@ -1523,7 +1523,7 @@ module XeroRuby
1523
1523
  nil
1524
1524
  end
1525
1525
 
1526
- # deletes an employee earnings template record
1526
+ # Deletes a specific employee&#39;s earnings template record
1527
1527
  # @param xero_tenant_id [String] Xero identifier for Tenant
1528
1528
  # @param employee_id [String] Employee id for single object
1529
1529
  # @param pay_template_earning_id [String] Id for single pay template earnings object
@@ -1546,7 +1546,7 @@ module XeroRuby
1546
1546
  fail ArgumentError, "Missing the required parameter 'pay_template_earning_id' when calling PayrollUkApi.delete_employee_earnings_template"
1547
1547
  end
1548
1548
  # resource path
1549
- local_var_path = '/Employees/{EmployeeId}/PayTemplates/earnings/{PayTemplateEarningID}'.sub('{' + 'EmployeeId' + '}', employee_id.to_s).sub('{' + 'PayTemplateEarningID' + '}', pay_template_earning_id.to_s)
1549
+ local_var_path = '/Employees/{EmployeeID}/PayTemplates/earnings/{PayTemplateEarningID}'.sub('{' + 'EmployeeID' + '}', employee_id.to_s).sub('{' + 'PayTemplateEarningID' + '}', pay_template_earning_id.to_s)
1550
1550
 
1551
1551
  # camelize keys of incoming `where` opts
1552
1552
  opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
@@ -1590,7 +1590,7 @@ module XeroRuby
1590
1590
  return data, status_code, headers
1591
1591
  end
1592
1592
 
1593
- # deletes an employee leave record
1593
+ # Deletes a specific employee's leave record
1594
1594
  # @param xero_tenant_id [String] Xero identifier for Tenant
1595
1595
  # @param employee_id [String] Employee id for single object
1596
1596
  # @param leave_id [String] Leave id for single object
@@ -1601,7 +1601,7 @@ module XeroRuby
1601
1601
  data
1602
1602
  end
1603
1603
 
1604
- # deletes an employee leave record
1604
+ # Deletes a specific employee&#39;s leave record
1605
1605
  # @param xero_tenant_id [String] Xero identifier for Tenant
1606
1606
  # @param employee_id [String] Employee id for single object
1607
1607
  # @param leave_id [String] Leave id for single object
@@ -1624,7 +1624,7 @@ module XeroRuby
1624
1624
  fail ArgumentError, "Missing the required parameter 'leave_id' when calling PayrollUkApi.delete_employee_leave"
1625
1625
  end
1626
1626
  # resource path
1627
- local_var_path = '/Employees/{EmployeeId}/Leave/{LeaveID}'.sub('{' + 'EmployeeId' + '}', employee_id.to_s).sub('{' + 'LeaveID' + '}', leave_id.to_s)
1627
+ local_var_path = '/Employees/{EmployeeID}/Leave/{LeaveID}'.sub('{' + 'EmployeeID' + '}', employee_id.to_s).sub('{' + 'LeaveID' + '}', leave_id.to_s)
1628
1628
 
1629
1629
  # camelize keys of incoming `where` opts
1630
1630
  opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
@@ -1670,7 +1670,7 @@ module XeroRuby
1670
1670
  return data, status_code, headers
1671
1671
  end
1672
1672
 
1673
- # deletes an employee salary and wages record
1673
+ # Deletes a salary and wages record for a specific employee
1674
1674
  # @param xero_tenant_id [String] Xero identifier for Tenant
1675
1675
  # @param employee_id [String] Employee id for single object
1676
1676
  # @param salary_and_wages_id [String] Id for single salary and wages object
@@ -1681,7 +1681,7 @@ module XeroRuby
1681
1681
  nil
1682
1682
  end
1683
1683
 
1684
- # deletes an employee salary and wages record
1684
+ # Deletes a salary and wages record for a specific employee
1685
1685
  # @param xero_tenant_id [String] Xero identifier for Tenant
1686
1686
  # @param employee_id [String] Employee id for single object
1687
1687
  # @param salary_and_wages_id [String] Id for single salary and wages object
@@ -1704,7 +1704,7 @@ module XeroRuby
1704
1704
  fail ArgumentError, "Missing the required parameter 'salary_and_wages_id' when calling PayrollUkApi.delete_employee_salary_and_wage"
1705
1705
  end
1706
1706
  # resource path
1707
- local_var_path = '/Employees/{EmployeeId}/SalaryAndWages/{SalaryAndWagesID}'.sub('{' + 'EmployeeId' + '}', employee_id.to_s).sub('{' + 'SalaryAndWagesID' + '}', salary_and_wages_id.to_s)
1707
+ local_var_path = '/Employees/{EmployeeID}/SalaryAndWages/{SalaryAndWagesID}'.sub('{' + 'EmployeeID' + '}', employee_id.to_s).sub('{' + 'SalaryAndWagesID' + '}', salary_and_wages_id.to_s)
1708
1708
 
1709
1709
  # camelize keys of incoming `where` opts
1710
1710
  opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
@@ -1748,7 +1748,7 @@ module XeroRuby
1748
1748
  return data, status_code, headers
1749
1749
  end
1750
1750
 
1751
- # delete a timesheet
1751
+ # Deletes a specific timesheet
1752
1752
  # @param xero_tenant_id [String] Xero identifier for Tenant
1753
1753
  # @param timesheet_id [String] Identifier for the timesheet
1754
1754
  # @param [Hash] opts the optional parameters
@@ -1758,7 +1758,7 @@ module XeroRuby
1758
1758
  data
1759
1759
  end
1760
1760
 
1761
- # delete a timesheet
1761
+ # Deletes a specific timesheet
1762
1762
  # @param xero_tenant_id [String] Xero identifier for Tenant
1763
1763
  # @param timesheet_id [String] Identifier for the timesheet
1764
1764
  # @param [Hash] opts the optional parameters
@@ -1822,7 +1822,7 @@ module XeroRuby
1822
1822
  return data, status_code, headers
1823
1823
  end
1824
1824
 
1825
- # delete a timesheet line
1825
+ # Deletes a specific timesheet line
1826
1826
  # @param xero_tenant_id [String] Xero identifier for Tenant
1827
1827
  # @param timesheet_id [String] Identifier for the timesheet
1828
1828
  # @param timesheet_line_id [String] Identifier for the timesheet line
@@ -1833,7 +1833,7 @@ module XeroRuby
1833
1833
  data
1834
1834
  end
1835
1835
 
1836
- # delete a timesheet line
1836
+ # Deletes a specific timesheet line
1837
1837
  # @param xero_tenant_id [String] Xero identifier for Tenant
1838
1838
  # @param timesheet_id [String] Identifier for the timesheet
1839
1839
  # @param timesheet_line_id [String] Identifier for the timesheet line
@@ -1902,7 +1902,7 @@ module XeroRuby
1902
1902
  return data, status_code, headers
1903
1903
  end
1904
1904
 
1905
- # retrieve a single benefit by id
1905
+ # Retrieves a specific benefit by using a unique benefit ID
1906
1906
  # @param xero_tenant_id [String] Xero identifier for Tenant
1907
1907
  # @param id [String] Identifier for the benefit
1908
1908
  # @param [Hash] opts the optional parameters
@@ -1912,7 +1912,7 @@ module XeroRuby
1912
1912
  data
1913
1913
  end
1914
1914
 
1915
- # retrieve a single benefit by id
1915
+ # Retrieves a specific benefit by using a unique benefit ID
1916
1916
  # @param xero_tenant_id [String] Xero identifier for Tenant
1917
1917
  # @param id [String] Identifier for the benefit
1918
1918
  # @param [Hash] opts the optional parameters
@@ -1976,7 +1976,7 @@ module XeroRuby
1976
1976
  return data, status_code, headers
1977
1977
  end
1978
1978
 
1979
- # searches benefits
1979
+ # Retrieves employee benefits
1980
1980
  # @param xero_tenant_id [String] Xero identifier for Tenant
1981
1981
  # @param [Hash] opts the optional parameters
1982
1982
  # @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.
@@ -1986,7 +1986,7 @@ module XeroRuby
1986
1986
  data
1987
1987
  end
1988
1988
 
1989
- # searches benefits
1989
+ # Retrieves employee benefits
1990
1990
  # @param xero_tenant_id [String] Xero identifier for Tenant
1991
1991
  # @param [Hash] opts the optional parameters
1992
1992
  # @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.
@@ -2047,7 +2047,7 @@ module XeroRuby
2047
2047
  return data, status_code, headers
2048
2048
  end
2049
2049
 
2050
- # retrieve a single deduction by id
2050
+ # Retrieves a specific deduction by using a unique deduction ID
2051
2051
  # @param xero_tenant_id [String] Xero identifier for Tenant
2052
2052
  # @param deduction_id [String] Identifier for the deduction
2053
2053
  # @param [Hash] opts the optional parameters
@@ -2057,7 +2057,7 @@ module XeroRuby
2057
2057
  data
2058
2058
  end
2059
2059
 
2060
- # retrieve a single deduction by id
2060
+ # Retrieves a specific deduction by using a unique deduction ID
2061
2061
  # @param xero_tenant_id [String] Xero identifier for Tenant
2062
2062
  # @param deduction_id [String] Identifier for the deduction
2063
2063
  # @param [Hash] opts the optional parameters
@@ -2121,7 +2121,7 @@ module XeroRuby
2121
2121
  return data, status_code, headers
2122
2122
  end
2123
2123
 
2124
- # searches deductions
2124
+ # Retrieves deductions
2125
2125
  # @param xero_tenant_id [String] Xero identifier for Tenant
2126
2126
  # @param [Hash] opts the optional parameters
2127
2127
  # @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.
@@ -2131,7 +2131,7 @@ module XeroRuby
2131
2131
  data
2132
2132
  end
2133
2133
 
2134
- # searches deductions
2134
+ # Retrieves deductions
2135
2135
  # @param xero_tenant_id [String] Xero identifier for Tenant
2136
2136
  # @param [Hash] opts the optional parameters
2137
2137
  # @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.
@@ -2192,7 +2192,7 @@ module XeroRuby
2192
2192
  return data, status_code, headers
2193
2193
  end
2194
2194
 
2195
- # retrieve a single deduction by id
2195
+ # Retrieves a specific earnings orders by using a unique earnings orders id
2196
2196
  # @param xero_tenant_id [String] Xero identifier for Tenant
2197
2197
  # @param id [String] Identifier for the deduction
2198
2198
  # @param [Hash] opts the optional parameters
@@ -2202,7 +2202,7 @@ module XeroRuby
2202
2202
  data
2203
2203
  end
2204
2204
 
2205
- # retrieve a single deduction by id
2205
+ # Retrieves a specific earnings orders by using a unique earnings orders id
2206
2206
  # @param xero_tenant_id [String] Xero identifier for Tenant
2207
2207
  # @param id [String] Identifier for the deduction
2208
2208
  # @param [Hash] opts the optional parameters
@@ -2266,7 +2266,7 @@ module XeroRuby
2266
2266
  return data, status_code, headers
2267
2267
  end
2268
2268
 
2269
- # searches earnings orders
2269
+ # Retrieves earnings orders
2270
2270
  # @param xero_tenant_id [String] Xero identifier for Tenant
2271
2271
  # @param [Hash] opts the optional parameters
2272
2272
  # @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.
@@ -2276,7 +2276,7 @@ module XeroRuby
2276
2276
  data
2277
2277
  end
2278
2278
 
2279
- # searches earnings orders
2279
+ # Retrieves earnings orders
2280
2280
  # @param xero_tenant_id [String] Xero identifier for Tenant
2281
2281
  # @param [Hash] opts the optional parameters
2282
2282
  # @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.
@@ -2337,7 +2337,7 @@ module XeroRuby
2337
2337
  return data, status_code, headers
2338
2338
  end
2339
2339
 
2340
- # retrieve a single earnings rates by id
2340
+ # Retrieves a specific earnings rates by using a unique earnings rate id
2341
2341
  # @param xero_tenant_id [String] Xero identifier for Tenant
2342
2342
  # @param earnings_rate_id [String] Identifier for the earnings rate
2343
2343
  # @param [Hash] opts the optional parameters
@@ -2347,7 +2347,7 @@ module XeroRuby
2347
2347
  data
2348
2348
  end
2349
2349
 
2350
- # retrieve a single earnings rates by id
2350
+ # Retrieves a specific earnings rates by using a unique earnings rate id
2351
2351
  # @param xero_tenant_id [String] Xero identifier for Tenant
2352
2352
  # @param earnings_rate_id [String] Identifier for the earnings rate
2353
2353
  # @param [Hash] opts the optional parameters
@@ -2411,7 +2411,7 @@ module XeroRuby
2411
2411
  return data, status_code, headers
2412
2412
  end
2413
2413
 
2414
- # searches earnings rates
2414
+ # Retrieves earnings rates
2415
2415
  # @param xero_tenant_id [String] Xero identifier for Tenant
2416
2416
  # @param [Hash] opts the optional parameters
2417
2417
  # @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.
@@ -2421,7 +2421,7 @@ module XeroRuby
2421
2421
  data
2422
2422
  end
2423
2423
 
2424
- # searches earnings rates
2424
+ # Retrieves earnings rates
2425
2425
  # @param xero_tenant_id [String] Xero identifier for Tenant
2426
2426
  # @param [Hash] opts the optional parameters
2427
2427
  # @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.
@@ -2482,7 +2482,7 @@ module XeroRuby
2482
2482
  return data, status_code, headers
2483
2483
  end
2484
2484
 
2485
- # searches employees
2485
+ # Retrieves specific employees by using a unique employee ID
2486
2486
  # @param xero_tenant_id [String] Xero identifier for Tenant
2487
2487
  # @param employee_id [String] Employee id for single object
2488
2488
  # @param [Hash] opts the optional parameters
@@ -2492,7 +2492,7 @@ module XeroRuby
2492
2492
  data
2493
2493
  end
2494
2494
 
2495
- # searches employees
2495
+ # Retrieves specific employees by using a unique employee ID
2496
2496
  # @param xero_tenant_id [String] Xero identifier for Tenant
2497
2497
  # @param employee_id [String] Employee id for single object
2498
2498
  # @param [Hash] opts the optional parameters
@@ -2510,7 +2510,7 @@ module XeroRuby
2510
2510
  fail ArgumentError, "Missing the required parameter 'employee_id' when calling PayrollUkApi.get_employee"
2511
2511
  end
2512
2512
  # resource path
2513
- local_var_path = '/Employees/{EmployeeId}'.sub('{' + 'EmployeeId' + '}', employee_id.to_s)
2513
+ local_var_path = '/Employees/{EmployeeID}'.sub('{' + 'EmployeeID' + '}', employee_id.to_s)
2514
2514
 
2515
2515
  # camelize keys of incoming `where` opts
2516
2516
  opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
@@ -2556,7 +2556,7 @@ module XeroRuby
2556
2556
  return data, status_code, headers
2557
2557
  end
2558
2558
 
2559
- # retrieve a single employee leave record
2559
+ # Retrieves a specific employee's leave record using a unique employee ID
2560
2560
  # @param xero_tenant_id [String] Xero identifier for Tenant
2561
2561
  # @param employee_id [String] Employee id for single object
2562
2562
  # @param leave_id [String] Leave id for single object
@@ -2567,7 +2567,7 @@ module XeroRuby
2567
2567
  data
2568
2568
  end
2569
2569
 
2570
- # retrieve a single employee leave record
2570
+ # Retrieves a specific employee&#39;s leave record using a unique employee ID
2571
2571
  # @param xero_tenant_id [String] Xero identifier for Tenant
2572
2572
  # @param employee_id [String] Employee id for single object
2573
2573
  # @param leave_id [String] Leave id for single object
@@ -2590,7 +2590,7 @@ module XeroRuby
2590
2590
  fail ArgumentError, "Missing the required parameter 'leave_id' when calling PayrollUkApi.get_employee_leave"
2591
2591
  end
2592
2592
  # resource path
2593
- local_var_path = '/Employees/{EmployeeId}/Leave/{LeaveID}'.sub('{' + 'EmployeeId' + '}', employee_id.to_s).sub('{' + 'LeaveID' + '}', leave_id.to_s)
2593
+ local_var_path = '/Employees/{EmployeeID}/Leave/{LeaveID}'.sub('{' + 'EmployeeID' + '}', employee_id.to_s).sub('{' + 'LeaveID' + '}', leave_id.to_s)
2594
2594
 
2595
2595
  # camelize keys of incoming `where` opts
2596
2596
  opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
@@ -2636,7 +2636,7 @@ module XeroRuby
2636
2636
  return data, status_code, headers
2637
2637
  end
2638
2638
 
2639
- # search employee leave balances
2639
+ # Retrieves a specific employee's leave balances using a unique employee ID
2640
2640
  # @param xero_tenant_id [String] Xero identifier for Tenant
2641
2641
  # @param employee_id [String] Employee id for single object
2642
2642
  # @param [Hash] opts the optional parameters
@@ -2646,7 +2646,7 @@ module XeroRuby
2646
2646
  data
2647
2647
  end
2648
2648
 
2649
- # search employee leave balances
2649
+ # Retrieves a specific employee&#39;s leave balances using a unique employee ID
2650
2650
  # @param xero_tenant_id [String] Xero identifier for Tenant
2651
2651
  # @param employee_id [String] Employee id for single object
2652
2652
  # @param [Hash] opts the optional parameters
@@ -2664,7 +2664,7 @@ module XeroRuby
2664
2664
  fail ArgumentError, "Missing the required parameter 'employee_id' when calling PayrollUkApi.get_employee_leave_balances"
2665
2665
  end
2666
2666
  # resource path
2667
- local_var_path = '/Employees/{EmployeeId}/LeaveBalances'.sub('{' + 'EmployeeId' + '}', employee_id.to_s)
2667
+ local_var_path = '/Employees/{EmployeeID}/LeaveBalances'.sub('{' + 'EmployeeID' + '}', employee_id.to_s)
2668
2668
 
2669
2669
  # camelize keys of incoming `where` opts
2670
2670
  opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
@@ -2710,7 +2710,7 @@ module XeroRuby
2710
2710
  return data, status_code, headers
2711
2711
  end
2712
2712
 
2713
- # searches employee leave periods
2713
+ # Retrieves a specific employee's leave periods using a unique employee ID
2714
2714
  # @param xero_tenant_id [String] Xero identifier for Tenant
2715
2715
  # @param employee_id [String] Employee id for single object
2716
2716
  # @param [Hash] opts the optional parameters
@@ -2722,7 +2722,7 @@ module XeroRuby
2722
2722
  data
2723
2723
  end
2724
2724
 
2725
- # searches employee leave periods
2725
+ # Retrieves a specific employee&#39;s leave periods using a unique employee ID
2726
2726
  # @param xero_tenant_id [String] Xero identifier for Tenant
2727
2727
  # @param employee_id [String] Employee id for single object
2728
2728
  # @param [Hash] opts the optional parameters
@@ -2742,7 +2742,7 @@ module XeroRuby
2742
2742
  fail ArgumentError, "Missing the required parameter 'employee_id' when calling PayrollUkApi.get_employee_leave_periods"
2743
2743
  end
2744
2744
  # resource path
2745
- local_var_path = '/Employees/{EmployeeId}/LeavePeriods'.sub('{' + 'EmployeeId' + '}', employee_id.to_s)
2745
+ local_var_path = '/Employees/{EmployeeID}/LeavePeriods'.sub('{' + 'EmployeeID' + '}', employee_id.to_s)
2746
2746
 
2747
2747
  # camelize keys of incoming `where` opts
2748
2748
  opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
@@ -2790,7 +2790,7 @@ module XeroRuby
2790
2790
  return data, status_code, headers
2791
2791
  end
2792
2792
 
2793
- # searches employee leave types
2793
+ # Retrieves a specific employee's leave types using a unique employee ID
2794
2794
  # @param xero_tenant_id [String] Xero identifier for Tenant
2795
2795
  # @param employee_id [String] Employee id for single object
2796
2796
  # @param [Hash] opts the optional parameters
@@ -2800,7 +2800,7 @@ module XeroRuby
2800
2800
  data
2801
2801
  end
2802
2802
 
2803
- # searches employee leave types
2803
+ # Retrieves a specific employee&#39;s leave types using a unique employee ID
2804
2804
  # @param xero_tenant_id [String] Xero identifier for Tenant
2805
2805
  # @param employee_id [String] Employee id for single object
2806
2806
  # @param [Hash] opts the optional parameters
@@ -2818,7 +2818,7 @@ module XeroRuby
2818
2818
  fail ArgumentError, "Missing the required parameter 'employee_id' when calling PayrollUkApi.get_employee_leave_types"
2819
2819
  end
2820
2820
  # resource path
2821
- local_var_path = '/Employees/{EmployeeId}/LeaveTypes'.sub('{' + 'EmployeeId' + '}', employee_id.to_s)
2821
+ local_var_path = '/Employees/{EmployeeID}/LeaveTypes'.sub('{' + 'EmployeeID' + '}', employee_id.to_s)
2822
2822
 
2823
2823
  # camelize keys of incoming `where` opts
2824
2824
  opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
@@ -2864,7 +2864,7 @@ module XeroRuby
2864
2864
  return data, status_code, headers
2865
2865
  end
2866
2866
 
2867
- # search employee leave records
2867
+ # Retrieves a specific employee's leave records using a unique employee ID
2868
2868
  # @param xero_tenant_id [String] Xero identifier for Tenant
2869
2869
  # @param employee_id [String] Employee id for single object
2870
2870
  # @param [Hash] opts the optional parameters
@@ -2874,7 +2874,7 @@ module XeroRuby
2874
2874
  data
2875
2875
  end
2876
2876
 
2877
- # search employee leave records
2877
+ # Retrieves a specific employee&#39;s leave records using a unique employee ID
2878
2878
  # @param xero_tenant_id [String] Xero identifier for Tenant
2879
2879
  # @param employee_id [String] Employee id for single object
2880
2880
  # @param [Hash] opts the optional parameters
@@ -2892,7 +2892,7 @@ module XeroRuby
2892
2892
  fail ArgumentError, "Missing the required parameter 'employee_id' when calling PayrollUkApi.get_employee_leaves"
2893
2893
  end
2894
2894
  # resource path
2895
- local_var_path = '/Employees/{EmployeeId}/Leave'.sub('{' + 'EmployeeId' + '}', employee_id.to_s)
2895
+ local_var_path = '/Employees/{EmployeeID}/Leave'.sub('{' + 'EmployeeID' + '}', employee_id.to_s)
2896
2896
 
2897
2897
  # camelize keys of incoming `where` opts
2898
2898
  opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
@@ -2938,7 +2938,7 @@ module XeroRuby
2938
2938
  return data, status_code, headers
2939
2939
  end
2940
2940
 
2941
- # retrieve employee openingbalances
2941
+ # Retrieves a specific employee's openingbalances using a unique employee ID
2942
2942
  # @param xero_tenant_id [String] Xero identifier for Tenant
2943
2943
  # @param employee_id [String] Employee id for single object
2944
2944
  # @param [Hash] opts the optional parameters
@@ -2948,7 +2948,7 @@ module XeroRuby
2948
2948
  data
2949
2949
  end
2950
2950
 
2951
- # retrieve employee openingbalances
2951
+ # Retrieves a specific employee&#39;s openingbalances using a unique employee ID
2952
2952
  # @param xero_tenant_id [String] Xero identifier for Tenant
2953
2953
  # @param employee_id [String] Employee id for single object
2954
2954
  # @param [Hash] opts the optional parameters
@@ -2966,7 +2966,7 @@ module XeroRuby
2966
2966
  fail ArgumentError, "Missing the required parameter 'employee_id' when calling PayrollUkApi.get_employee_opening_balances"
2967
2967
  end
2968
2968
  # resource path
2969
- local_var_path = '/Employees/{EmployeeId}/ukopeningbalances'.sub('{' + 'EmployeeId' + '}', employee_id.to_s)
2969
+ local_var_path = '/Employees/{EmployeeID}/ukopeningbalances'.sub('{' + 'EmployeeID' + '}', employee_id.to_s)
2970
2970
 
2971
2971
  # camelize keys of incoming `where` opts
2972
2972
  opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
@@ -3012,7 +3012,7 @@ module XeroRuby
3012
3012
  return data, status_code, headers
3013
3013
  end
3014
3014
 
3015
- # searches employee pay templates
3015
+ # Retrieves a specific employee pay templates using a unique employee ID
3016
3016
  # @param xero_tenant_id [String] Xero identifier for Tenant
3017
3017
  # @param employee_id [String] Employee id for single object
3018
3018
  # @param [Hash] opts the optional parameters
@@ -3022,7 +3022,7 @@ module XeroRuby
3022
3022
  data
3023
3023
  end
3024
3024
 
3025
- # searches employee pay templates
3025
+ # Retrieves a specific employee pay templates using a unique employee ID
3026
3026
  # @param xero_tenant_id [String] Xero identifier for Tenant
3027
3027
  # @param employee_id [String] Employee id for single object
3028
3028
  # @param [Hash] opts the optional parameters
@@ -3040,7 +3040,7 @@ module XeroRuby
3040
3040
  fail ArgumentError, "Missing the required parameter 'employee_id' when calling PayrollUkApi.get_employee_pay_template"
3041
3041
  end
3042
3042
  # resource path
3043
- local_var_path = '/Employees/{EmployeeId}/PayTemplates'.sub('{' + 'EmployeeId' + '}', employee_id.to_s)
3043
+ local_var_path = '/Employees/{EmployeeID}/PayTemplates'.sub('{' + 'EmployeeID' + '}', employee_id.to_s)
3044
3044
 
3045
3045
  # camelize keys of incoming `where` opts
3046
3046
  opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
@@ -3086,7 +3086,7 @@ module XeroRuby
3086
3086
  return data, status_code, headers
3087
3087
  end
3088
3088
 
3089
- # retrieves an employee's payment method
3089
+ # Retrieves a specific employee's payment method using a unique employee ID
3090
3090
  # @param xero_tenant_id [String] Xero identifier for Tenant
3091
3091
  # @param employee_id [String] Employee id for single object
3092
3092
  # @param [Hash] opts the optional parameters
@@ -3096,7 +3096,7 @@ module XeroRuby
3096
3096
  data
3097
3097
  end
3098
3098
 
3099
- # retrieves an employee&#39;s payment method
3099
+ # Retrieves a specific employee&#39;s payment method using a unique employee ID
3100
3100
  # @param xero_tenant_id [String] Xero identifier for Tenant
3101
3101
  # @param employee_id [String] Employee id for single object
3102
3102
  # @param [Hash] opts the optional parameters
@@ -3114,7 +3114,7 @@ module XeroRuby
3114
3114
  fail ArgumentError, "Missing the required parameter 'employee_id' when calling PayrollUkApi.get_employee_payment_method"
3115
3115
  end
3116
3116
  # resource path
3117
- local_var_path = '/Employees/{EmployeeId}/PaymentMethods'.sub('{' + 'EmployeeId' + '}', employee_id.to_s)
3117
+ local_var_path = '/Employees/{EmployeeID}/PaymentMethods'.sub('{' + 'EmployeeID' + '}', employee_id.to_s)
3118
3118
 
3119
3119
  # camelize keys of incoming `where` opts
3120
3120
  opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
@@ -3160,7 +3160,7 @@ module XeroRuby
3160
3160
  return data, status_code, headers
3161
3161
  end
3162
3162
 
3163
- # get employee salary and wages record by id
3163
+ # Retrieves a specific salary and wages record for a specific employee using a unique salary and wage id
3164
3164
  # @param xero_tenant_id [String] Xero identifier for Tenant
3165
3165
  # @param employee_id [String] Employee id for single object
3166
3166
  # @param salary_and_wages_id [String] Id for single pay template earnings object
@@ -3171,7 +3171,7 @@ module XeroRuby
3171
3171
  data
3172
3172
  end
3173
3173
 
3174
- # get employee salary and wages record by id
3174
+ # Retrieves a specific salary and wages record for a specific employee using a unique salary and wage id
3175
3175
  # @param xero_tenant_id [String] Xero identifier for Tenant
3176
3176
  # @param employee_id [String] Employee id for single object
3177
3177
  # @param salary_and_wages_id [String] Id for single pay template earnings object
@@ -3194,7 +3194,7 @@ module XeroRuby
3194
3194
  fail ArgumentError, "Missing the required parameter 'salary_and_wages_id' when calling PayrollUkApi.get_employee_salary_and_wage"
3195
3195
  end
3196
3196
  # resource path
3197
- local_var_path = '/Employees/{EmployeeId}/SalaryAndWages/{SalaryAndWagesID}'.sub('{' + 'EmployeeId' + '}', employee_id.to_s).sub('{' + 'SalaryAndWagesID' + '}', salary_and_wages_id.to_s)
3197
+ local_var_path = '/Employees/{EmployeeID}/SalaryAndWages/{SalaryAndWagesID}'.sub('{' + 'EmployeeID' + '}', employee_id.to_s).sub('{' + 'SalaryAndWagesID' + '}', salary_and_wages_id.to_s)
3198
3198
 
3199
3199
  # camelize keys of incoming `where` opts
3200
3200
  opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
@@ -3240,7 +3240,7 @@ module XeroRuby
3240
3240
  return data, status_code, headers
3241
3241
  end
3242
3242
 
3243
- # retrieves an employee's salary and wages
3243
+ # Retrieves a specific employee's salary and wages by using a unique employee ID
3244
3244
  # @param xero_tenant_id [String] Xero identifier for Tenant
3245
3245
  # @param employee_id [String] Employee id for single object
3246
3246
  # @param [Hash] opts the optional parameters
@@ -3251,7 +3251,7 @@ module XeroRuby
3251
3251
  data
3252
3252
  end
3253
3253
 
3254
- # retrieves an employee&#39;s salary and wages
3254
+ # Retrieves a specific employee&#39;s salary and wages by using a unique employee ID
3255
3255
  # @param xero_tenant_id [String] Xero identifier for Tenant
3256
3256
  # @param employee_id [String] Employee id for single object
3257
3257
  # @param [Hash] opts the optional parameters
@@ -3270,7 +3270,7 @@ module XeroRuby
3270
3270
  fail ArgumentError, "Missing the required parameter 'employee_id' when calling PayrollUkApi.get_employee_salary_and_wages"
3271
3271
  end
3272
3272
  # resource path
3273
- local_var_path = '/Employees/{EmployeeId}/SalaryAndWages'.sub('{' + 'EmployeeId' + '}', employee_id.to_s)
3273
+ local_var_path = '/Employees/{EmployeeID}/SalaryAndWages'.sub('{' + 'EmployeeID' + '}', employee_id.to_s)
3274
3274
 
3275
3275
  # camelize keys of incoming `where` opts
3276
3276
  opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
@@ -3317,7 +3317,7 @@ module XeroRuby
3317
3317
  return data, status_code, headers
3318
3318
  end
3319
3319
 
3320
- # search employee leave balances
3320
+ # Retrieves a specific employee's leave balances using a unique employee ID
3321
3321
  # @param xero_tenant_id [String] Xero identifier for Tenant
3322
3322
  # @param employee_id [String] Employee id for single object
3323
3323
  # @param [Hash] opts the optional parameters
@@ -3329,7 +3329,7 @@ module XeroRuby
3329
3329
  data
3330
3330
  end
3331
3331
 
3332
- # search employee leave balances
3332
+ # Retrieves a specific employee&#39;s leave balances using a unique employee ID
3333
3333
  # @param xero_tenant_id [String] Xero identifier for Tenant
3334
3334
  # @param employee_id [String] Employee id for single object
3335
3335
  # @param [Hash] opts the optional parameters
@@ -3349,7 +3349,7 @@ module XeroRuby
3349
3349
  fail ArgumentError, "Missing the required parameter 'employee_id' when calling PayrollUkApi.get_employee_statutory_leave_balances"
3350
3350
  end
3351
3351
  # resource path
3352
- local_var_path = '/Employees/{EmployeeId}/StatutoryLeaveBalance'.sub('{' + 'EmployeeId' + '}', employee_id.to_s)
3352
+ local_var_path = '/Employees/{EmployeeID}/StatutoryLeaveBalance'.sub('{' + 'EmployeeID' + '}', employee_id.to_s)
3353
3353
 
3354
3354
  # camelize keys of incoming `where` opts
3355
3355
  opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
@@ -3397,7 +3397,7 @@ module XeroRuby
3397
3397
  return data, status_code, headers
3398
3398
  end
3399
3399
 
3400
- # retrieve a statutory sick leave for an employee
3400
+ # Retrieves a statutory sick leave for an employee
3401
3401
  # @param xero_tenant_id [String] Xero identifier for Tenant
3402
3402
  # @param statutory_sick_leave_id [String] Statutory sick leave id for single object
3403
3403
  # @param [Hash] opts the optional parameters
@@ -3407,7 +3407,7 @@ module XeroRuby
3407
3407
  data
3408
3408
  end
3409
3409
 
3410
- # retrieve a statutory sick leave for an employee
3410
+ # Retrieves a statutory sick leave for an employee
3411
3411
  # @param xero_tenant_id [String] Xero identifier for Tenant
3412
3412
  # @param statutory_sick_leave_id [String] Statutory sick leave id for single object
3413
3413
  # @param [Hash] opts the optional parameters
@@ -3471,7 +3471,7 @@ module XeroRuby
3471
3471
  return data, status_code, headers
3472
3472
  end
3473
3473
 
3474
- # searches tax records for an employee
3474
+ # Retrieves tax records for a specific employee using a unique employee ID
3475
3475
  # @param xero_tenant_id [String] Xero identifier for Tenant
3476
3476
  # @param employee_id [String] Employee id for single object
3477
3477
  # @param [Hash] opts the optional parameters
@@ -3481,7 +3481,7 @@ module XeroRuby
3481
3481
  data
3482
3482
  end
3483
3483
 
3484
- # searches tax records for an employee
3484
+ # Retrieves tax records for a specific employee using a unique employee ID
3485
3485
  # @param xero_tenant_id [String] Xero identifier for Tenant
3486
3486
  # @param employee_id [String] Employee id for single object
3487
3487
  # @param [Hash] opts the optional parameters
@@ -3499,7 +3499,7 @@ module XeroRuby
3499
3499
  fail ArgumentError, "Missing the required parameter 'employee_id' when calling PayrollUkApi.get_employee_tax"
3500
3500
  end
3501
3501
  # resource path
3502
- local_var_path = '/Employees/{EmployeeId}/Tax'.sub('{' + 'EmployeeId' + '}', employee_id.to_s)
3502
+ local_var_path = '/Employees/{EmployeeID}/Tax'.sub('{' + 'EmployeeID' + '}', employee_id.to_s)
3503
3503
 
3504
3504
  # camelize keys of incoming `where` opts
3505
3505
  opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
@@ -3545,11 +3545,10 @@ module XeroRuby
3545
3545
  return data, status_code, headers
3546
3546
  end
3547
3547
 
3548
- # searches employees
3548
+ # Retrieves employees
3549
3549
  # @param xero_tenant_id [String] Xero identifier for Tenant
3550
3550
  # @param [Hash] opts the optional parameters
3551
- # @option opts [String] :first_name Filter by first name
3552
- # @option opts [String] :last_name Filter by last name
3551
+ # @option opts [String] :filter Filter by first name and/or lastname
3553
3552
  # @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.
3554
3553
  # @return [Employees]
3555
3554
  def get_employees(xero_tenant_id, opts = {})
@@ -3557,11 +3556,10 @@ module XeroRuby
3557
3556
  data
3558
3557
  end
3559
3558
 
3560
- # searches employees
3559
+ # Retrieves employees
3561
3560
  # @param xero_tenant_id [String] Xero identifier for Tenant
3562
3561
  # @param [Hash] opts the optional parameters
3563
- # @option opts [String] :first_name Filter by first name
3564
- # @option opts [String] :last_name Filter by last name
3562
+ # @option opts [String] :filter Filter by first name and/or lastname
3565
3563
  # @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.
3566
3564
  # @return [Array<(Employees, Integer, Hash)>] Employees data, response status code and response headers
3567
3565
  def get_employees_with_http_info(xero_tenant_id, opts = {})
@@ -3580,8 +3578,7 @@ module XeroRuby
3580
3578
 
3581
3579
  # query parameters
3582
3580
  query_params = opts[:query_params] || {}
3583
- query_params[:'firstName'] = opts[:'first_name'] if !opts[:'first_name'].nil?
3584
- query_params[:'lastName'] = opts[:'last_name'] if !opts[:'last_name'].nil?
3581
+ query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
3585
3582
  query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
3586
3583
 
3587
3584
  # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
@@ -3622,7 +3619,7 @@ module XeroRuby
3622
3619
  return data, status_code, headers
3623
3620
  end
3624
3621
 
3625
- # retrieve a single leave type by id
3622
+ # Retrieves a specific leave type by using a unique leave type ID
3626
3623
  # @param xero_tenant_id [String] Xero identifier for Tenant
3627
3624
  # @param leave_type_id [String] Identifier for the leave type
3628
3625
  # @param [Hash] opts the optional parameters
@@ -3632,7 +3629,7 @@ module XeroRuby
3632
3629
  data
3633
3630
  end
3634
3631
 
3635
- # retrieve a single leave type by id
3632
+ # Retrieves a specific leave type by using a unique leave type ID
3636
3633
  # @param xero_tenant_id [String] Xero identifier for Tenant
3637
3634
  # @param leave_type_id [String] Identifier for the leave type
3638
3635
  # @param [Hash] opts the optional parameters
@@ -3696,7 +3693,7 @@ module XeroRuby
3696
3693
  return data, status_code, headers
3697
3694
  end
3698
3695
 
3699
- # searches leave types
3696
+ # Retrieves leave types
3700
3697
  # @param xero_tenant_id [String] Xero identifier for Tenant
3701
3698
  # @param [Hash] opts the optional parameters
3702
3699
  # @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.
@@ -3707,7 +3704,7 @@ module XeroRuby
3707
3704
  data
3708
3705
  end
3709
3706
 
3710
- # searches leave types
3707
+ # Retrieves leave types
3711
3708
  # @param xero_tenant_id [String] Xero identifier for Tenant
3712
3709
  # @param [Hash] opts the optional parameters
3713
3710
  # @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.
@@ -3770,7 +3767,7 @@ module XeroRuby
3770
3767
  return data, status_code, headers
3771
3768
  end
3772
3769
 
3773
- # retrieve a single pay run by id
3770
+ # Retrieves a specific pay run by using a unique pay run ID
3774
3771
  # @param xero_tenant_id [String] Xero identifier for Tenant
3775
3772
  # @param pay_run_id [String] Identifier for the pay run
3776
3773
  # @param [Hash] opts the optional parameters
@@ -3780,7 +3777,7 @@ module XeroRuby
3780
3777
  data
3781
3778
  end
3782
3779
 
3783
- # retrieve a single pay run by id
3780
+ # Retrieves a specific pay run by using a unique pay run ID
3784
3781
  # @param xero_tenant_id [String] Xero identifier for Tenant
3785
3782
  # @param pay_run_id [String] Identifier for the pay run
3786
3783
  # @param [Hash] opts the optional parameters
@@ -3844,7 +3841,7 @@ module XeroRuby
3844
3841
  return data, status_code, headers
3845
3842
  end
3846
3843
 
3847
- # retrieve a single payrun calendar by id
3844
+ # Retrieves a specific payrun calendar by using a unique payrun calendar ID
3848
3845
  # @param xero_tenant_id [String] Xero identifier for Tenant
3849
3846
  # @param pay_run_calendar_id [String] Identifier for the payrun calendars
3850
3847
  # @param [Hash] opts the optional parameters
@@ -3854,7 +3851,7 @@ module XeroRuby
3854
3851
  data
3855
3852
  end
3856
3853
 
3857
- # retrieve a single payrun calendar by id
3854
+ # Retrieves a specific payrun calendar by using a unique payrun calendar ID
3858
3855
  # @param xero_tenant_id [String] Xero identifier for Tenant
3859
3856
  # @param pay_run_calendar_id [String] Identifier for the payrun calendars
3860
3857
  # @param [Hash] opts the optional parameters
@@ -3918,7 +3915,7 @@ module XeroRuby
3918
3915
  return data, status_code, headers
3919
3916
  end
3920
3917
 
3921
- # searches payrun calendars
3918
+ # Retrieves payrun calendars
3922
3919
  # @param xero_tenant_id [String] Xero identifier for Tenant
3923
3920
  # @param [Hash] opts the optional parameters
3924
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.
@@ -3928,7 +3925,7 @@ module XeroRuby
3928
3925
  data
3929
3926
  end
3930
3927
 
3931
- # searches payrun calendars
3928
+ # Retrieves payrun calendars
3932
3929
  # @param xero_tenant_id [String] Xero identifier for Tenant
3933
3930
  # @param [Hash] opts the optional parameters
3934
3931
  # @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.
@@ -3989,7 +3986,7 @@ module XeroRuby
3989
3986
  return data, status_code, headers
3990
3987
  end
3991
3988
 
3992
- # searches pay runs
3989
+ # Retrieves pay runs
3993
3990
  # @param xero_tenant_id [String] Xero identifier for Tenant
3994
3991
  # @param [Hash] opts the optional parameters
3995
3992
  # @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.
@@ -4000,7 +3997,7 @@ module XeroRuby
4000
3997
  data
4001
3998
  end
4002
3999
 
4003
- # searches pay runs
4000
+ # Retrieves pay runs
4004
4001
  # @param xero_tenant_id [String] Xero identifier for Tenant
4005
4002
  # @param [Hash] opts the optional parameters
4006
4003
  # @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.
@@ -4067,7 +4064,7 @@ module XeroRuby
4067
4064
  return data, status_code, headers
4068
4065
  end
4069
4066
 
4070
- # retrieve a single payslip by id
4067
+ # Retrieves a specific payslip by using a unique payslip ID
4071
4068
  # @param xero_tenant_id [String] Xero identifier for Tenant
4072
4069
  # @param payslip_id [String] Identifier for the payslip
4073
4070
  # @param [Hash] opts the optional parameters
@@ -4077,7 +4074,7 @@ module XeroRuby
4077
4074
  data
4078
4075
  end
4079
4076
 
4080
- # retrieve a single payslip by id
4077
+ # Retrieves a specific payslip by using a unique payslip ID
4081
4078
  # @param xero_tenant_id [String] Xero identifier for Tenant
4082
4079
  # @param payslip_id [String] Identifier for the payslip
4083
4080
  # @param [Hash] opts the optional parameters
@@ -4141,7 +4138,7 @@ module XeroRuby
4141
4138
  return data, status_code, headers
4142
4139
  end
4143
4140
 
4144
- # searches payslips
4141
+ # Retrieves payslips
4145
4142
  # @param xero_tenant_id [String] Xero identifier for Tenant
4146
4143
  # @param pay_run_id [String] PayrunID which specifies the containing payrun of payslips to retrieve. By default, the API does not group payslips by payrun.
4147
4144
  # @param [Hash] opts the optional parameters
@@ -4152,7 +4149,7 @@ module XeroRuby
4152
4149
  data
4153
4150
  end
4154
4151
 
4155
- # searches payslips
4152
+ # Retrieves payslips
4156
4153
  # @param xero_tenant_id [String] Xero identifier for Tenant
4157
4154
  # @param pay_run_id [String] PayrunID which specifies the containing payrun of payslips to retrieve. By default, the API does not group payslips by payrun.
4158
4155
  # @param [Hash] opts the optional parameters
@@ -4219,7 +4216,7 @@ module XeroRuby
4219
4216
  return data, status_code, headers
4220
4217
  end
4221
4218
 
4222
- # retrieve a single reimbursement by id
4219
+ # Retrieves a specific reimbursement by using a unique reimbursement id
4223
4220
  # @param xero_tenant_id [String] Xero identifier for Tenant
4224
4221
  # @param reimbursement_id [String] Identifier for the reimbursement
4225
4222
  # @param [Hash] opts the optional parameters
@@ -4229,7 +4226,7 @@ module XeroRuby
4229
4226
  data
4230
4227
  end
4231
4228
 
4232
- # retrieve a single reimbursement by id
4229
+ # Retrieves a specific reimbursement by using a unique reimbursement id
4233
4230
  # @param xero_tenant_id [String] Xero identifier for Tenant
4234
4231
  # @param reimbursement_id [String] Identifier for the reimbursement
4235
4232
  # @param [Hash] opts the optional parameters
@@ -4293,7 +4290,7 @@ module XeroRuby
4293
4290
  return data, status_code, headers
4294
4291
  end
4295
4292
 
4296
- # searches reimbursements
4293
+ # Retrieves reimbursements
4297
4294
  # @param xero_tenant_id [String] Xero identifier for Tenant
4298
4295
  # @param [Hash] opts the optional parameters
4299
4296
  # @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.
@@ -4303,7 +4300,7 @@ module XeroRuby
4303
4300
  data
4304
4301
  end
4305
4302
 
4306
- # searches reimbursements
4303
+ # Retrieves reimbursements
4307
4304
  # @param xero_tenant_id [String] Xero identifier for Tenant
4308
4305
  # @param [Hash] opts the optional parameters
4309
4306
  # @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.
@@ -4364,7 +4361,7 @@ module XeroRuby
4364
4361
  return data, status_code, headers
4365
4362
  end
4366
4363
 
4367
- # searches settings
4364
+ # Retrieves payroll settings
4368
4365
  # @param xero_tenant_id [String] Xero identifier for Tenant
4369
4366
  # @param [Hash] opts the optional parameters
4370
4367
  # @return [Settings]
@@ -4373,7 +4370,7 @@ module XeroRuby
4373
4370
  data
4374
4371
  end
4375
4372
 
4376
- # searches settings
4373
+ # Retrieves payroll settings
4377
4374
  # @param xero_tenant_id [String] Xero identifier for Tenant
4378
4375
  # @param [Hash] opts the optional parameters
4379
4376
  # @return [Array<(Settings, Integer, Hash)>] Settings data, response status code and response headers
@@ -4432,7 +4429,7 @@ module XeroRuby
4432
4429
  return data, status_code, headers
4433
4430
  end
4434
4431
 
4435
- # retrieve a summary of statutory leaves for an employee
4432
+ # Retrieves a specific employee's summary of statutory leaves using a unique employee ID
4436
4433
  # @param xero_tenant_id [String] Xero identifier for Tenant
4437
4434
  # @param employee_id [String] Employee id for single object
4438
4435
  # @param [Hash] opts the optional parameters
@@ -4443,7 +4440,7 @@ module XeroRuby
4443
4440
  data
4444
4441
  end
4445
4442
 
4446
- # retrieve a summary of statutory leaves for an employee
4443
+ # Retrieves a specific employee&#39;s summary of statutory leaves using a unique employee ID
4447
4444
  # @param xero_tenant_id [String] Xero identifier for Tenant
4448
4445
  # @param employee_id [String] Employee id for single object
4449
4446
  # @param [Hash] opts the optional parameters
@@ -4462,7 +4459,7 @@ module XeroRuby
4462
4459
  fail ArgumentError, "Missing the required parameter 'employee_id' when calling PayrollUkApi.get_statutory_leave_summary"
4463
4460
  end
4464
4461
  # resource path
4465
- local_var_path = '/statutoryleaves/summary/{EmployeeId}'.sub('{' + 'EmployeeId' + '}', employee_id.to_s)
4462
+ local_var_path = '/StatutoryLeaves/Summary/{EmployeeID}'.sub('{' + 'EmployeeID' + '}', employee_id.to_s)
4466
4463
 
4467
4464
  # camelize keys of incoming `where` opts
4468
4465
  opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
@@ -4509,7 +4506,7 @@ module XeroRuby
4509
4506
  return data, status_code, headers
4510
4507
  end
4511
4508
 
4512
- # retrieve a single timesheet by id
4509
+ # Retrieve a specific timesheet by using a unique timesheet ID
4513
4510
  # @param xero_tenant_id [String] Xero identifier for Tenant
4514
4511
  # @param timesheet_id [String] Identifier for the timesheet
4515
4512
  # @param [Hash] opts the optional parameters
@@ -4519,7 +4516,7 @@ module XeroRuby
4519
4516
  data
4520
4517
  end
4521
4518
 
4522
- # retrieve a single timesheet by id
4519
+ # Retrieve a specific timesheet by using a unique timesheet ID
4523
4520
  # @param xero_tenant_id [String] Xero identifier for Tenant
4524
4521
  # @param timesheet_id [String] Identifier for the timesheet
4525
4522
  # @param [Hash] opts the optional parameters
@@ -4583,24 +4580,22 @@ module XeroRuby
4583
4580
  return data, status_code, headers
4584
4581
  end
4585
4582
 
4586
- # searches timesheets
4583
+ # Retrieves timesheets
4587
4584
  # @param xero_tenant_id [String] Xero identifier for Tenant
4588
4585
  # @param [Hash] opts the optional parameters
4589
4586
  # @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.
4590
- # @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.
4591
- # @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
4587
+ # @option opts [String] :filter Filter by first name and/or lastname
4592
4588
  # @return [Timesheets]
4593
4589
  def get_timesheets(xero_tenant_id, opts = {})
4594
4590
  data, _status_code, _headers = get_timesheets_with_http_info(xero_tenant_id, opts)
4595
4591
  data
4596
4592
  end
4597
4593
 
4598
- # searches timesheets
4594
+ # Retrieves timesheets
4599
4595
  # @param xero_tenant_id [String] Xero identifier for Tenant
4600
4596
  # @param [Hash] opts the optional parameters
4601
4597
  # @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.
4602
- # @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.
4603
- # @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
4598
+ # @option opts [String] :filter Filter by first name and/or lastname
4604
4599
  # @return [Array<(Timesheets, Integer, Hash)>] Timesheets data, response status code and response headers
4605
4600
  def get_timesheets_with_http_info(xero_tenant_id, opts = {})
4606
4601
  if @api_client.config.debugging
@@ -4619,8 +4614,7 @@ module XeroRuby
4619
4614
  # query parameters
4620
4615
  query_params = opts[:query_params] || {}
4621
4616
  query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
4622
- query_params[:'employeeId'] = opts[:'employee_id'] if !opts[:'employee_id'].nil?
4623
- query_params[:'payrollCalendarId'] = opts[:'payroll_calendar_id'] if !opts[:'payroll_calendar_id'].nil?
4617
+ query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
4624
4618
 
4625
4619
  # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
4626
4620
  query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
@@ -4660,7 +4654,7 @@ module XeroRuby
4660
4654
  return data, status_code, headers
4661
4655
  end
4662
4656
 
4663
- # searches tracking categories
4657
+ # Retrieves tracking categories
4664
4658
  # @param xero_tenant_id [String] Xero identifier for Tenant
4665
4659
  # @param [Hash] opts the optional parameters
4666
4660
  # @return [TrackingCategories]
@@ -4669,7 +4663,7 @@ module XeroRuby
4669
4663
  data
4670
4664
  end
4671
4665
 
4672
- # searches tracking categories
4666
+ # Retrieves tracking categories
4673
4667
  # @param xero_tenant_id [String] Xero identifier for Tenant
4674
4668
  # @param [Hash] opts the optional parameters
4675
4669
  # @return [Array<(TrackingCategories, Integer, Hash)>] TrackingCategories data, response status code and response headers
@@ -4682,7 +4676,7 @@ module XeroRuby
4682
4676
  fail ArgumentError, "Missing the required parameter 'xero_tenant_id' when calling PayrollUkApi.get_tracking_categories"
4683
4677
  end
4684
4678
  # resource path
4685
- local_var_path = '/settings/trackingCategories'
4679
+ local_var_path = '/Settings/trackingCategories'
4686
4680
 
4687
4681
  # camelize keys of incoming `where` opts
4688
4682
  opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
@@ -4728,7 +4722,7 @@ module XeroRuby
4728
4722
  return data, status_code, headers
4729
4723
  end
4730
4724
 
4731
- # revert a timesheet to draft
4725
+ # Reverts a specific timesheet to draft
4732
4726
  # @param xero_tenant_id [String] Xero identifier for Tenant
4733
4727
  # @param timesheet_id [String] Identifier for the timesheet
4734
4728
  # @param [Hash] opts the optional parameters
@@ -4738,7 +4732,7 @@ module XeroRuby
4738
4732
  data
4739
4733
  end
4740
4734
 
4741
- # revert a timesheet to draft
4735
+ # Reverts a specific timesheet to draft
4742
4736
  # @param xero_tenant_id [String] Xero identifier for Tenant
4743
4737
  # @param timesheet_id [String] Identifier for the timesheet
4744
4738
  # @param [Hash] opts the optional parameters
@@ -4802,7 +4796,7 @@ module XeroRuby
4802
4796
  return data, status_code, headers
4803
4797
  end
4804
4798
 
4805
- # updates employee
4799
+ # Updates a specific employee's detail
4806
4800
  # @param xero_tenant_id [String] Xero identifier for Tenant
4807
4801
  # @param employee_id [String] Employee id for single object
4808
4802
  # @param employee [Employee]
@@ -4813,7 +4807,7 @@ module XeroRuby
4813
4807
  data
4814
4808
  end
4815
4809
 
4816
- # updates employee
4810
+ # Updates a specific employee&#39;s detail
4817
4811
  # @param xero_tenant_id [String] Xero identifier for Tenant
4818
4812
  # @param employee_id [String] Employee id for single object
4819
4813
  # @param employee [Employee]
@@ -4836,7 +4830,7 @@ module XeroRuby
4836
4830
  fail ArgumentError, "Missing the required parameter 'employee' when calling PayrollUkApi.update_employee"
4837
4831
  end
4838
4832
  # resource path
4839
- local_var_path = '/Employees/{EmployeeId}'.sub('{' + 'EmployeeId' + '}', employee_id.to_s)
4833
+ local_var_path = '/Employees/{EmployeeID}'.sub('{' + 'EmployeeID' + '}', employee_id.to_s)
4840
4834
 
4841
4835
  # camelize keys of incoming `where` opts
4842
4836
  opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
@@ -4884,7 +4878,7 @@ module XeroRuby
4884
4878
  return data, status_code, headers
4885
4879
  end
4886
4880
 
4887
- # updates employee earnings template records
4881
+ # Updates a specific employee's earnings template records
4888
4882
  # @param xero_tenant_id [String] Xero identifier for Tenant
4889
4883
  # @param employee_id [String] Employee id for single object
4890
4884
  # @param pay_template_earning_id [String] Id for single pay template earnings object
@@ -4896,7 +4890,7 @@ module XeroRuby
4896
4890
  data
4897
4891
  end
4898
4892
 
4899
- # updates employee earnings template records
4893
+ # Updates a specific employee&#39;s earnings template records
4900
4894
  # @param xero_tenant_id [String] Xero identifier for Tenant
4901
4895
  # @param employee_id [String] Employee id for single object
4902
4896
  # @param pay_template_earning_id [String] Id for single pay template earnings object
@@ -4924,7 +4918,7 @@ module XeroRuby
4924
4918
  fail ArgumentError, "Missing the required parameter 'earnings_template' when calling PayrollUkApi.update_employee_earnings_template"
4925
4919
  end
4926
4920
  # resource path
4927
- local_var_path = '/Employees/{EmployeeId}/PayTemplates/earnings/{PayTemplateEarningID}'.sub('{' + 'EmployeeId' + '}', employee_id.to_s).sub('{' + 'PayTemplateEarningID' + '}', pay_template_earning_id.to_s)
4921
+ local_var_path = '/Employees/{EmployeeID}/PayTemplates/earnings/{PayTemplateEarningID}'.sub('{' + 'EmployeeID' + '}', employee_id.to_s).sub('{' + 'PayTemplateEarningID' + '}', pay_template_earning_id.to_s)
4928
4922
 
4929
4923
  # camelize keys of incoming `where` opts
4930
4924
  opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
@@ -4972,7 +4966,7 @@ module XeroRuby
4972
4966
  return data, status_code, headers
4973
4967
  end
4974
4968
 
4975
- # updates employee leave records
4969
+ # Updates a specific employee's leave records
4976
4970
  # @param xero_tenant_id [String] Xero identifier for Tenant
4977
4971
  # @param employee_id [String] Employee id for single object
4978
4972
  # @param leave_id [String] Leave id for single object
@@ -4984,7 +4978,7 @@ module XeroRuby
4984
4978
  data
4985
4979
  end
4986
4980
 
4987
- # updates employee leave records
4981
+ # Updates a specific employee&#39;s leave records
4988
4982
  # @param xero_tenant_id [String] Xero identifier for Tenant
4989
4983
  # @param employee_id [String] Employee id for single object
4990
4984
  # @param leave_id [String] Leave id for single object
@@ -5012,7 +5006,7 @@ module XeroRuby
5012
5006
  fail ArgumentError, "Missing the required parameter 'employee_leave' when calling PayrollUkApi.update_employee_leave"
5013
5007
  end
5014
5008
  # resource path
5015
- local_var_path = '/Employees/{EmployeeId}/Leave/{LeaveID}'.sub('{' + 'EmployeeId' + '}', employee_id.to_s).sub('{' + 'LeaveID' + '}', leave_id.to_s)
5009
+ local_var_path = '/Employees/{EmployeeID}/Leave/{LeaveID}'.sub('{' + 'EmployeeID' + '}', employee_id.to_s).sub('{' + 'LeaveID' + '}', leave_id.to_s)
5016
5010
 
5017
5011
  # camelize keys of incoming `where` opts
5018
5012
  opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
@@ -5060,7 +5054,7 @@ module XeroRuby
5060
5054
  return data, status_code, headers
5061
5055
  end
5062
5056
 
5063
- # updates employee opening balances
5057
+ # Updates a specific employee's opening balances
5064
5058
  # @param xero_tenant_id [String] Xero identifier for Tenant
5065
5059
  # @param employee_id [String] Employee id for single object
5066
5060
  # @param employee_opening_balances [EmployeeOpeningBalances]
@@ -5071,7 +5065,7 @@ module XeroRuby
5071
5065
  data
5072
5066
  end
5073
5067
 
5074
- # updates employee opening balances
5068
+ # Updates a specific employee&#39;s opening balances
5075
5069
  # @param xero_tenant_id [String] Xero identifier for Tenant
5076
5070
  # @param employee_id [String] Employee id for single object
5077
5071
  # @param employee_opening_balances [EmployeeOpeningBalances]
@@ -5094,7 +5088,7 @@ module XeroRuby
5094
5088
  fail ArgumentError, "Missing the required parameter 'employee_opening_balances' when calling PayrollUkApi.update_employee_opening_balances"
5095
5089
  end
5096
5090
  # resource path
5097
- local_var_path = '/Employees/{EmployeeId}/ukopeningbalances'.sub('{' + 'EmployeeId' + '}', employee_id.to_s)
5091
+ local_var_path = '/Employees/{EmployeeID}/ukopeningbalances'.sub('{' + 'EmployeeID' + '}', employee_id.to_s)
5098
5092
 
5099
5093
  # camelize keys of incoming `where` opts
5100
5094
  opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
@@ -5142,7 +5136,7 @@ module XeroRuby
5142
5136
  return data, status_code, headers
5143
5137
  end
5144
5138
 
5145
- # updates employee salary and wages record
5139
+ # Updates salary and wages record for a specific employee
5146
5140
  # @param xero_tenant_id [String] Xero identifier for Tenant
5147
5141
  # @param employee_id [String] Employee id for single object
5148
5142
  # @param salary_and_wages_id [String] Id for single pay template earnings object
@@ -5154,7 +5148,7 @@ module XeroRuby
5154
5148
  data
5155
5149
  end
5156
5150
 
5157
- # updates employee salary and wages record
5151
+ # Updates salary and wages record for a specific employee
5158
5152
  # @param xero_tenant_id [String] Xero identifier for Tenant
5159
5153
  # @param employee_id [String] Employee id for single object
5160
5154
  # @param salary_and_wages_id [String] Id for single pay template earnings object
@@ -5182,7 +5176,7 @@ module XeroRuby
5182
5176
  fail ArgumentError, "Missing the required parameter 'salary_and_wage' when calling PayrollUkApi.update_employee_salary_and_wage"
5183
5177
  end
5184
5178
  # resource path
5185
- local_var_path = '/Employees/{EmployeeId}/SalaryAndWages/{SalaryAndWagesID}'.sub('{' + 'EmployeeId' + '}', employee_id.to_s).sub('{' + 'SalaryAndWagesID' + '}', salary_and_wages_id.to_s)
5179
+ local_var_path = '/Employees/{EmployeeID}/SalaryAndWages/{SalaryAndWagesID}'.sub('{' + 'EmployeeID' + '}', employee_id.to_s).sub('{' + 'SalaryAndWagesID' + '}', salary_and_wages_id.to_s)
5186
5180
 
5187
5181
  # camelize keys of incoming `where` opts
5188
5182
  opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
@@ -5230,7 +5224,7 @@ module XeroRuby
5230
5224
  return data, status_code, headers
5231
5225
  end
5232
5226
 
5233
- # update a pay run
5227
+ # Updates a specific pay run
5234
5228
  # @param xero_tenant_id [String] Xero identifier for Tenant
5235
5229
  # @param pay_run_id [String] Identifier for the pay run
5236
5230
  # @param pay_run [PayRun]
@@ -5241,7 +5235,7 @@ module XeroRuby
5241
5235
  data
5242
5236
  end
5243
5237
 
5244
- # update a pay run
5238
+ # Updates a specific pay run
5245
5239
  # @param xero_tenant_id [String] Xero identifier for Tenant
5246
5240
  # @param pay_run_id [String] Identifier for the pay run
5247
5241
  # @param pay_run [PayRun]
@@ -5312,7 +5306,7 @@ module XeroRuby
5312
5306
  return data, status_code, headers
5313
5307
  end
5314
5308
 
5315
- # update a timesheet line
5309
+ # Updates a specific timesheet line for a specific timesheet
5316
5310
  # @param xero_tenant_id [String] Xero identifier for Tenant
5317
5311
  # @param timesheet_id [String] Identifier for the timesheet
5318
5312
  # @param timesheet_line_id [String] Identifier for the timesheet line
@@ -5324,7 +5318,7 @@ module XeroRuby
5324
5318
  data
5325
5319
  end
5326
5320
 
5327
- # update a timesheet line
5321
+ # Updates a specific timesheet line for a specific timesheet
5328
5322
  # @param xero_tenant_id [String] Xero identifier for Tenant
5329
5323
  # @param timesheet_id [String] Identifier for the timesheet
5330
5324
  # @param timesheet_line_id [String] Identifier for the timesheet line