xero-ruby 2.8.2 → 2.9.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 91ccbdaae622f0b53bfdc151848a3d007715f908a40011a43fee02b4b4fc5e94
4
- data.tar.gz: b33bdd7f93264219a7cc1f7f3b3395e9977a537c73b7735cec432ad7cae89de6
3
+ metadata.gz: c675f5570117bebac6707f82b0c2e45f96fd534ba4dbb8a2d2babc8adbdf1661
4
+ data.tar.gz: 810b2d8317158471ab824cb1a8cba37cd19f3f36a48096012953c2142c26452d
5
5
  SHA512:
6
- metadata.gz: 706da5b8834ea82840406d239472ad87f3b7b7ac6168f08e93ce9f2fea2f66b4a3ff473f74172fead3465b91113c99867bd1c5ca5da16159a284e11abdae26c7
7
- data.tar.gz: 249d873213e1e2cfec1d015ca0c112d9893a281ee71593f5cc6ebdda5e951dfe5ff9e742bd666d8f3a9b63b881347180db9e2e01e3ef22b2edcca7deff427c47
6
+ metadata.gz: eff76c0592c7bcdfb8f60b8b97407bb523d21b6ca3f9ad5e6c8c858bee3415c630a7ede34f50c2ed7d1b1717d349165cb751b4a56f6562c666d44f698a951f70
7
+ data.tar.gz: f46138e8871e805d640a456089c901b597656aee376c13099c5dc8bc28e610250c811742f6978fe56d4835e405f9bee66510276e8ed94e63074fd18e9d5557f1
data/README.md CHANGED
@@ -58,6 +58,12 @@ creds = {
58
58
  xero_client ||= XeroRuby::ApiClient.new(credentials: creds)
59
59
  ```
60
60
 
61
+ If you want additional logging or timeout, you can add/override any configuration option by passing the optional named parameter object `config`.
62
+ ```ruby
63
+ config = { timeout: 30, debugging: true }
64
+ @xero_client ||= XeroRuby::ApiClient.new(credentials: creds, config: config)
65
+ ```
66
+
61
67
  ## User Authorization & Callback
62
68
  All API requests require a valid access token to be set on the client.
63
69
 
@@ -338,8 +344,8 @@ The best resource to understanding how to best leverage this SDK is the sample a
338
344
  > https://github.com/XeroAPI/xero-ruby-oauth2-starter (Sinatra - simple getting started)
339
345
  > https://github.com/XeroAPI/xero-ruby-oauth2-app (Rails - full featured examples)
340
346
 
341
- ## Contributing
342
- Most of the repo code is auto generated but PR's on issues you encounter are highly encouraged. Xero maintainers will re-incorporate them back into the core SDK build. To develop this gem locally against your project you can use the following development pattern:
347
+ ## Developing locally
348
+ To develop this gem locally against your project you can use the following development pattern:
343
349
 
344
350
  > xero-ruby
345
351
  ```bash
@@ -358,3 +364,16 @@ bundle install
358
364
 
359
365
  ## Testing
360
366
  * `rspec spec/`
367
+
368
+ ## Participating in Xero’s developer community
369
+ This SDK is one of a number of SDK’s that the Xero Developer team builds and maintains. We are grateful for all the contributions that the community makes.
370
+
371
+ Here are a few things you should be aware of as a contributor:
372
+ * Xero has adopted the Contributor Covenant [Code of Conduct](https://github.com/XeroAPI/xero-ruby/blob/master/CODE_OF_CONDUCT.md), we expect all contributors in our community to adhere to it
373
+ * If you raise an issue then please make sure to fill out the github issue template, doing so helps us help you
374
+ * You’re welcome to raise PRs. As our SDKs are generated we may use your code in the core SDK build instead of merging your code
375
+ * We have a [contribution guide](https://github.com/XeroAPI/xero-ruby/blob/master/CONTRIBUTING.md) for you to follow when contributing to this SDK
376
+ * Curious about how we generate our SDK’s? Have a [read of our process](https://devblog.xero.com/building-sdks-for-the-future-b79ff726dfd6) and have a look at our [OpenAPISpec](https://github.com/XeroAPI/Xero-OpenAPI)
377
+ * This software is published under the [MIT License](https://github.com/XeroAPI/xero-ruby/blob/master/LICENSE)
378
+
379
+ For questions that aren’t related to SDKs please refer to our [developer support page](https://developer.xero.com/support/).
@@ -31,7 +31,8 @@ module XeroRuby
31
31
  # @param account [Account] Account object in body of request
32
32
  # @param [Hash] opts the optional parameters
33
33
  # @return [Array<(Accounts, Integer, Hash)>] Accounts data, response status code and response headers
34
- def create_account_with_http_info(xero_tenant_id, account, opts = {})
34
+ def create_account_with_http_info(xero_tenant_id, account, options = {})
35
+ opts = options.dup
35
36
  if @api_client.config.debugging
36
37
  @api_client.config.logger.debug 'Calling API: AccountingApi.create_account ...'
37
38
  end
@@ -111,7 +112,8 @@ module XeroRuby
111
112
  # @param body [String] Byte array of file in body of request
112
113
  # @param [Hash] opts the optional parameters
113
114
  # @return [Array<(Attachments, Integer, Hash)>] Attachments data, response status code and response headers
114
- def create_account_attachment_by_file_name_with_http_info(xero_tenant_id, account_id, file_name, body, opts = {})
115
+ def create_account_attachment_by_file_name_with_http_info(xero_tenant_id, account_id, file_name, body, options = {})
116
+ opts = options.dup
115
117
  if @api_client.config.debugging
116
118
  @api_client.config.logger.debug 'Calling API: AccountingApi.create_account_attachment_by_file_name ...'
117
119
  end
@@ -199,7 +201,8 @@ module XeroRuby
199
201
  # @param body [String] Byte array of file in body of request
200
202
  # @param [Hash] opts the optional parameters
201
203
  # @return [Array<(Attachments, Integer, Hash)>] Attachments data, response status code and response headers
202
- def create_bank_transaction_attachment_by_file_name_with_http_info(xero_tenant_id, bank_transaction_id, file_name, body, opts = {})
204
+ def create_bank_transaction_attachment_by_file_name_with_http_info(xero_tenant_id, bank_transaction_id, file_name, body, options = {})
205
+ opts = options.dup
203
206
  if @api_client.config.debugging
204
207
  @api_client.config.logger.debug 'Calling API: AccountingApi.create_bank_transaction_attachment_by_file_name ...'
205
208
  end
@@ -285,7 +288,8 @@ module XeroRuby
285
288
  # @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
286
289
  # @param [Hash] opts the optional parameters
287
290
  # @return [Array<(HistoryRecords, Integer, Hash)>] HistoryRecords data, response status code and response headers
288
- def create_bank_transaction_history_record_with_http_info(xero_tenant_id, bank_transaction_id, history_records, opts = {})
291
+ def create_bank_transaction_history_record_with_http_info(xero_tenant_id, bank_transaction_id, history_records, options = {})
292
+ opts = options.dup
289
293
  if @api_client.config.debugging
290
294
  @api_client.config.logger.debug 'Calling API: AccountingApi.create_bank_transaction_history_record ...'
291
295
  end
@@ -369,7 +373,8 @@ module XeroRuby
369
373
  # @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors
370
374
  # @option opts [Integer] :unitdp e.g. unitdp&#x3D;4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
371
375
  # @return [Array<(BankTransactions, Integer, Hash)>] BankTransactions data, response status code and response headers
372
- def create_bank_transactions_with_http_info(xero_tenant_id, bank_transactions, opts = {})
376
+ def create_bank_transactions_with_http_info(xero_tenant_id, bank_transactions, options = {})
377
+ opts = options.dup
373
378
  if @api_client.config.debugging
374
379
  @api_client.config.logger.debug 'Calling API: AccountingApi.create_bank_transactions ...'
375
380
  end
@@ -447,7 +452,8 @@ module XeroRuby
447
452
  # @param bank_transfers [BankTransfers] BankTransfers with array of BankTransfer objects in request body
448
453
  # @param [Hash] opts the optional parameters
449
454
  # @return [Array<(BankTransfers, Integer, Hash)>] BankTransfers data, response status code and response headers
450
- def create_bank_transfer_with_http_info(xero_tenant_id, bank_transfers, opts = {})
455
+ def create_bank_transfer_with_http_info(xero_tenant_id, bank_transfers, options = {})
456
+ opts = options.dup
451
457
  if @api_client.config.debugging
452
458
  @api_client.config.logger.debug 'Calling API: AccountingApi.create_bank_transfer ...'
453
459
  end
@@ -525,7 +531,8 @@ module XeroRuby
525
531
  # @param body [String] Byte array of file in body of request
526
532
  # @param [Hash] opts the optional parameters
527
533
  # @return [Array<(Attachments, Integer, Hash)>] Attachments data, response status code and response headers
528
- def create_bank_transfer_attachment_by_file_name_with_http_info(xero_tenant_id, bank_transfer_id, file_name, body, opts = {})
534
+ def create_bank_transfer_attachment_by_file_name_with_http_info(xero_tenant_id, bank_transfer_id, file_name, body, options = {})
535
+ opts = options.dup
529
536
  if @api_client.config.debugging
530
537
  @api_client.config.logger.debug 'Calling API: AccountingApi.create_bank_transfer_attachment_by_file_name ...'
531
538
  end
@@ -611,7 +618,8 @@ module XeroRuby
611
618
  # @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
612
619
  # @param [Hash] opts the optional parameters
613
620
  # @return [Array<(HistoryRecords, Integer, Hash)>] HistoryRecords data, response status code and response headers
614
- def create_bank_transfer_history_record_with_http_info(xero_tenant_id, bank_transfer_id, history_records, opts = {})
621
+ def create_bank_transfer_history_record_with_http_info(xero_tenant_id, bank_transfer_id, history_records, options = {})
622
+ opts = options.dup
615
623
  if @api_client.config.debugging
616
624
  @api_client.config.logger.debug 'Calling API: AccountingApi.create_bank_transfer_history_record ...'
617
625
  end
@@ -693,7 +701,8 @@ module XeroRuby
693
701
  # @param [Hash] opts the optional parameters
694
702
  # @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors
695
703
  # @return [Array<(BatchPayments, Integer, Hash)>] BatchPayments data, response status code and response headers
696
- def create_batch_payment_with_http_info(xero_tenant_id, batch_payments, opts = {})
704
+ def create_batch_payment_with_http_info(xero_tenant_id, batch_payments, options = {})
705
+ opts = options.dup
697
706
  if @api_client.config.debugging
698
707
  @api_client.config.logger.debug 'Calling API: AccountingApi.create_batch_payment ...'
699
708
  end
@@ -772,7 +781,8 @@ module XeroRuby
772
781
  # @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
773
782
  # @param [Hash] opts the optional parameters
774
783
  # @return [Array<(HistoryRecords, Integer, Hash)>] HistoryRecords data, response status code and response headers
775
- def create_batch_payment_history_record_with_http_info(xero_tenant_id, batch_payment_id, history_records, opts = {})
784
+ def create_batch_payment_history_record_with_http_info(xero_tenant_id, batch_payment_id, history_records, options = {})
785
+ opts = options.dup
776
786
  if @api_client.config.debugging
777
787
  @api_client.config.logger.debug 'Calling API: AccountingApi.create_batch_payment_history_record ...'
778
788
  end
@@ -854,7 +864,8 @@ module XeroRuby
854
864
  # @param payment_service [PaymentService] PaymentService object in body of request
855
865
  # @param [Hash] opts the optional parameters
856
866
  # @return [Array<(PaymentServices, Integer, Hash)>] PaymentServices data, response status code and response headers
857
- def create_branding_theme_payment_services_with_http_info(xero_tenant_id, branding_theme_id, payment_service, opts = {})
867
+ def create_branding_theme_payment_services_with_http_info(xero_tenant_id, branding_theme_id, payment_service, options = {})
868
+ opts = options.dup
858
869
  if @api_client.config.debugging
859
870
  @api_client.config.logger.debug 'Calling API: AccountingApi.create_branding_theme_payment_services ...'
860
871
  end
@@ -936,7 +947,8 @@ module XeroRuby
936
947
  # @param body [String] Byte array of file in body of request
937
948
  # @param [Hash] opts the optional parameters
938
949
  # @return [Array<(Attachments, Integer, Hash)>] Attachments data, response status code and response headers
939
- def create_contact_attachment_by_file_name_with_http_info(xero_tenant_id, contact_id, file_name, body, opts = {})
950
+ def create_contact_attachment_by_file_name_with_http_info(xero_tenant_id, contact_id, file_name, body, options = {})
951
+ opts = options.dup
940
952
  if @api_client.config.debugging
941
953
  @api_client.config.logger.debug 'Calling API: AccountingApi.create_contact_attachment_by_file_name ...'
942
954
  end
@@ -1020,7 +1032,8 @@ module XeroRuby
1020
1032
  # @param contact_groups [ContactGroups] ContactGroups with an array of names in request body
1021
1033
  # @param [Hash] opts the optional parameters
1022
1034
  # @return [Array<(ContactGroups, Integer, Hash)>] ContactGroups data, response status code and response headers
1023
- def create_contact_group_with_http_info(xero_tenant_id, contact_groups, opts = {})
1035
+ def create_contact_group_with_http_info(xero_tenant_id, contact_groups, options = {})
1036
+ opts = options.dup
1024
1037
  if @api_client.config.debugging
1025
1038
  @api_client.config.logger.debug 'Calling API: AccountingApi.create_contact_group ...'
1026
1039
  end
@@ -1098,7 +1111,8 @@ module XeroRuby
1098
1111
  # @param contacts [Contacts] Contacts with array of contacts specifying the ContactID to be added to ContactGroup in body of request
1099
1112
  # @param [Hash] opts the optional parameters
1100
1113
  # @return [Array<(Contacts, Integer, Hash)>] Contacts data, response status code and response headers
1101
- def create_contact_group_contacts_with_http_info(xero_tenant_id, contact_group_id, contacts, opts = {})
1114
+ def create_contact_group_contacts_with_http_info(xero_tenant_id, contact_group_id, contacts, options = {})
1115
+ opts = options.dup
1102
1116
  if @api_client.config.debugging
1103
1117
  @api_client.config.logger.debug 'Calling API: AccountingApi.create_contact_group_contacts ...'
1104
1118
  end
@@ -1180,7 +1194,8 @@ module XeroRuby
1180
1194
  # @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
1181
1195
  # @param [Hash] opts the optional parameters
1182
1196
  # @return [Array<(HistoryRecords, Integer, Hash)>] HistoryRecords data, response status code and response headers
1183
- def create_contact_history_with_http_info(xero_tenant_id, contact_id, history_records, opts = {})
1197
+ def create_contact_history_with_http_info(xero_tenant_id, contact_id, history_records, options = {})
1198
+ opts = options.dup
1184
1199
  if @api_client.config.debugging
1185
1200
  @api_client.config.logger.debug 'Calling API: AccountingApi.create_contact_history ...'
1186
1201
  end
@@ -1262,7 +1277,8 @@ module XeroRuby
1262
1277
  # @param [Hash] opts the optional parameters
1263
1278
  # @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors
1264
1279
  # @return [Array<(Contacts, Integer, Hash)>] Contacts data, response status code and response headers
1265
- def create_contacts_with_http_info(xero_tenant_id, contacts, opts = {})
1280
+ def create_contacts_with_http_info(xero_tenant_id, contacts, options = {})
1281
+ opts = options.dup
1266
1282
  if @api_client.config.debugging
1267
1283
  @api_client.config.logger.debug 'Calling API: AccountingApi.create_contacts ...'
1268
1284
  end
@@ -1343,7 +1359,8 @@ module XeroRuby
1343
1359
  # @param [Hash] opts the optional parameters
1344
1360
  # @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors
1345
1361
  # @return [Array<(Allocations, Integer, Hash)>] Allocations data, response status code and response headers
1346
- def create_credit_note_allocation_with_http_info(xero_tenant_id, credit_note_id, allocations, opts = {})
1362
+ def create_credit_note_allocation_with_http_info(xero_tenant_id, credit_note_id, allocations, options = {})
1363
+ opts = options.dup
1347
1364
  if @api_client.config.debugging
1348
1365
  @api_client.config.logger.debug 'Calling API: AccountingApi.create_credit_note_allocation ...'
1349
1366
  end
@@ -1430,7 +1447,8 @@ module XeroRuby
1430
1447
  # @param [Hash] opts the optional parameters
1431
1448
  # @option opts [Boolean] :include_online Allows an attachment to be seen by the end customer within their online invoice
1432
1449
  # @return [Array<(Attachments, Integer, Hash)>] Attachments data, response status code and response headers
1433
- def create_credit_note_attachment_by_file_name_with_http_info(xero_tenant_id, credit_note_id, file_name, body, opts = {})
1450
+ def create_credit_note_attachment_by_file_name_with_http_info(xero_tenant_id, credit_note_id, file_name, body, options = {})
1451
+ opts = options.dup
1434
1452
  if @api_client.config.debugging
1435
1453
  @api_client.config.logger.debug 'Calling API: AccountingApi.create_credit_note_attachment_by_file_name ...'
1436
1454
  end
@@ -1517,7 +1535,8 @@ module XeroRuby
1517
1535
  # @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
1518
1536
  # @param [Hash] opts the optional parameters
1519
1537
  # @return [Array<(HistoryRecords, Integer, Hash)>] HistoryRecords data, response status code and response headers
1520
- def create_credit_note_history_with_http_info(xero_tenant_id, credit_note_id, history_records, opts = {})
1538
+ def create_credit_note_history_with_http_info(xero_tenant_id, credit_note_id, history_records, options = {})
1539
+ opts = options.dup
1521
1540
  if @api_client.config.debugging
1522
1541
  @api_client.config.logger.debug 'Calling API: AccountingApi.create_credit_note_history ...'
1523
1542
  end
@@ -1601,7 +1620,8 @@ module XeroRuby
1601
1620
  # @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors
1602
1621
  # @option opts [Integer] :unitdp e.g. unitdp&#x3D;4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
1603
1622
  # @return [Array<(CreditNotes, Integer, Hash)>] CreditNotes data, response status code and response headers
1604
- def create_credit_notes_with_http_info(xero_tenant_id, credit_notes, opts = {})
1623
+ def create_credit_notes_with_http_info(xero_tenant_id, credit_notes, options = {})
1624
+ opts = options.dup
1605
1625
  if @api_client.config.debugging
1606
1626
  @api_client.config.logger.debug 'Calling API: AccountingApi.create_credit_notes ...'
1607
1627
  end
@@ -1679,7 +1699,8 @@ module XeroRuby
1679
1699
  # @param currency [Currency] Currency object in the body of request
1680
1700
  # @param [Hash] opts the optional parameters
1681
1701
  # @return [Array<(Currencies, Integer, Hash)>] Currencies data, response status code and response headers
1682
- def create_currency_with_http_info(xero_tenant_id, currency, opts = {})
1702
+ def create_currency_with_http_info(xero_tenant_id, currency, options = {})
1703
+ opts = options.dup
1683
1704
  if @api_client.config.debugging
1684
1705
  @api_client.config.logger.debug 'Calling API: AccountingApi.create_currency ...'
1685
1706
  end
@@ -1757,7 +1778,8 @@ module XeroRuby
1757
1778
  # @param [Hash] opts the optional parameters
1758
1779
  # @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors
1759
1780
  # @return [Array<(Employees, Integer, Hash)>] Employees data, response status code and response headers
1760
- def create_employees_with_http_info(xero_tenant_id, employees, opts = {})
1781
+ def create_employees_with_http_info(xero_tenant_id, employees, options = {})
1782
+ opts = options.dup
1761
1783
  if @api_client.config.debugging
1762
1784
  @api_client.config.logger.debug 'Calling API: AccountingApi.create_employees ...'
1763
1785
  end
@@ -1836,7 +1858,8 @@ module XeroRuby
1836
1858
  # @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
1837
1859
  # @param [Hash] opts the optional parameters
1838
1860
  # @return [Array<(HistoryRecords, Integer, Hash)>] HistoryRecords data, response status code and response headers
1839
- def create_expense_claim_history_with_http_info(xero_tenant_id, expense_claim_id, history_records, opts = {})
1861
+ def create_expense_claim_history_with_http_info(xero_tenant_id, expense_claim_id, history_records, options = {})
1862
+ opts = options.dup
1840
1863
  if @api_client.config.debugging
1841
1864
  @api_client.config.logger.debug 'Calling API: AccountingApi.create_expense_claim_history ...'
1842
1865
  end
@@ -1916,7 +1939,8 @@ module XeroRuby
1916
1939
  # @param expense_claims [ExpenseClaims] ExpenseClaims with array of ExpenseClaim object in body of request
1917
1940
  # @param [Hash] opts the optional parameters
1918
1941
  # @return [Array<(ExpenseClaims, Integer, Hash)>] ExpenseClaims data, response status code and response headers
1919
- def create_expense_claims_with_http_info(xero_tenant_id, expense_claims, opts = {})
1942
+ def create_expense_claims_with_http_info(xero_tenant_id, expense_claims, options = {})
1943
+ opts = options.dup
1920
1944
  if @api_client.config.debugging
1921
1945
  @api_client.config.logger.debug 'Calling API: AccountingApi.create_expense_claims ...'
1922
1946
  end
@@ -1998,7 +2022,8 @@ module XeroRuby
1998
2022
  # @param [Hash] opts the optional parameters
1999
2023
  # @option opts [Boolean] :include_online Allows an attachment to be seen by the end customer within their online invoice
2000
2024
  # @return [Array<(Attachments, Integer, Hash)>] Attachments data, response status code and response headers
2001
- def create_invoice_attachment_by_file_name_with_http_info(xero_tenant_id, invoice_id, file_name, body, opts = {})
2025
+ def create_invoice_attachment_by_file_name_with_http_info(xero_tenant_id, invoice_id, file_name, body, options = {})
2026
+ opts = options.dup
2002
2027
  if @api_client.config.debugging
2003
2028
  @api_client.config.logger.debug 'Calling API: AccountingApi.create_invoice_attachment_by_file_name ...'
2004
2029
  end
@@ -2085,7 +2110,8 @@ module XeroRuby
2085
2110
  # @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
2086
2111
  # @param [Hash] opts the optional parameters
2087
2112
  # @return [Array<(HistoryRecords, Integer, Hash)>] HistoryRecords data, response status code and response headers
2088
- def create_invoice_history_with_http_info(xero_tenant_id, invoice_id, history_records, opts = {})
2113
+ def create_invoice_history_with_http_info(xero_tenant_id, invoice_id, history_records, options = {})
2114
+ opts = options.dup
2089
2115
  if @api_client.config.debugging
2090
2116
  @api_client.config.logger.debug 'Calling API: AccountingApi.create_invoice_history ...'
2091
2117
  end
@@ -2169,7 +2195,8 @@ module XeroRuby
2169
2195
  # @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors
2170
2196
  # @option opts [Integer] :unitdp e.g. unitdp&#x3D;4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
2171
2197
  # @return [Array<(Invoices, Integer, Hash)>] Invoices data, response status code and response headers
2172
- def create_invoices_with_http_info(xero_tenant_id, invoices, opts = {})
2198
+ def create_invoices_with_http_info(xero_tenant_id, invoices, options = {})
2199
+ opts = options.dup
2173
2200
  if @api_client.config.debugging
2174
2201
  @api_client.config.logger.debug 'Calling API: AccountingApi.create_invoices ...'
2175
2202
  end
@@ -2249,7 +2276,8 @@ module XeroRuby
2249
2276
  # @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
2250
2277
  # @param [Hash] opts the optional parameters
2251
2278
  # @return [Array<(HistoryRecords, Integer, Hash)>] HistoryRecords data, response status code and response headers
2252
- def create_item_history_with_http_info(xero_tenant_id, item_id, history_records, opts = {})
2279
+ def create_item_history_with_http_info(xero_tenant_id, item_id, history_records, options = {})
2280
+ opts = options.dup
2253
2281
  if @api_client.config.debugging
2254
2282
  @api_client.config.logger.debug 'Calling API: AccountingApi.create_item_history ...'
2255
2283
  end
@@ -2333,7 +2361,8 @@ module XeroRuby
2333
2361
  # @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors
2334
2362
  # @option opts [Integer] :unitdp e.g. unitdp&#x3D;4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
2335
2363
  # @return [Array<(Items, Integer, Hash)>] Items data, response status code and response headers
2336
- def create_items_with_http_info(xero_tenant_id, items, opts = {})
2364
+ def create_items_with_http_info(xero_tenant_id, items, options = {})
2365
+ opts = options.dup
2337
2366
  if @api_client.config.debugging
2338
2367
  @api_client.config.logger.debug 'Calling API: AccountingApi.create_items ...'
2339
2368
  end
@@ -2411,7 +2440,8 @@ module XeroRuby
2411
2440
  # @param linked_transaction [LinkedTransaction] LinkedTransaction object in body of request
2412
2441
  # @param [Hash] opts the optional parameters
2413
2442
  # @return [Array<(LinkedTransactions, Integer, Hash)>] LinkedTransactions data, response status code and response headers
2414
- def create_linked_transaction_with_http_info(xero_tenant_id, linked_transaction, opts = {})
2443
+ def create_linked_transaction_with_http_info(xero_tenant_id, linked_transaction, options = {})
2444
+ opts = options.dup
2415
2445
  if @api_client.config.debugging
2416
2446
  @api_client.config.logger.debug 'Calling API: AccountingApi.create_linked_transaction ...'
2417
2447
  end
@@ -2491,7 +2521,8 @@ module XeroRuby
2491
2521
  # @param body [String] Byte array of file in body of request
2492
2522
  # @param [Hash] opts the optional parameters
2493
2523
  # @return [Array<(Attachments, Integer, Hash)>] Attachments data, response status code and response headers
2494
- def create_manual_journal_attachment_by_file_name_with_http_info(xero_tenant_id, manual_journal_id, file_name, body, opts = {})
2524
+ def create_manual_journal_attachment_by_file_name_with_http_info(xero_tenant_id, manual_journal_id, file_name, body, options = {})
2525
+ opts = options.dup
2495
2526
  if @api_client.config.debugging
2496
2527
  @api_client.config.logger.debug 'Calling API: AccountingApi.create_manual_journal_attachment_by_file_name ...'
2497
2528
  end
@@ -2577,7 +2608,8 @@ module XeroRuby
2577
2608
  # @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
2578
2609
  # @param [Hash] opts the optional parameters
2579
2610
  # @return [Array<(HistoryRecords, Integer, Hash)>] HistoryRecords data, response status code and response headers
2580
- def create_manual_journal_history_record_with_http_info(xero_tenant_id, manual_journal_id, history_records, opts = {})
2611
+ def create_manual_journal_history_record_with_http_info(xero_tenant_id, manual_journal_id, history_records, options = {})
2612
+ opts = options.dup
2581
2613
  if @api_client.config.debugging
2582
2614
  @api_client.config.logger.debug 'Calling API: AccountingApi.create_manual_journal_history_record ...'
2583
2615
  end
@@ -2659,7 +2691,8 @@ module XeroRuby
2659
2691
  # @param [Hash] opts the optional parameters
2660
2692
  # @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors
2661
2693
  # @return [Array<(ManualJournals, Integer, Hash)>] ManualJournals data, response status code and response headers
2662
- def create_manual_journals_with_http_info(xero_tenant_id, manual_journals, opts = {})
2694
+ def create_manual_journals_with_http_info(xero_tenant_id, manual_journals, options = {})
2695
+ opts = options.dup
2663
2696
  if @api_client.config.debugging
2664
2697
  @api_client.config.logger.debug 'Calling API: AccountingApi.create_manual_journals ...'
2665
2698
  end
@@ -2740,7 +2773,8 @@ module XeroRuby
2740
2773
  # @param [Hash] opts the optional parameters
2741
2774
  # @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors
2742
2775
  # @return [Array<(Allocations, Integer, Hash)>] Allocations data, response status code and response headers
2743
- def create_overpayment_allocations_with_http_info(xero_tenant_id, overpayment_id, allocations, opts = {})
2776
+ def create_overpayment_allocations_with_http_info(xero_tenant_id, overpayment_id, allocations, options = {})
2777
+ opts = options.dup
2744
2778
  if @api_client.config.debugging
2745
2779
  @api_client.config.logger.debug 'Calling API: AccountingApi.create_overpayment_allocations ...'
2746
2780
  end
@@ -2823,7 +2857,8 @@ module XeroRuby
2823
2857
  # @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
2824
2858
  # @param [Hash] opts the optional parameters
2825
2859
  # @return [Array<(HistoryRecords, Integer, Hash)>] HistoryRecords data, response status code and response headers
2826
- def create_overpayment_history_with_http_info(xero_tenant_id, overpayment_id, history_records, opts = {})
2860
+ def create_overpayment_history_with_http_info(xero_tenant_id, overpayment_id, history_records, options = {})
2861
+ opts = options.dup
2827
2862
  if @api_client.config.debugging
2828
2863
  @api_client.config.logger.debug 'Calling API: AccountingApi.create_overpayment_history ...'
2829
2864
  end
@@ -2903,7 +2938,8 @@ module XeroRuby
2903
2938
  # @param payment [Payment] Request body with a single Payment object
2904
2939
  # @param [Hash] opts the optional parameters
2905
2940
  # @return [Array<(Payments, Integer, Hash)>] Payments data, response status code and response headers
2906
- def create_payment_with_http_info(xero_tenant_id, payment, opts = {})
2941
+ def create_payment_with_http_info(xero_tenant_id, payment, options = {})
2942
+ opts = options.dup
2907
2943
  if @api_client.config.debugging
2908
2944
  @api_client.config.logger.debug 'Calling API: AccountingApi.create_payment ...'
2909
2945
  end
@@ -2981,7 +3017,8 @@ module XeroRuby
2981
3017
  # @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
2982
3018
  # @param [Hash] opts the optional parameters
2983
3019
  # @return [Array<(HistoryRecords, Integer, Hash)>] HistoryRecords data, response status code and response headers
2984
- def create_payment_history_with_http_info(xero_tenant_id, payment_id, history_records, opts = {})
3020
+ def create_payment_history_with_http_info(xero_tenant_id, payment_id, history_records, options = {})
3021
+ opts = options.dup
2985
3022
  if @api_client.config.debugging
2986
3023
  @api_client.config.logger.debug 'Calling API: AccountingApi.create_payment_history ...'
2987
3024
  end
@@ -3061,7 +3098,8 @@ module XeroRuby
3061
3098
  # @param payment_services [PaymentServices] PaymentServices array with PaymentService object in body of request
3062
3099
  # @param [Hash] opts the optional parameters
3063
3100
  # @return [Array<(PaymentServices, Integer, Hash)>] PaymentServices data, response status code and response headers
3064
- def create_payment_service_with_http_info(xero_tenant_id, payment_services, opts = {})
3101
+ def create_payment_service_with_http_info(xero_tenant_id, payment_services, options = {})
3102
+ opts = options.dup
3065
3103
  if @api_client.config.debugging
3066
3104
  @api_client.config.logger.debug 'Calling API: AccountingApi.create_payment_service ...'
3067
3105
  end
@@ -3139,7 +3177,8 @@ module XeroRuby
3139
3177
  # @param [Hash] opts the optional parameters
3140
3178
  # @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors
3141
3179
  # @return [Array<(Payments, Integer, Hash)>] Payments data, response status code and response headers
3142
- def create_payments_with_http_info(xero_tenant_id, payments, opts = {})
3180
+ def create_payments_with_http_info(xero_tenant_id, payments, options = {})
3181
+ opts = options.dup
3143
3182
  if @api_client.config.debugging
3144
3183
  @api_client.config.logger.debug 'Calling API: AccountingApi.create_payments ...'
3145
3184
  end
@@ -3220,7 +3259,8 @@ module XeroRuby
3220
3259
  # @param [Hash] opts the optional parameters
3221
3260
  # @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors
3222
3261
  # @return [Array<(Allocations, Integer, Hash)>] Allocations data, response status code and response headers
3223
- def create_prepayment_allocations_with_http_info(xero_tenant_id, prepayment_id, allocations, opts = {})
3262
+ def create_prepayment_allocations_with_http_info(xero_tenant_id, prepayment_id, allocations, options = {})
3263
+ opts = options.dup
3224
3264
  if @api_client.config.debugging
3225
3265
  @api_client.config.logger.debug 'Calling API: AccountingApi.create_prepayment_allocations ...'
3226
3266
  end
@@ -3303,7 +3343,8 @@ module XeroRuby
3303
3343
  # @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
3304
3344
  # @param [Hash] opts the optional parameters
3305
3345
  # @return [Array<(HistoryRecords, Integer, Hash)>] HistoryRecords data, response status code and response headers
3306
- def create_prepayment_history_with_http_info(xero_tenant_id, prepayment_id, history_records, opts = {})
3346
+ def create_prepayment_history_with_http_info(xero_tenant_id, prepayment_id, history_records, options = {})
3347
+ opts = options.dup
3307
3348
  if @api_client.config.debugging
3308
3349
  @api_client.config.logger.debug 'Calling API: AccountingApi.create_prepayment_history ...'
3309
3350
  end
@@ -3387,7 +3428,8 @@ module XeroRuby
3387
3428
  # @param body [String] Byte array of file in body of request
3388
3429
  # @param [Hash] opts the optional parameters
3389
3430
  # @return [Array<(Attachments, Integer, Hash)>] Attachments data, response status code and response headers
3390
- def create_purchase_order_attachment_by_file_name_with_http_info(xero_tenant_id, purchase_order_id, file_name, body, opts = {})
3431
+ def create_purchase_order_attachment_by_file_name_with_http_info(xero_tenant_id, purchase_order_id, file_name, body, options = {})
3432
+ opts = options.dup
3391
3433
  if @api_client.config.debugging
3392
3434
  @api_client.config.logger.debug 'Calling API: AccountingApi.create_purchase_order_attachment_by_file_name ...'
3393
3435
  end
@@ -3473,7 +3515,8 @@ module XeroRuby
3473
3515
  # @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
3474
3516
  # @param [Hash] opts the optional parameters
3475
3517
  # @return [Array<(HistoryRecords, Integer, Hash)>] HistoryRecords data, response status code and response headers
3476
- def create_purchase_order_history_with_http_info(xero_tenant_id, purchase_order_id, history_records, opts = {})
3518
+ def create_purchase_order_history_with_http_info(xero_tenant_id, purchase_order_id, history_records, options = {})
3519
+ opts = options.dup
3477
3520
  if @api_client.config.debugging
3478
3521
  @api_client.config.logger.debug 'Calling API: AccountingApi.create_purchase_order_history ...'
3479
3522
  end
@@ -3555,7 +3598,8 @@ module XeroRuby
3555
3598
  # @param [Hash] opts the optional parameters
3556
3599
  # @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors
3557
3600
  # @return [Array<(PurchaseOrders, Integer, Hash)>] PurchaseOrders data, response status code and response headers
3558
- def create_purchase_orders_with_http_info(xero_tenant_id, purchase_orders, opts = {})
3601
+ def create_purchase_orders_with_http_info(xero_tenant_id, purchase_orders, options = {})
3602
+ opts = options.dup
3559
3603
  if @api_client.config.debugging
3560
3604
  @api_client.config.logger.debug 'Calling API: AccountingApi.create_purchase_orders ...'
3561
3605
  end
@@ -3636,7 +3680,8 @@ module XeroRuby
3636
3680
  # @param body [String] Byte array of file in body of request
3637
3681
  # @param [Hash] opts the optional parameters
3638
3682
  # @return [Array<(Attachments, Integer, Hash)>] Attachments data, response status code and response headers
3639
- def create_quote_attachment_by_file_name_with_http_info(xero_tenant_id, quote_id, file_name, body, opts = {})
3683
+ def create_quote_attachment_by_file_name_with_http_info(xero_tenant_id, quote_id, file_name, body, options = {})
3684
+ opts = options.dup
3640
3685
  if @api_client.config.debugging
3641
3686
  @api_client.config.logger.debug 'Calling API: AccountingApi.create_quote_attachment_by_file_name ...'
3642
3687
  end
@@ -3722,7 +3767,8 @@ module XeroRuby
3722
3767
  # @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
3723
3768
  # @param [Hash] opts the optional parameters
3724
3769
  # @return [Array<(HistoryRecords, Integer, Hash)>] HistoryRecords data, response status code and response headers
3725
- def create_quote_history_with_http_info(xero_tenant_id, quote_id, history_records, opts = {})
3770
+ def create_quote_history_with_http_info(xero_tenant_id, quote_id, history_records, options = {})
3771
+ opts = options.dup
3726
3772
  if @api_client.config.debugging
3727
3773
  @api_client.config.logger.debug 'Calling API: AccountingApi.create_quote_history ...'
3728
3774
  end
@@ -3804,7 +3850,8 @@ module XeroRuby
3804
3850
  # @param [Hash] opts the optional parameters
3805
3851
  # @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors
3806
3852
  # @return [Array<(Quotes, Integer, Hash)>] Quotes data, response status code and response headers
3807
- def create_quotes_with_http_info(xero_tenant_id, quotes, opts = {})
3853
+ def create_quotes_with_http_info(xero_tenant_id, quotes, options = {})
3854
+ opts = options.dup
3808
3855
  if @api_client.config.debugging
3809
3856
  @api_client.config.logger.debug 'Calling API: AccountingApi.create_quotes ...'
3810
3857
  end
@@ -3883,7 +3930,8 @@ module XeroRuby
3883
3930
  # @param [Hash] opts the optional parameters
3884
3931
  # @option opts [Integer] :unitdp e.g. unitdp&#x3D;4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
3885
3932
  # @return [Array<(Receipts, Integer, Hash)>] Receipts data, response status code and response headers
3886
- def create_receipt_with_http_info(xero_tenant_id, receipts, opts = {})
3933
+ def create_receipt_with_http_info(xero_tenant_id, receipts, options = {})
3934
+ opts = options.dup
3887
3935
  if @api_client.config.debugging
3888
3936
  @api_client.config.logger.debug 'Calling API: AccountingApi.create_receipt ...'
3889
3937
  end
@@ -3964,7 +4012,8 @@ module XeroRuby
3964
4012
  # @param body [String] Byte array of file in body of request
3965
4013
  # @param [Hash] opts the optional parameters
3966
4014
  # @return [Array<(Attachments, Integer, Hash)>] Attachments data, response status code and response headers
3967
- def create_receipt_attachment_by_file_name_with_http_info(xero_tenant_id, receipt_id, file_name, body, opts = {})
4015
+ def create_receipt_attachment_by_file_name_with_http_info(xero_tenant_id, receipt_id, file_name, body, options = {})
4016
+ opts = options.dup
3968
4017
  if @api_client.config.debugging
3969
4018
  @api_client.config.logger.debug 'Calling API: AccountingApi.create_receipt_attachment_by_file_name ...'
3970
4019
  end
@@ -4050,7 +4099,8 @@ module XeroRuby
4050
4099
  # @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
4051
4100
  # @param [Hash] opts the optional parameters
4052
4101
  # @return [Array<(HistoryRecords, Integer, Hash)>] HistoryRecords data, response status code and response headers
4053
- def create_receipt_history_with_http_info(xero_tenant_id, receipt_id, history_records, opts = {})
4102
+ def create_receipt_history_with_http_info(xero_tenant_id, receipt_id, history_records, options = {})
4103
+ opts = options.dup
4054
4104
  if @api_client.config.debugging
4055
4105
  @api_client.config.logger.debug 'Calling API: AccountingApi.create_receipt_history ...'
4056
4106
  end
@@ -4134,7 +4184,8 @@ module XeroRuby
4134
4184
  # @param body [String] Byte array of file in body of request
4135
4185
  # @param [Hash] opts the optional parameters
4136
4186
  # @return [Array<(Attachments, Integer, Hash)>] Attachments data, response status code and response headers
4137
- def create_repeating_invoice_attachment_by_file_name_with_http_info(xero_tenant_id, repeating_invoice_id, file_name, body, opts = {})
4187
+ def create_repeating_invoice_attachment_by_file_name_with_http_info(xero_tenant_id, repeating_invoice_id, file_name, body, options = {})
4188
+ opts = options.dup
4138
4189
  if @api_client.config.debugging
4139
4190
  @api_client.config.logger.debug 'Calling API: AccountingApi.create_repeating_invoice_attachment_by_file_name ...'
4140
4191
  end
@@ -4220,7 +4271,8 @@ module XeroRuby
4220
4271
  # @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
4221
4272
  # @param [Hash] opts the optional parameters
4222
4273
  # @return [Array<(HistoryRecords, Integer, Hash)>] HistoryRecords data, response status code and response headers
4223
- def create_repeating_invoice_history_with_http_info(xero_tenant_id, repeating_invoice_id, history_records, opts = {})
4274
+ def create_repeating_invoice_history_with_http_info(xero_tenant_id, repeating_invoice_id, history_records, options = {})
4275
+ opts = options.dup
4224
4276
  if @api_client.config.debugging
4225
4277
  @api_client.config.logger.debug 'Calling API: AccountingApi.create_repeating_invoice_history ...'
4226
4278
  end
@@ -4300,7 +4352,8 @@ module XeroRuby
4300
4352
  # @param tax_rates [TaxRates] TaxRates array with TaxRate object in body of request
4301
4353
  # @param [Hash] opts the optional parameters
4302
4354
  # @return [Array<(TaxRates, Integer, Hash)>] TaxRates data, response status code and response headers
4303
- def create_tax_rates_with_http_info(xero_tenant_id, tax_rates, opts = {})
4355
+ def create_tax_rates_with_http_info(xero_tenant_id, tax_rates, options = {})
4356
+ opts = options.dup
4304
4357
  if @api_client.config.debugging
4305
4358
  @api_client.config.logger.debug 'Calling API: AccountingApi.create_tax_rates ...'
4306
4359
  end
@@ -4376,7 +4429,8 @@ module XeroRuby
4376
4429
  # @param tracking_category [TrackingCategory] TrackingCategory object in body of request
4377
4430
  # @param [Hash] opts the optional parameters
4378
4431
  # @return [Array<(TrackingCategories, Integer, Hash)>] TrackingCategories data, response status code and response headers
4379
- def create_tracking_category_with_http_info(xero_tenant_id, tracking_category, opts = {})
4432
+ def create_tracking_category_with_http_info(xero_tenant_id, tracking_category, options = {})
4433
+ opts = options.dup
4380
4434
  if @api_client.config.debugging
4381
4435
  @api_client.config.logger.debug 'Calling API: AccountingApi.create_tracking_category ...'
4382
4436
  end
@@ -4454,7 +4508,8 @@ module XeroRuby
4454
4508
  # @param tracking_option [TrackingOption] TrackingOption object in body of request
4455
4509
  # @param [Hash] opts the optional parameters
4456
4510
  # @return [Array<(TrackingOptions, Integer, Hash)>] TrackingOptions data, response status code and response headers
4457
- def create_tracking_options_with_http_info(xero_tenant_id, tracking_category_id, tracking_option, opts = {})
4511
+ def create_tracking_options_with_http_info(xero_tenant_id, tracking_category_id, tracking_option, options = {})
4512
+ opts = options.dup
4458
4513
  if @api_client.config.debugging
4459
4514
  @api_client.config.logger.debug 'Calling API: AccountingApi.create_tracking_options ...'
4460
4515
  end
@@ -4534,7 +4589,8 @@ module XeroRuby
4534
4589
  # @param account_id [String] Unique identifier for Account object
4535
4590
  # @param [Hash] opts the optional parameters
4536
4591
  # @return [Array<(Accounts, Integer, Hash)>] Accounts data, response status code and response headers
4537
- def delete_account_with_http_info(xero_tenant_id, account_id, opts = {})
4592
+ def delete_account_with_http_info(xero_tenant_id, account_id, options = {})
4593
+ opts = options.dup
4538
4594
  if @api_client.config.debugging
4539
4595
  @api_client.config.logger.debug 'Calling API: AccountingApi.delete_account ...'
4540
4596
  end
@@ -4610,7 +4666,8 @@ module XeroRuby
4610
4666
  # @param contact_id [String] Unique identifier for a Contact
4611
4667
  # @param [Hash] opts the optional parameters
4612
4668
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
4613
- def delete_contact_group_contact_with_http_info(xero_tenant_id, contact_group_id, contact_id, opts = {})
4669
+ def delete_contact_group_contact_with_http_info(xero_tenant_id, contact_group_id, contact_id, options = {})
4670
+ opts = options.dup
4614
4671
  if @api_client.config.debugging
4615
4672
  @api_client.config.logger.debug 'Calling API: AccountingApi.delete_contact_group_contact ...'
4616
4673
  end
@@ -4688,7 +4745,8 @@ module XeroRuby
4688
4745
  # @param contact_group_id [String] Unique identifier for a Contact Group
4689
4746
  # @param [Hash] opts the optional parameters
4690
4747
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
4691
- def delete_contact_group_contacts_with_http_info(xero_tenant_id, contact_group_id, opts = {})
4748
+ def delete_contact_group_contacts_with_http_info(xero_tenant_id, contact_group_id, options = {})
4749
+ opts = options.dup
4692
4750
  if @api_client.config.debugging
4693
4751
  @api_client.config.logger.debug 'Calling API: AccountingApi.delete_contact_group_contacts ...'
4694
4752
  end
@@ -4760,7 +4818,8 @@ module XeroRuby
4760
4818
  # @param item_id [String] Unique identifier for an Item
4761
4819
  # @param [Hash] opts the optional parameters
4762
4820
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
4763
- def delete_item_with_http_info(xero_tenant_id, item_id, opts = {})
4821
+ def delete_item_with_http_info(xero_tenant_id, item_id, options = {})
4822
+ opts = options.dup
4764
4823
  if @api_client.config.debugging
4765
4824
  @api_client.config.logger.debug 'Calling API: AccountingApi.delete_item ...'
4766
4825
  end
@@ -4834,7 +4893,8 @@ module XeroRuby
4834
4893
  # @param linked_transaction_id [String] Unique identifier for a LinkedTransaction
4835
4894
  # @param [Hash] opts the optional parameters
4836
4895
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
4837
- def delete_linked_transaction_with_http_info(xero_tenant_id, linked_transaction_id, opts = {})
4896
+ def delete_linked_transaction_with_http_info(xero_tenant_id, linked_transaction_id, options = {})
4897
+ opts = options.dup
4838
4898
  if @api_client.config.debugging
4839
4899
  @api_client.config.logger.debug 'Calling API: AccountingApi.delete_linked_transaction ...'
4840
4900
  end
@@ -4910,7 +4970,8 @@ module XeroRuby
4910
4970
  # @param payment_delete [PaymentDelete]
4911
4971
  # @param [Hash] opts the optional parameters
4912
4972
  # @return [Array<(Payments, Integer, Hash)>] Payments data, response status code and response headers
4913
- def delete_payment_with_http_info(xero_tenant_id, payment_id, payment_delete, opts = {})
4973
+ def delete_payment_with_http_info(xero_tenant_id, payment_id, payment_delete, options = {})
4974
+ opts = options.dup
4914
4975
  if @api_client.config.debugging
4915
4976
  @api_client.config.logger.debug 'Calling API: AccountingApi.delete_payment ...'
4916
4977
  end
@@ -4990,7 +5051,8 @@ module XeroRuby
4990
5051
  # @param tracking_category_id [String] Unique identifier for a TrackingCategory
4991
5052
  # @param [Hash] opts the optional parameters
4992
5053
  # @return [Array<(TrackingCategories, Integer, Hash)>] TrackingCategories data, response status code and response headers
4993
- def delete_tracking_category_with_http_info(xero_tenant_id, tracking_category_id, opts = {})
5054
+ def delete_tracking_category_with_http_info(xero_tenant_id, tracking_category_id, options = {})
5055
+ opts = options.dup
4994
5056
  if @api_client.config.debugging
4995
5057
  @api_client.config.logger.debug 'Calling API: AccountingApi.delete_tracking_category ...'
4996
5058
  end
@@ -5066,7 +5128,8 @@ module XeroRuby
5066
5128
  # @param tracking_option_id [String] Unique identifier for a Tracking Option
5067
5129
  # @param [Hash] opts the optional parameters
5068
5130
  # @return [Array<(TrackingOptions, Integer, Hash)>] TrackingOptions data, response status code and response headers
5069
- def delete_tracking_options_with_http_info(xero_tenant_id, tracking_category_id, tracking_option_id, opts = {})
5131
+ def delete_tracking_options_with_http_info(xero_tenant_id, tracking_category_id, tracking_option_id, options = {})
5132
+ opts = options.dup
5070
5133
  if @api_client.config.debugging
5071
5134
  @api_client.config.logger.debug 'Calling API: AccountingApi.delete_tracking_options ...'
5072
5135
  end
@@ -5146,7 +5209,8 @@ module XeroRuby
5146
5209
  # @param request_empty [RequestEmpty]
5147
5210
  # @param [Hash] opts the optional parameters
5148
5211
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
5149
- def email_invoice_with_http_info(xero_tenant_id, invoice_id, request_empty, opts = {})
5212
+ def email_invoice_with_http_info(xero_tenant_id, invoice_id, request_empty, options = {})
5213
+ opts = options.dup
5150
5214
  if @api_client.config.debugging
5151
5215
  @api_client.config.logger.debug 'Calling API: AccountingApi.email_invoice ...'
5152
5216
  end
@@ -5226,7 +5290,8 @@ module XeroRuby
5226
5290
  # @param account_id [String] Unique identifier for Account object
5227
5291
  # @param [Hash] opts the optional parameters
5228
5292
  # @return [Array<(Accounts, Integer, Hash)>] Accounts data, response status code and response headers
5229
- def get_account_with_http_info(xero_tenant_id, account_id, opts = {})
5293
+ def get_account_with_http_info(xero_tenant_id, account_id, options = {})
5294
+ opts = options.dup
5230
5295
  if @api_client.config.debugging
5231
5296
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_account ...'
5232
5297
  end
@@ -5304,7 +5369,8 @@ module XeroRuby
5304
5369
  # @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
5305
5370
  # @param [Hash] opts the optional parameters
5306
5371
  # @return [Array<(File, Integer, Hash)>] File data, response status code and response headers
5307
- def get_account_attachment_by_file_name_with_http_info(xero_tenant_id, account_id, file_name, content_type, opts = {})
5372
+ def get_account_attachment_by_file_name_with_http_info(xero_tenant_id, account_id, file_name, content_type, options = {})
5373
+ opts = options.dup
5308
5374
  if @api_client.config.debugging
5309
5375
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_account_attachment_by_file_name ...'
5310
5376
  end
@@ -5391,7 +5457,8 @@ module XeroRuby
5391
5457
  # @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
5392
5458
  # @param [Hash] opts the optional parameters
5393
5459
  # @return [Array<(File, Integer, Hash)>] File data, response status code and response headers
5394
- def get_account_attachment_by_id_with_http_info(xero_tenant_id, account_id, attachment_id, content_type, opts = {})
5460
+ def get_account_attachment_by_id_with_http_info(xero_tenant_id, account_id, attachment_id, content_type, options = {})
5461
+ opts = options.dup
5395
5462
  if @api_client.config.debugging
5396
5463
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_account_attachment_by_id ...'
5397
5464
  end
@@ -5474,7 +5541,8 @@ module XeroRuby
5474
5541
  # @param account_id [String] Unique identifier for Account object
5475
5542
  # @param [Hash] opts the optional parameters
5476
5543
  # @return [Array<(Attachments, Integer, Hash)>] Attachments data, response status code and response headers
5477
- def get_account_attachments_with_http_info(xero_tenant_id, account_id, opts = {})
5544
+ def get_account_attachments_with_http_info(xero_tenant_id, account_id, options = {})
5545
+ opts = options.dup
5478
5546
  if @api_client.config.debugging
5479
5547
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_account_attachments ...'
5480
5548
  end
@@ -5552,7 +5620,8 @@ module XeroRuby
5552
5620
  # @option opts [String] :where Filter by an any element
5553
5621
  # @option opts [String] :order Order by an any element
5554
5622
  # @return [Array<(Accounts, Integer, Hash)>] Accounts data, response status code and response headers
5555
- def get_accounts_with_http_info(xero_tenant_id, opts = {})
5623
+ def get_accounts_with_http_info(xero_tenant_id, options = {})
5624
+ opts = options.dup
5556
5625
  if @api_client.config.debugging
5557
5626
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_accounts ...'
5558
5627
  end
@@ -5627,7 +5696,8 @@ module XeroRuby
5627
5696
  # @param [Hash] opts the optional parameters
5628
5697
  # @option opts [Integer] :unitdp e.g. unitdp&#x3D;4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
5629
5698
  # @return [Array<(BankTransactions, Integer, Hash)>] BankTransactions data, response status code and response headers
5630
- def get_bank_transaction_with_http_info(xero_tenant_id, bank_transaction_id, opts = {})
5699
+ def get_bank_transaction_with_http_info(xero_tenant_id, bank_transaction_id, options = {})
5700
+ opts = options.dup
5631
5701
  if @api_client.config.debugging
5632
5702
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_bank_transaction ...'
5633
5703
  end
@@ -5706,7 +5776,8 @@ module XeroRuby
5706
5776
  # @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
5707
5777
  # @param [Hash] opts the optional parameters
5708
5778
  # @return [Array<(File, Integer, Hash)>] File data, response status code and response headers
5709
- def get_bank_transaction_attachment_by_file_name_with_http_info(xero_tenant_id, bank_transaction_id, file_name, content_type, opts = {})
5779
+ def get_bank_transaction_attachment_by_file_name_with_http_info(xero_tenant_id, bank_transaction_id, file_name, content_type, options = {})
5780
+ opts = options.dup
5710
5781
  if @api_client.config.debugging
5711
5782
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_bank_transaction_attachment_by_file_name ...'
5712
5783
  end
@@ -5793,7 +5864,8 @@ module XeroRuby
5793
5864
  # @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
5794
5865
  # @param [Hash] opts the optional parameters
5795
5866
  # @return [Array<(File, Integer, Hash)>] File data, response status code and response headers
5796
- def get_bank_transaction_attachment_by_id_with_http_info(xero_tenant_id, bank_transaction_id, attachment_id, content_type, opts = {})
5867
+ def get_bank_transaction_attachment_by_id_with_http_info(xero_tenant_id, bank_transaction_id, attachment_id, content_type, options = {})
5868
+ opts = options.dup
5797
5869
  if @api_client.config.debugging
5798
5870
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_bank_transaction_attachment_by_id ...'
5799
5871
  end
@@ -5876,7 +5948,8 @@ module XeroRuby
5876
5948
  # @param bank_transaction_id [String] Xero generated unique identifier for a bank transaction
5877
5949
  # @param [Hash] opts the optional parameters
5878
5950
  # @return [Array<(Attachments, Integer, Hash)>] Attachments data, response status code and response headers
5879
- def get_bank_transaction_attachments_with_http_info(xero_tenant_id, bank_transaction_id, opts = {})
5951
+ def get_bank_transaction_attachments_with_http_info(xero_tenant_id, bank_transaction_id, options = {})
5952
+ opts = options.dup
5880
5953
  if @api_client.config.debugging
5881
5954
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_bank_transaction_attachments ...'
5882
5955
  end
@@ -5958,7 +6031,8 @@ module XeroRuby
5958
6031
  # @option opts [Integer] :page Up to 100 bank transactions will be returned in a single API call with line items details
5959
6032
  # @option opts [Integer] :unitdp e.g. unitdp&#x3D;4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
5960
6033
  # @return [Array<(BankTransactions, Integer, Hash)>] BankTransactions data, response status code and response headers
5961
- def get_bank_transactions_with_http_info(xero_tenant_id, opts = {})
6034
+ def get_bank_transactions_with_http_info(xero_tenant_id, options = {})
6035
+ opts = options.dup
5962
6036
  if @api_client.config.debugging
5963
6037
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_bank_transactions ...'
5964
6038
  end
@@ -6033,7 +6107,8 @@ module XeroRuby
6033
6107
  # @param bank_transaction_id [String] Xero generated unique identifier for a bank transaction
6034
6108
  # @param [Hash] opts the optional parameters
6035
6109
  # @return [Array<(HistoryRecords, Integer, Hash)>] HistoryRecords data, response status code and response headers
6036
- def get_bank_transactions_history_with_http_info(xero_tenant_id, bank_transaction_id, opts = {})
6110
+ def get_bank_transactions_history_with_http_info(xero_tenant_id, bank_transaction_id, options = {})
6111
+ opts = options.dup
6037
6112
  if @api_client.config.debugging
6038
6113
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_bank_transactions_history ...'
6039
6114
  end
@@ -6107,7 +6182,8 @@ module XeroRuby
6107
6182
  # @param bank_transfer_id [String] Xero generated unique identifier for a bank transfer
6108
6183
  # @param [Hash] opts the optional parameters
6109
6184
  # @return [Array<(BankTransfers, Integer, Hash)>] BankTransfers data, response status code and response headers
6110
- def get_bank_transfer_with_http_info(xero_tenant_id, bank_transfer_id, opts = {})
6185
+ def get_bank_transfer_with_http_info(xero_tenant_id, bank_transfer_id, options = {})
6186
+ opts = options.dup
6111
6187
  if @api_client.config.debugging
6112
6188
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_bank_transfer ...'
6113
6189
  end
@@ -6185,7 +6261,8 @@ module XeroRuby
6185
6261
  # @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
6186
6262
  # @param [Hash] opts the optional parameters
6187
6263
  # @return [Array<(File, Integer, Hash)>] File data, response status code and response headers
6188
- def get_bank_transfer_attachment_by_file_name_with_http_info(xero_tenant_id, bank_transfer_id, file_name, content_type, opts = {})
6264
+ def get_bank_transfer_attachment_by_file_name_with_http_info(xero_tenant_id, bank_transfer_id, file_name, content_type, options = {})
6265
+ opts = options.dup
6189
6266
  if @api_client.config.debugging
6190
6267
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_bank_transfer_attachment_by_file_name ...'
6191
6268
  end
@@ -6272,7 +6349,8 @@ module XeroRuby
6272
6349
  # @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
6273
6350
  # @param [Hash] opts the optional parameters
6274
6351
  # @return [Array<(File, Integer, Hash)>] File data, response status code and response headers
6275
- def get_bank_transfer_attachment_by_id_with_http_info(xero_tenant_id, bank_transfer_id, attachment_id, content_type, opts = {})
6352
+ def get_bank_transfer_attachment_by_id_with_http_info(xero_tenant_id, bank_transfer_id, attachment_id, content_type, options = {})
6353
+ opts = options.dup
6276
6354
  if @api_client.config.debugging
6277
6355
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_bank_transfer_attachment_by_id ...'
6278
6356
  end
@@ -6355,7 +6433,8 @@ module XeroRuby
6355
6433
  # @param bank_transfer_id [String] Xero generated unique identifier for a bank transfer
6356
6434
  # @param [Hash] opts the optional parameters
6357
6435
  # @return [Array<(Attachments, Integer, Hash)>] Attachments data, response status code and response headers
6358
- def get_bank_transfer_attachments_with_http_info(xero_tenant_id, bank_transfer_id, opts = {})
6436
+ def get_bank_transfer_attachments_with_http_info(xero_tenant_id, bank_transfer_id, options = {})
6437
+ opts = options.dup
6359
6438
  if @api_client.config.debugging
6360
6439
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_bank_transfer_attachments ...'
6361
6440
  end
@@ -6429,7 +6508,8 @@ module XeroRuby
6429
6508
  # @param bank_transfer_id [String] Xero generated unique identifier for a bank transfer
6430
6509
  # @param [Hash] opts the optional parameters
6431
6510
  # @return [Array<(HistoryRecords, Integer, Hash)>] HistoryRecords data, response status code and response headers
6432
- def get_bank_transfer_history_with_http_info(xero_tenant_id, bank_transfer_id, opts = {})
6511
+ def get_bank_transfer_history_with_http_info(xero_tenant_id, bank_transfer_id, options = {})
6512
+ opts = options.dup
6433
6513
  if @api_client.config.debugging
6434
6514
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_bank_transfer_history ...'
6435
6515
  end
@@ -6507,7 +6587,8 @@ module XeroRuby
6507
6587
  # @option opts [String] :where Filter by an any element
6508
6588
  # @option opts [String] :order Order by an any element
6509
6589
  # @return [Array<(BankTransfers, Integer, Hash)>] BankTransfers data, response status code and response headers
6510
- def get_bank_transfers_with_http_info(xero_tenant_id, opts = {})
6590
+ def get_bank_transfers_with_http_info(xero_tenant_id, options = {})
6591
+ opts = options.dup
6511
6592
  if @api_client.config.debugging
6512
6593
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_bank_transfers ...'
6513
6594
  end
@@ -6580,7 +6661,8 @@ module XeroRuby
6580
6661
  # @param batch_payment_id [String] Unique identifier for BatchPayment
6581
6662
  # @param [Hash] opts the optional parameters
6582
6663
  # @return [Array<(HistoryRecords, Integer, Hash)>] HistoryRecords data, response status code and response headers
6583
- def get_batch_payment_history_with_http_info(xero_tenant_id, batch_payment_id, opts = {})
6664
+ def get_batch_payment_history_with_http_info(xero_tenant_id, batch_payment_id, options = {})
6665
+ opts = options.dup
6584
6666
  if @api_client.config.debugging
6585
6667
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_batch_payment_history ...'
6586
6668
  end
@@ -6658,7 +6740,8 @@ module XeroRuby
6658
6740
  # @option opts [String] :where Filter by an any element
6659
6741
  # @option opts [String] :order Order by an any element
6660
6742
  # @return [Array<(BatchPayments, Integer, Hash)>] BatchPayments data, response status code and response headers
6661
- def get_batch_payments_with_http_info(xero_tenant_id, opts = {})
6743
+ def get_batch_payments_with_http_info(xero_tenant_id, options = {})
6744
+ opts = options.dup
6662
6745
  if @api_client.config.debugging
6663
6746
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_batch_payments ...'
6664
6747
  end
@@ -6731,7 +6814,8 @@ module XeroRuby
6731
6814
  # @param branding_theme_id [String] Unique identifier for a Branding Theme
6732
6815
  # @param [Hash] opts the optional parameters
6733
6816
  # @return [Array<(BrandingThemes, Integer, Hash)>] BrandingThemes data, response status code and response headers
6734
- def get_branding_theme_with_http_info(xero_tenant_id, branding_theme_id, opts = {})
6817
+ def get_branding_theme_with_http_info(xero_tenant_id, branding_theme_id, options = {})
6818
+ opts = options.dup
6735
6819
  if @api_client.config.debugging
6736
6820
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_branding_theme ...'
6737
6821
  end
@@ -6805,7 +6889,8 @@ module XeroRuby
6805
6889
  # @param branding_theme_id [String] Unique identifier for a Branding Theme
6806
6890
  # @param [Hash] opts the optional parameters
6807
6891
  # @return [Array<(PaymentServices, Integer, Hash)>] PaymentServices data, response status code and response headers
6808
- def get_branding_theme_payment_services_with_http_info(xero_tenant_id, branding_theme_id, opts = {})
6892
+ def get_branding_theme_payment_services_with_http_info(xero_tenant_id, branding_theme_id, options = {})
6893
+ opts = options.dup
6809
6894
  if @api_client.config.debugging
6810
6895
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_branding_theme_payment_services ...'
6811
6896
  end
@@ -6877,7 +6962,8 @@ module XeroRuby
6877
6962
  # @param xero_tenant_id [String] Xero identifier for Tenant
6878
6963
  # @param [Hash] opts the optional parameters
6879
6964
  # @return [Array<(BrandingThemes, Integer, Hash)>] BrandingThemes data, response status code and response headers
6880
- def get_branding_themes_with_http_info(xero_tenant_id, opts = {})
6965
+ def get_branding_themes_with_http_info(xero_tenant_id, options = {})
6966
+ opts = options.dup
6881
6967
  if @api_client.config.debugging
6882
6968
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_branding_themes ...'
6883
6969
  end
@@ -6947,7 +7033,8 @@ module XeroRuby
6947
7033
  # @param contact_id [String] Unique identifier for a Contact
6948
7034
  # @param [Hash] opts the optional parameters
6949
7035
  # @return [Array<(Contacts, Integer, Hash)>] Contacts data, response status code and response headers
6950
- def get_contact_with_http_info(xero_tenant_id, contact_id, opts = {})
7036
+ def get_contact_with_http_info(xero_tenant_id, contact_id, options = {})
7037
+ opts = options.dup
6951
7038
  if @api_client.config.debugging
6952
7039
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_contact ...'
6953
7040
  end
@@ -7025,7 +7112,8 @@ module XeroRuby
7025
7112
  # @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
7026
7113
  # @param [Hash] opts the optional parameters
7027
7114
  # @return [Array<(File, Integer, Hash)>] File data, response status code and response headers
7028
- def get_contact_attachment_by_file_name_with_http_info(xero_tenant_id, contact_id, file_name, content_type, opts = {})
7115
+ def get_contact_attachment_by_file_name_with_http_info(xero_tenant_id, contact_id, file_name, content_type, options = {})
7116
+ opts = options.dup
7029
7117
  if @api_client.config.debugging
7030
7118
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_contact_attachment_by_file_name ...'
7031
7119
  end
@@ -7112,7 +7200,8 @@ module XeroRuby
7112
7200
  # @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
7113
7201
  # @param [Hash] opts the optional parameters
7114
7202
  # @return [Array<(File, Integer, Hash)>] File data, response status code and response headers
7115
- def get_contact_attachment_by_id_with_http_info(xero_tenant_id, contact_id, attachment_id, content_type, opts = {})
7203
+ def get_contact_attachment_by_id_with_http_info(xero_tenant_id, contact_id, attachment_id, content_type, options = {})
7204
+ opts = options.dup
7116
7205
  if @api_client.config.debugging
7117
7206
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_contact_attachment_by_id ...'
7118
7207
  end
@@ -7195,7 +7284,8 @@ module XeroRuby
7195
7284
  # @param contact_id [String] Unique identifier for a Contact
7196
7285
  # @param [Hash] opts the optional parameters
7197
7286
  # @return [Array<(Attachments, Integer, Hash)>] Attachments data, response status code and response headers
7198
- def get_contact_attachments_with_http_info(xero_tenant_id, contact_id, opts = {})
7287
+ def get_contact_attachments_with_http_info(xero_tenant_id, contact_id, options = {})
7288
+ opts = options.dup
7199
7289
  if @api_client.config.debugging
7200
7290
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_contact_attachments ...'
7201
7291
  end
@@ -7269,7 +7359,8 @@ module XeroRuby
7269
7359
  # @param contact_number [String] This field is read only on the Xero contact screen, used to identify contacts in external systems (max length &#x3D; 50).
7270
7360
  # @param [Hash] opts the optional parameters
7271
7361
  # @return [Array<(Contacts, Integer, Hash)>] Contacts data, response status code and response headers
7272
- def get_contact_by_contact_number_with_http_info(xero_tenant_id, contact_number, opts = {})
7362
+ def get_contact_by_contact_number_with_http_info(xero_tenant_id, contact_number, options = {})
7363
+ opts = options.dup
7273
7364
  if @api_client.config.debugging
7274
7365
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_contact_by_contact_number ...'
7275
7366
  end
@@ -7343,7 +7434,8 @@ module XeroRuby
7343
7434
  # @param contact_id [String] Unique identifier for a Contact
7344
7435
  # @param [Hash] opts the optional parameters
7345
7436
  # @return [Array<(CISSettings, Integer, Hash)>] CISSettings data, response status code and response headers
7346
- def get_contact_cis_settings_with_http_info(xero_tenant_id, contact_id, opts = {})
7437
+ def get_contact_cis_settings_with_http_info(xero_tenant_id, contact_id, options = {})
7438
+ opts = options.dup
7347
7439
  if @api_client.config.debugging
7348
7440
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_contact_cis_settings ...'
7349
7441
  end
@@ -7417,7 +7509,8 @@ module XeroRuby
7417
7509
  # @param contact_group_id [String] Unique identifier for a Contact Group
7418
7510
  # @param [Hash] opts the optional parameters
7419
7511
  # @return [Array<(ContactGroups, Integer, Hash)>] ContactGroups data, response status code and response headers
7420
- def get_contact_group_with_http_info(xero_tenant_id, contact_group_id, opts = {})
7512
+ def get_contact_group_with_http_info(xero_tenant_id, contact_group_id, options = {})
7513
+ opts = options.dup
7421
7514
  if @api_client.config.debugging
7422
7515
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_contact_group ...'
7423
7516
  end
@@ -7493,7 +7586,8 @@ module XeroRuby
7493
7586
  # @option opts [String] :where Filter by an any element
7494
7587
  # @option opts [String] :order Order by an any element
7495
7588
  # @return [Array<(ContactGroups, Integer, Hash)>] ContactGroups data, response status code and response headers
7496
- def get_contact_groups_with_http_info(xero_tenant_id, opts = {})
7589
+ def get_contact_groups_with_http_info(xero_tenant_id, options = {})
7590
+ opts = options.dup
7497
7591
  if @api_client.config.debugging
7498
7592
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_contact_groups ...'
7499
7593
  end
@@ -7565,7 +7659,8 @@ module XeroRuby
7565
7659
  # @param contact_id [String] Unique identifier for a Contact
7566
7660
  # @param [Hash] opts the optional parameters
7567
7661
  # @return [Array<(HistoryRecords, Integer, Hash)>] HistoryRecords data, response status code and response headers
7568
- def get_contact_history_with_http_info(xero_tenant_id, contact_id, opts = {})
7662
+ def get_contact_history_with_http_info(xero_tenant_id, contact_id, options = {})
7663
+ opts = options.dup
7569
7664
  if @api_client.config.debugging
7570
7665
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_contact_history ...'
7571
7666
  end
@@ -7649,7 +7744,8 @@ module XeroRuby
7649
7744
  # @option opts [Integer] :page e.g. page&#x3D;1 - Up to 100 contacts will be returned in a single API call.
7650
7745
  # @option opts [Boolean] :include_archived e.g. includeArchived&#x3D;true - Contacts with a status of ARCHIVED will be included in the response
7651
7746
  # @return [Array<(Contacts, Integer, Hash)>] Contacts data, response status code and response headers
7652
- def get_contacts_with_http_info(xero_tenant_id, opts = {})
7747
+ def get_contacts_with_http_info(xero_tenant_id, options = {})
7748
+ opts = options.dup
7653
7749
  if @api_client.config.debugging
7654
7750
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_contacts ...'
7655
7751
  end
@@ -7727,7 +7823,8 @@ module XeroRuby
7727
7823
  # @param [Hash] opts the optional parameters
7728
7824
  # @option opts [Integer] :unitdp e.g. unitdp&#x3D;4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
7729
7825
  # @return [Array<(CreditNotes, Integer, Hash)>] CreditNotes data, response status code and response headers
7730
- def get_credit_note_with_http_info(xero_tenant_id, credit_note_id, opts = {})
7826
+ def get_credit_note_with_http_info(xero_tenant_id, credit_note_id, options = {})
7827
+ opts = options.dup
7731
7828
  if @api_client.config.debugging
7732
7829
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_credit_note ...'
7733
7830
  end
@@ -7802,7 +7899,8 @@ module XeroRuby
7802
7899
  # @param credit_note_id [String] Unique identifier for a Credit Note
7803
7900
  # @param [Hash] opts the optional parameters
7804
7901
  # @return [Array<(File, Integer, Hash)>] File data, response status code and response headers
7805
- def get_credit_note_as_pdf_with_http_info(xero_tenant_id, credit_note_id, opts = {})
7902
+ def get_credit_note_as_pdf_with_http_info(xero_tenant_id, credit_note_id, options = {})
7903
+ opts = options.dup
7806
7904
  if @api_client.config.debugging
7807
7905
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_credit_note_as_pdf ...'
7808
7906
  end
@@ -7880,7 +7978,8 @@ module XeroRuby
7880
7978
  # @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
7881
7979
  # @param [Hash] opts the optional parameters
7882
7980
  # @return [Array<(File, Integer, Hash)>] File data, response status code and response headers
7883
- def get_credit_note_attachment_by_file_name_with_http_info(xero_tenant_id, credit_note_id, file_name, content_type, opts = {})
7981
+ def get_credit_note_attachment_by_file_name_with_http_info(xero_tenant_id, credit_note_id, file_name, content_type, options = {})
7982
+ opts = options.dup
7884
7983
  if @api_client.config.debugging
7885
7984
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_credit_note_attachment_by_file_name ...'
7886
7985
  end
@@ -7967,7 +8066,8 @@ module XeroRuby
7967
8066
  # @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
7968
8067
  # @param [Hash] opts the optional parameters
7969
8068
  # @return [Array<(File, Integer, Hash)>] File data, response status code and response headers
7970
- def get_credit_note_attachment_by_id_with_http_info(xero_tenant_id, credit_note_id, attachment_id, content_type, opts = {})
8069
+ def get_credit_note_attachment_by_id_with_http_info(xero_tenant_id, credit_note_id, attachment_id, content_type, options = {})
8070
+ opts = options.dup
7971
8071
  if @api_client.config.debugging
7972
8072
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_credit_note_attachment_by_id ...'
7973
8073
  end
@@ -8050,7 +8150,8 @@ module XeroRuby
8050
8150
  # @param credit_note_id [String] Unique identifier for a Credit Note
8051
8151
  # @param [Hash] opts the optional parameters
8052
8152
  # @return [Array<(Attachments, Integer, Hash)>] Attachments data, response status code and response headers
8053
- def get_credit_note_attachments_with_http_info(xero_tenant_id, credit_note_id, opts = {})
8153
+ def get_credit_note_attachments_with_http_info(xero_tenant_id, credit_note_id, options = {})
8154
+ opts = options.dup
8054
8155
  if @api_client.config.debugging
8055
8156
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_credit_note_attachments ...'
8056
8157
  end
@@ -8124,7 +8225,8 @@ module XeroRuby
8124
8225
  # @param credit_note_id [String] Unique identifier for a Credit Note
8125
8226
  # @param [Hash] opts the optional parameters
8126
8227
  # @return [Array<(HistoryRecords, Integer, Hash)>] HistoryRecords data, response status code and response headers
8127
- def get_credit_note_history_with_http_info(xero_tenant_id, credit_note_id, opts = {})
8228
+ def get_credit_note_history_with_http_info(xero_tenant_id, credit_note_id, options = {})
8229
+ opts = options.dup
8128
8230
  if @api_client.config.debugging
8129
8231
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_credit_note_history ...'
8130
8232
  end
@@ -8206,7 +8308,8 @@ module XeroRuby
8206
8308
  # @option opts [Integer] :page e.g. page&#x3D;1 – Up to 100 credit notes will be returned in a single API call with line items shown for each credit note
8207
8309
  # @option opts [Integer] :unitdp e.g. unitdp&#x3D;4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
8208
8310
  # @return [Array<(CreditNotes, Integer, Hash)>] CreditNotes data, response status code and response headers
8209
- def get_credit_notes_with_http_info(xero_tenant_id, opts = {})
8311
+ def get_credit_notes_with_http_info(xero_tenant_id, options = {})
8312
+ opts = options.dup
8210
8313
  if @api_client.config.debugging
8211
8314
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_credit_notes ...'
8212
8315
  end
@@ -8283,7 +8386,8 @@ module XeroRuby
8283
8386
  # @option opts [String] :where Filter by an any element
8284
8387
  # @option opts [String] :order Order by an any element
8285
8388
  # @return [Array<(Currencies, Integer, Hash)>] Currencies data, response status code and response headers
8286
- def get_currencies_with_http_info(xero_tenant_id, opts = {})
8389
+ def get_currencies_with_http_info(xero_tenant_id, options = {})
8390
+ opts = options.dup
8287
8391
  if @api_client.config.debugging
8288
8392
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_currencies ...'
8289
8393
  end
@@ -8355,7 +8459,8 @@ module XeroRuby
8355
8459
  # @param employee_id [String] Unique identifier for a Employee
8356
8460
  # @param [Hash] opts the optional parameters
8357
8461
  # @return [Array<(Employees, Integer, Hash)>] Employees data, response status code and response headers
8358
- def get_employee_with_http_info(xero_tenant_id, employee_id, opts = {})
8462
+ def get_employee_with_http_info(xero_tenant_id, employee_id, options = {})
8463
+ opts = options.dup
8359
8464
  if @api_client.config.debugging
8360
8465
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_employee ...'
8361
8466
  end
@@ -8433,7 +8538,8 @@ module XeroRuby
8433
8538
  # @option opts [String] :where Filter by an any element
8434
8539
  # @option opts [String] :order Order by an any element
8435
8540
  # @return [Array<(Employees, Integer, Hash)>] Employees data, response status code and response headers
8436
- def get_employees_with_http_info(xero_tenant_id, opts = {})
8541
+ def get_employees_with_http_info(xero_tenant_id, options = {})
8542
+ opts = options.dup
8437
8543
  if @api_client.config.debugging
8438
8544
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_employees ...'
8439
8545
  end
@@ -8506,7 +8612,8 @@ module XeroRuby
8506
8612
  # @param expense_claim_id [String] Unique identifier for a ExpenseClaim
8507
8613
  # @param [Hash] opts the optional parameters
8508
8614
  # @return [Array<(ExpenseClaims, Integer, Hash)>] ExpenseClaims data, response status code and response headers
8509
- def get_expense_claim_with_http_info(xero_tenant_id, expense_claim_id, opts = {})
8615
+ def get_expense_claim_with_http_info(xero_tenant_id, expense_claim_id, options = {})
8616
+ opts = options.dup
8510
8617
  if @api_client.config.debugging
8511
8618
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_expense_claim ...'
8512
8619
  end
@@ -8580,7 +8687,8 @@ module XeroRuby
8580
8687
  # @param expense_claim_id [String] Unique identifier for a ExpenseClaim
8581
8688
  # @param [Hash] opts the optional parameters
8582
8689
  # @return [Array<(HistoryRecords, Integer, Hash)>] HistoryRecords data, response status code and response headers
8583
- def get_expense_claim_history_with_http_info(xero_tenant_id, expense_claim_id, opts = {})
8690
+ def get_expense_claim_history_with_http_info(xero_tenant_id, expense_claim_id, options = {})
8691
+ opts = options.dup
8584
8692
  if @api_client.config.debugging
8585
8693
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_expense_claim_history ...'
8586
8694
  end
@@ -8658,7 +8766,8 @@ module XeroRuby
8658
8766
  # @option opts [String] :where Filter by an any element
8659
8767
  # @option opts [String] :order Order by an any element
8660
8768
  # @return [Array<(ExpenseClaims, Integer, Hash)>] ExpenseClaims data, response status code and response headers
8661
- def get_expense_claims_with_http_info(xero_tenant_id, opts = {})
8769
+ def get_expense_claims_with_http_info(xero_tenant_id, options = {})
8770
+ opts = options.dup
8662
8771
  if @api_client.config.debugging
8663
8772
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_expense_claims ...'
8664
8773
  end
@@ -8733,7 +8842,8 @@ module XeroRuby
8733
8842
  # @param [Hash] opts the optional parameters
8734
8843
  # @option opts [Integer] :unitdp e.g. unitdp&#x3D;4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
8735
8844
  # @return [Array<(Invoices, Integer, Hash)>] Invoices data, response status code and response headers
8736
- def get_invoice_with_http_info(xero_tenant_id, invoice_id, opts = {})
8845
+ def get_invoice_with_http_info(xero_tenant_id, invoice_id, options = {})
8846
+ opts = options.dup
8737
8847
  if @api_client.config.debugging
8738
8848
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_invoice ...'
8739
8849
  end
@@ -8808,7 +8918,8 @@ module XeroRuby
8808
8918
  # @param invoice_id [String] Unique identifier for an Invoice
8809
8919
  # @param [Hash] opts the optional parameters
8810
8920
  # @return [Array<(File, Integer, Hash)>] File data, response status code and response headers
8811
- def get_invoice_as_pdf_with_http_info(xero_tenant_id, invoice_id, opts = {})
8921
+ def get_invoice_as_pdf_with_http_info(xero_tenant_id, invoice_id, options = {})
8922
+ opts = options.dup
8812
8923
  if @api_client.config.debugging
8813
8924
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_invoice_as_pdf ...'
8814
8925
  end
@@ -8886,7 +8997,8 @@ module XeroRuby
8886
8997
  # @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
8887
8998
  # @param [Hash] opts the optional parameters
8888
8999
  # @return [Array<(File, Integer, Hash)>] File data, response status code and response headers
8889
- def get_invoice_attachment_by_file_name_with_http_info(xero_tenant_id, invoice_id, file_name, content_type, opts = {})
9000
+ def get_invoice_attachment_by_file_name_with_http_info(xero_tenant_id, invoice_id, file_name, content_type, options = {})
9001
+ opts = options.dup
8890
9002
  if @api_client.config.debugging
8891
9003
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_invoice_attachment_by_file_name ...'
8892
9004
  end
@@ -8973,7 +9085,8 @@ module XeroRuby
8973
9085
  # @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
8974
9086
  # @param [Hash] opts the optional parameters
8975
9087
  # @return [Array<(File, Integer, Hash)>] File data, response status code and response headers
8976
- def get_invoice_attachment_by_id_with_http_info(xero_tenant_id, invoice_id, attachment_id, content_type, opts = {})
9088
+ def get_invoice_attachment_by_id_with_http_info(xero_tenant_id, invoice_id, attachment_id, content_type, options = {})
9089
+ opts = options.dup
8977
9090
  if @api_client.config.debugging
8978
9091
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_invoice_attachment_by_id ...'
8979
9092
  end
@@ -9056,7 +9169,8 @@ module XeroRuby
9056
9169
  # @param invoice_id [String] Unique identifier for an Invoice
9057
9170
  # @param [Hash] opts the optional parameters
9058
9171
  # @return [Array<(Attachments, Integer, Hash)>] Attachments data, response status code and response headers
9059
- def get_invoice_attachments_with_http_info(xero_tenant_id, invoice_id, opts = {})
9172
+ def get_invoice_attachments_with_http_info(xero_tenant_id, invoice_id, options = {})
9173
+ opts = options.dup
9060
9174
  if @api_client.config.debugging
9061
9175
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_invoice_attachments ...'
9062
9176
  end
@@ -9130,7 +9244,8 @@ module XeroRuby
9130
9244
  # @param invoice_id [String] Unique identifier for an Invoice
9131
9245
  # @param [Hash] opts the optional parameters
9132
9246
  # @return [Array<(HistoryRecords, Integer, Hash)>] HistoryRecords data, response status code and response headers
9133
- def get_invoice_history_with_http_info(xero_tenant_id, invoice_id, opts = {})
9247
+ def get_invoice_history_with_http_info(xero_tenant_id, invoice_id, options = {})
9248
+ opts = options.dup
9134
9249
  if @api_client.config.debugging
9135
9250
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_invoice_history ...'
9136
9251
  end
@@ -9202,7 +9317,8 @@ module XeroRuby
9202
9317
  # @param xero_tenant_id [String] Xero identifier for Tenant
9203
9318
  # @param [Hash] opts the optional parameters
9204
9319
  # @return [Array<(InvoiceReminders, Integer, Hash)>] InvoiceReminders data, response status code and response headers
9205
- def get_invoice_reminders_with_http_info(xero_tenant_id, opts = {})
9320
+ def get_invoice_reminders_with_http_info(xero_tenant_id, options = {})
9321
+ opts = options.dup
9206
9322
  if @api_client.config.debugging
9207
9323
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_invoice_reminders ...'
9208
9324
  end
@@ -9292,7 +9408,8 @@ module XeroRuby
9292
9408
  # @option opts [Boolean] :created_by_my_app When set to true you&#39;ll only retrieve Invoices created by your app
9293
9409
  # @option opts [Integer] :unitdp e.g. unitdp&#x3D;4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
9294
9410
  # @return [Array<(Invoices, Integer, Hash)>] Invoices data, response status code and response headers
9295
- def get_invoices_with_http_info(xero_tenant_id, opts = {})
9411
+ def get_invoices_with_http_info(xero_tenant_id, options = {})
9412
+ opts = options.dup
9296
9413
  if @api_client.config.debugging
9297
9414
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_invoices ...'
9298
9415
  end
@@ -9375,7 +9492,8 @@ module XeroRuby
9375
9492
  # @param [Hash] opts the optional parameters
9376
9493
  # @option opts [Integer] :unitdp e.g. unitdp&#x3D;4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
9377
9494
  # @return [Array<(Items, Integer, Hash)>] Items data, response status code and response headers
9378
- def get_item_with_http_info(xero_tenant_id, item_id, opts = {})
9495
+ def get_item_with_http_info(xero_tenant_id, item_id, options = {})
9496
+ opts = options.dup
9379
9497
  if @api_client.config.debugging
9380
9498
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_item ...'
9381
9499
  end
@@ -9450,7 +9568,8 @@ module XeroRuby
9450
9568
  # @param item_id [String] Unique identifier for an Item
9451
9569
  # @param [Hash] opts the optional parameters
9452
9570
  # @return [Array<(HistoryRecords, Integer, Hash)>] HistoryRecords data, response status code and response headers
9453
- def get_item_history_with_http_info(xero_tenant_id, item_id, opts = {})
9571
+ def get_item_history_with_http_info(xero_tenant_id, item_id, options = {})
9572
+ opts = options.dup
9454
9573
  if @api_client.config.debugging
9455
9574
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_item_history ...'
9456
9575
  end
@@ -9530,7 +9649,8 @@ module XeroRuby
9530
9649
  # @option opts [String] :order Order by an any element
9531
9650
  # @option opts [Integer] :unitdp e.g. unitdp&#x3D;4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
9532
9651
  # @return [Array<(Items, Integer, Hash)>] Items data, response status code and response headers
9533
- def get_items_with_http_info(xero_tenant_id, opts = {})
9652
+ def get_items_with_http_info(xero_tenant_id, options = {})
9653
+ opts = options.dup
9534
9654
  if @api_client.config.debugging
9535
9655
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_items ...'
9536
9656
  end
@@ -9604,7 +9724,8 @@ module XeroRuby
9604
9724
  # @param journal_id [String] Unique identifier for a Journal
9605
9725
  # @param [Hash] opts the optional parameters
9606
9726
  # @return [Array<(Journals, Integer, Hash)>] Journals data, response status code and response headers
9607
- def get_journal_with_http_info(xero_tenant_id, journal_id, opts = {})
9727
+ def get_journal_with_http_info(xero_tenant_id, journal_id, options = {})
9728
+ opts = options.dup
9608
9729
  if @api_client.config.debugging
9609
9730
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_journal ...'
9610
9731
  end
@@ -9682,7 +9803,8 @@ module XeroRuby
9682
9803
  # @option opts [Integer] :offset Offset by a specified journal number. e.g. journals with a JournalNumber greater than the offset will be returned
9683
9804
  # @option opts [Boolean] :payments_only Filter to retrieve journals on a cash basis. Journals are returned on an accrual basis by default.
9684
9805
  # @return [Array<(Journals, Integer, Hash)>] Journals data, response status code and response headers
9685
- def get_journals_with_http_info(xero_tenant_id, opts = {})
9806
+ def get_journals_with_http_info(xero_tenant_id, options = {})
9807
+ opts = options.dup
9686
9808
  if @api_client.config.debugging
9687
9809
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_journals ...'
9688
9810
  end
@@ -9755,7 +9877,8 @@ module XeroRuby
9755
9877
  # @param linked_transaction_id [String] Unique identifier for a LinkedTransaction
9756
9878
  # @param [Hash] opts the optional parameters
9757
9879
  # @return [Array<(LinkedTransactions, Integer, Hash)>] LinkedTransactions data, response status code and response headers
9758
- def get_linked_transaction_with_http_info(xero_tenant_id, linked_transaction_id, opts = {})
9880
+ def get_linked_transaction_with_http_info(xero_tenant_id, linked_transaction_id, options = {})
9881
+ opts = options.dup
9759
9882
  if @api_client.config.debugging
9760
9883
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_linked_transaction ...'
9761
9884
  end
@@ -9839,7 +9962,8 @@ module XeroRuby
9839
9962
  # @option opts [String] :status Filter by the combination of ContactID and Status. Get the linked transactions associated to a customer and with a status
9840
9963
  # @option opts [String] :target_transaction_id Filter by the TargetTransactionID. Get all the linked transactions allocated to a particular ACCREC invoice
9841
9964
  # @return [Array<(LinkedTransactions, Integer, Hash)>] LinkedTransactions data, response status code and response headers
9842
- def get_linked_transactions_with_http_info(xero_tenant_id, opts = {})
9965
+ def get_linked_transactions_with_http_info(xero_tenant_id, options = {})
9966
+ opts = options.dup
9843
9967
  if @api_client.config.debugging
9844
9968
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_linked_transactions ...'
9845
9969
  end
@@ -9915,7 +10039,8 @@ module XeroRuby
9915
10039
  # @param manual_journal_id [String] Unique identifier for a ManualJournal
9916
10040
  # @param [Hash] opts the optional parameters
9917
10041
  # @return [Array<(ManualJournals, Integer, Hash)>] ManualJournals data, response status code and response headers
9918
- def get_manual_journal_with_http_info(xero_tenant_id, manual_journal_id, opts = {})
10042
+ def get_manual_journal_with_http_info(xero_tenant_id, manual_journal_id, options = {})
10043
+ opts = options.dup
9919
10044
  if @api_client.config.debugging
9920
10045
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_manual_journal ...'
9921
10046
  end
@@ -9993,7 +10118,8 @@ module XeroRuby
9993
10118
  # @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
9994
10119
  # @param [Hash] opts the optional parameters
9995
10120
  # @return [Array<(File, Integer, Hash)>] File data, response status code and response headers
9996
- def get_manual_journal_attachment_by_file_name_with_http_info(xero_tenant_id, manual_journal_id, file_name, content_type, opts = {})
10121
+ def get_manual_journal_attachment_by_file_name_with_http_info(xero_tenant_id, manual_journal_id, file_name, content_type, options = {})
10122
+ opts = options.dup
9997
10123
  if @api_client.config.debugging
9998
10124
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_manual_journal_attachment_by_file_name ...'
9999
10125
  end
@@ -10080,7 +10206,8 @@ module XeroRuby
10080
10206
  # @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
10081
10207
  # @param [Hash] opts the optional parameters
10082
10208
  # @return [Array<(File, Integer, Hash)>] File data, response status code and response headers
10083
- def get_manual_journal_attachment_by_id_with_http_info(xero_tenant_id, manual_journal_id, attachment_id, content_type, opts = {})
10209
+ def get_manual_journal_attachment_by_id_with_http_info(xero_tenant_id, manual_journal_id, attachment_id, content_type, options = {})
10210
+ opts = options.dup
10084
10211
  if @api_client.config.debugging
10085
10212
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_manual_journal_attachment_by_id ...'
10086
10213
  end
@@ -10163,7 +10290,8 @@ module XeroRuby
10163
10290
  # @param manual_journal_id [String] Unique identifier for a ManualJournal
10164
10291
  # @param [Hash] opts the optional parameters
10165
10292
  # @return [Array<(Attachments, Integer, Hash)>] Attachments data, response status code and response headers
10166
- def get_manual_journal_attachments_with_http_info(xero_tenant_id, manual_journal_id, opts = {})
10293
+ def get_manual_journal_attachments_with_http_info(xero_tenant_id, manual_journal_id, options = {})
10294
+ opts = options.dup
10167
10295
  if @api_client.config.debugging
10168
10296
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_manual_journal_attachments ...'
10169
10297
  end
@@ -10243,7 +10371,8 @@ module XeroRuby
10243
10371
  # @option opts [String] :order Order by an any element
10244
10372
  # @option opts [Integer] :page e.g. page&#x3D;1 – Up to 100 manual journals will be returned in a single API call with line items shown for each overpayment
10245
10373
  # @return [Array<(ManualJournals, Integer, Hash)>] ManualJournals data, response status code and response headers
10246
- def get_manual_journals_with_http_info(xero_tenant_id, opts = {})
10374
+ def get_manual_journals_with_http_info(xero_tenant_id, options = {})
10375
+ opts = options.dup
10247
10376
  if @api_client.config.debugging
10248
10377
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_manual_journals ...'
10249
10378
  end
@@ -10317,7 +10446,8 @@ module XeroRuby
10317
10446
  # @param manual_journal_id [String] Unique identifier for a ManualJournal
10318
10447
  # @param [Hash] opts the optional parameters
10319
10448
  # @return [Array<(HistoryRecords, Integer, Hash)>] HistoryRecords data, response status code and response headers
10320
- def get_manual_journals_history_with_http_info(xero_tenant_id, manual_journal_id, opts = {})
10449
+ def get_manual_journals_history_with_http_info(xero_tenant_id, manual_journal_id, options = {})
10450
+ opts = options.dup
10321
10451
  if @api_client.config.debugging
10322
10452
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_manual_journals_history ...'
10323
10453
  end
@@ -10391,7 +10521,8 @@ module XeroRuby
10391
10521
  # @param invoice_id [String] Unique identifier for an Invoice
10392
10522
  # @param [Hash] opts the optional parameters
10393
10523
  # @return [Array<(OnlineInvoices, Integer, Hash)>] OnlineInvoices data, response status code and response headers
10394
- def get_online_invoice_with_http_info(xero_tenant_id, invoice_id, opts = {})
10524
+ def get_online_invoice_with_http_info(xero_tenant_id, invoice_id, options = {})
10525
+ opts = options.dup
10395
10526
  if @api_client.config.debugging
10396
10527
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_online_invoice ...'
10397
10528
  end
@@ -10463,7 +10594,8 @@ module XeroRuby
10463
10594
  # @param xero_tenant_id [String] Xero identifier for Tenant
10464
10595
  # @param [Hash] opts the optional parameters
10465
10596
  # @return [Array<(Actions, Integer, Hash)>] Actions data, response status code and response headers
10466
- def get_organisation_actions_with_http_info(xero_tenant_id, opts = {})
10597
+ def get_organisation_actions_with_http_info(xero_tenant_id, options = {})
10598
+ opts = options.dup
10467
10599
  if @api_client.config.debugging
10468
10600
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_organisation_actions ...'
10469
10601
  end
@@ -10533,7 +10665,8 @@ module XeroRuby
10533
10665
  # @param organisation_id [String] The unique Xero identifier for an organisation
10534
10666
  # @param [Hash] opts the optional parameters
10535
10667
  # @return [Array<(CISOrgSettings, Integer, Hash)>] CISOrgSettings data, response status code and response headers
10536
- def get_organisation_cis_settings_with_http_info(xero_tenant_id, organisation_id, opts = {})
10668
+ def get_organisation_cis_settings_with_http_info(xero_tenant_id, organisation_id, options = {})
10669
+ opts = options.dup
10537
10670
  if @api_client.config.debugging
10538
10671
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_organisation_cis_settings ...'
10539
10672
  end
@@ -10605,7 +10738,8 @@ module XeroRuby
10605
10738
  # @param xero_tenant_id [String] Xero identifier for Tenant
10606
10739
  # @param [Hash] opts the optional parameters
10607
10740
  # @return [Array<(Organisations, Integer, Hash)>] Organisations data, response status code and response headers
10608
- def get_organisations_with_http_info(xero_tenant_id, opts = {})
10741
+ def get_organisations_with_http_info(xero_tenant_id, options = {})
10742
+ opts = options.dup
10609
10743
  if @api_client.config.debugging
10610
10744
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_organisations ...'
10611
10745
  end
@@ -10675,7 +10809,8 @@ module XeroRuby
10675
10809
  # @param overpayment_id [String] Unique identifier for a Overpayment
10676
10810
  # @param [Hash] opts the optional parameters
10677
10811
  # @return [Array<(Overpayments, Integer, Hash)>] Overpayments data, response status code and response headers
10678
- def get_overpayment_with_http_info(xero_tenant_id, overpayment_id, opts = {})
10812
+ def get_overpayment_with_http_info(xero_tenant_id, overpayment_id, options = {})
10813
+ opts = options.dup
10679
10814
  if @api_client.config.debugging
10680
10815
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_overpayment ...'
10681
10816
  end
@@ -10749,7 +10884,8 @@ module XeroRuby
10749
10884
  # @param overpayment_id [String] Unique identifier for a Overpayment
10750
10885
  # @param [Hash] opts the optional parameters
10751
10886
  # @return [Array<(HistoryRecords, Integer, Hash)>] HistoryRecords data, response status code and response headers
10752
- def get_overpayment_history_with_http_info(xero_tenant_id, overpayment_id, opts = {})
10887
+ def get_overpayment_history_with_http_info(xero_tenant_id, overpayment_id, options = {})
10888
+ opts = options.dup
10753
10889
  if @api_client.config.debugging
10754
10890
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_overpayment_history ...'
10755
10891
  end
@@ -10831,7 +10967,8 @@ module XeroRuby
10831
10967
  # @option opts [Integer] :page e.g. page&#x3D;1 – Up to 100 overpayments will be returned in a single API call with line items shown for each overpayment
10832
10968
  # @option opts [Integer] :unitdp e.g. unitdp&#x3D;4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
10833
10969
  # @return [Array<(Overpayments, Integer, Hash)>] Overpayments data, response status code and response headers
10834
- def get_overpayments_with_http_info(xero_tenant_id, opts = {})
10970
+ def get_overpayments_with_http_info(xero_tenant_id, options = {})
10971
+ opts = options.dup
10835
10972
  if @api_client.config.debugging
10836
10973
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_overpayments ...'
10837
10974
  end
@@ -10906,7 +11043,8 @@ module XeroRuby
10906
11043
  # @param payment_id [String] Unique identifier for a Payment
10907
11044
  # @param [Hash] opts the optional parameters
10908
11045
  # @return [Array<(Payments, Integer, Hash)>] Payments data, response status code and response headers
10909
- def get_payment_with_http_info(xero_tenant_id, payment_id, opts = {})
11046
+ def get_payment_with_http_info(xero_tenant_id, payment_id, options = {})
11047
+ opts = options.dup
10910
11048
  if @api_client.config.debugging
10911
11049
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_payment ...'
10912
11050
  end
@@ -10980,7 +11118,8 @@ module XeroRuby
10980
11118
  # @param payment_id [String] Unique identifier for a Payment
10981
11119
  # @param [Hash] opts the optional parameters
10982
11120
  # @return [Array<(HistoryRecords, Integer, Hash)>] HistoryRecords data, response status code and response headers
10983
- def get_payment_history_with_http_info(xero_tenant_id, payment_id, opts = {})
11121
+ def get_payment_history_with_http_info(xero_tenant_id, payment_id, options = {})
11122
+ opts = options.dup
10984
11123
  if @api_client.config.debugging
10985
11124
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_payment_history ...'
10986
11125
  end
@@ -11052,7 +11191,8 @@ module XeroRuby
11052
11191
  # @param xero_tenant_id [String] Xero identifier for Tenant
11053
11192
  # @param [Hash] opts the optional parameters
11054
11193
  # @return [Array<(PaymentServices, Integer, Hash)>] PaymentServices data, response status code and response headers
11055
- def get_payment_services_with_http_info(xero_tenant_id, opts = {})
11194
+ def get_payment_services_with_http_info(xero_tenant_id, options = {})
11195
+ opts = options.dup
11056
11196
  if @api_client.config.debugging
11057
11197
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_payment_services ...'
11058
11198
  end
@@ -11128,7 +11268,8 @@ module XeroRuby
11128
11268
  # @option opts [String] :order Order by an any element
11129
11269
  # @option opts [Integer] :page Up to 100 payments will be returned in a single API call
11130
11270
  # @return [Array<(Payments, Integer, Hash)>] Payments data, response status code and response headers
11131
- def get_payments_with_http_info(xero_tenant_id, opts = {})
11271
+ def get_payments_with_http_info(xero_tenant_id, options = {})
11272
+ opts = options.dup
11132
11273
  if @api_client.config.debugging
11133
11274
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_payments ...'
11134
11275
  end
@@ -11202,7 +11343,8 @@ module XeroRuby
11202
11343
  # @param prepayment_id [String] Unique identifier for a PrePayment
11203
11344
  # @param [Hash] opts the optional parameters
11204
11345
  # @return [Array<(Prepayments, Integer, Hash)>] Prepayments data, response status code and response headers
11205
- def get_prepayment_with_http_info(xero_tenant_id, prepayment_id, opts = {})
11346
+ def get_prepayment_with_http_info(xero_tenant_id, prepayment_id, options = {})
11347
+ opts = options.dup
11206
11348
  if @api_client.config.debugging
11207
11349
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_prepayment ...'
11208
11350
  end
@@ -11276,7 +11418,8 @@ module XeroRuby
11276
11418
  # @param prepayment_id [String] Unique identifier for a PrePayment
11277
11419
  # @param [Hash] opts the optional parameters
11278
11420
  # @return [Array<(HistoryRecords, Integer, Hash)>] HistoryRecords data, response status code and response headers
11279
- def get_prepayment_history_with_http_info(xero_tenant_id, prepayment_id, opts = {})
11421
+ def get_prepayment_history_with_http_info(xero_tenant_id, prepayment_id, options = {})
11422
+ opts = options.dup
11280
11423
  if @api_client.config.debugging
11281
11424
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_prepayment_history ...'
11282
11425
  end
@@ -11358,7 +11501,8 @@ module XeroRuby
11358
11501
  # @option opts [Integer] :page e.g. page&#x3D;1 – Up to 100 prepayments will be returned in a single API call with line items shown for each overpayment
11359
11502
  # @option opts [Integer] :unitdp e.g. unitdp&#x3D;4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
11360
11503
  # @return [Array<(Prepayments, Integer, Hash)>] Prepayments data, response status code and response headers
11361
- def get_prepayments_with_http_info(xero_tenant_id, opts = {})
11504
+ def get_prepayments_with_http_info(xero_tenant_id, options = {})
11505
+ opts = options.dup
11362
11506
  if @api_client.config.debugging
11363
11507
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_prepayments ...'
11364
11508
  end
@@ -11433,7 +11577,8 @@ module XeroRuby
11433
11577
  # @param purchase_order_id [String] Unique identifier for an Purchase Order
11434
11578
  # @param [Hash] opts the optional parameters
11435
11579
  # @return [Array<(PurchaseOrders, Integer, Hash)>] PurchaseOrders data, response status code and response headers
11436
- def get_purchase_order_with_http_info(xero_tenant_id, purchase_order_id, opts = {})
11580
+ def get_purchase_order_with_http_info(xero_tenant_id, purchase_order_id, options = {})
11581
+ opts = options.dup
11437
11582
  if @api_client.config.debugging
11438
11583
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_purchase_order ...'
11439
11584
  end
@@ -11507,7 +11652,8 @@ module XeroRuby
11507
11652
  # @param purchase_order_id [String] Unique identifier for an Purchase Order
11508
11653
  # @param [Hash] opts the optional parameters
11509
11654
  # @return [Array<(File, Integer, Hash)>] File data, response status code and response headers
11510
- def get_purchase_order_as_pdf_with_http_info(xero_tenant_id, purchase_order_id, opts = {})
11655
+ def get_purchase_order_as_pdf_with_http_info(xero_tenant_id, purchase_order_id, options = {})
11656
+ opts = options.dup
11511
11657
  if @api_client.config.debugging
11512
11658
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_purchase_order_as_pdf ...'
11513
11659
  end
@@ -11585,7 +11731,8 @@ module XeroRuby
11585
11731
  # @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
11586
11732
  # @param [Hash] opts the optional parameters
11587
11733
  # @return [Array<(File, Integer, Hash)>] File data, response status code and response headers
11588
- def get_purchase_order_attachment_by_file_name_with_http_info(xero_tenant_id, purchase_order_id, file_name, content_type, opts = {})
11734
+ def get_purchase_order_attachment_by_file_name_with_http_info(xero_tenant_id, purchase_order_id, file_name, content_type, options = {})
11735
+ opts = options.dup
11589
11736
  if @api_client.config.debugging
11590
11737
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_purchase_order_attachment_by_file_name ...'
11591
11738
  end
@@ -11672,7 +11819,8 @@ module XeroRuby
11672
11819
  # @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
11673
11820
  # @param [Hash] opts the optional parameters
11674
11821
  # @return [Array<(File, Integer, Hash)>] File data, response status code and response headers
11675
- def get_purchase_order_attachment_by_id_with_http_info(xero_tenant_id, purchase_order_id, attachment_id, content_type, opts = {})
11822
+ def get_purchase_order_attachment_by_id_with_http_info(xero_tenant_id, purchase_order_id, attachment_id, content_type, options = {})
11823
+ opts = options.dup
11676
11824
  if @api_client.config.debugging
11677
11825
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_purchase_order_attachment_by_id ...'
11678
11826
  end
@@ -11755,7 +11903,8 @@ module XeroRuby
11755
11903
  # @param purchase_order_id [String] Unique identifier for an Purchase Order
11756
11904
  # @param [Hash] opts the optional parameters
11757
11905
  # @return [Array<(Attachments, Integer, Hash)>] Attachments data, response status code and response headers
11758
- def get_purchase_order_attachments_with_http_info(xero_tenant_id, purchase_order_id, opts = {})
11906
+ def get_purchase_order_attachments_with_http_info(xero_tenant_id, purchase_order_id, options = {})
11907
+ opts = options.dup
11759
11908
  if @api_client.config.debugging
11760
11909
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_purchase_order_attachments ...'
11761
11910
  end
@@ -11829,7 +11978,8 @@ module XeroRuby
11829
11978
  # @param purchase_order_number [String] Unique identifier for a PurchaseOrder
11830
11979
  # @param [Hash] opts the optional parameters
11831
11980
  # @return [Array<(PurchaseOrders, Integer, Hash)>] PurchaseOrders data, response status code and response headers
11832
- def get_purchase_order_by_number_with_http_info(xero_tenant_id, purchase_order_number, opts = {})
11981
+ def get_purchase_order_by_number_with_http_info(xero_tenant_id, purchase_order_number, options = {})
11982
+ opts = options.dup
11833
11983
  if @api_client.config.debugging
11834
11984
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_purchase_order_by_number ...'
11835
11985
  end
@@ -11903,7 +12053,8 @@ module XeroRuby
11903
12053
  # @param purchase_order_id [String] Unique identifier for an Purchase Order
11904
12054
  # @param [Hash] opts the optional parameters
11905
12055
  # @return [Array<(HistoryRecords, Integer, Hash)>] HistoryRecords data, response status code and response headers
11906
- def get_purchase_order_history_with_http_info(xero_tenant_id, purchase_order_id, opts = {})
12056
+ def get_purchase_order_history_with_http_info(xero_tenant_id, purchase_order_id, options = {})
12057
+ opts = options.dup
11907
12058
  if @api_client.config.debugging
11908
12059
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_purchase_order_history ...'
11909
12060
  end
@@ -11987,7 +12138,8 @@ module XeroRuby
11987
12138
  # @option opts [String] :order Order by an any element
11988
12139
  # @option opts [Integer] :page To specify a page, append the page parameter to the URL e.g. ?page&#x3D;1. If there are 100 records in the response you will need to check if there is any more data by fetching the next page e.g ?page&#x3D;2 and continuing this process until no more results are returned.
11989
12140
  # @return [Array<(PurchaseOrders, Integer, Hash)>] PurchaseOrders data, response status code and response headers
11990
- def get_purchase_orders_with_http_info(xero_tenant_id, opts = {})
12141
+ def get_purchase_orders_with_http_info(xero_tenant_id, options = {})
12142
+ opts = options.dup
11991
12143
  if @api_client.config.debugging
11992
12144
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_purchase_orders ...'
11993
12145
  end
@@ -12067,7 +12219,8 @@ module XeroRuby
12067
12219
  # @param quote_id [String] Unique identifier for an Quote
12068
12220
  # @param [Hash] opts the optional parameters
12069
12221
  # @return [Array<(Quotes, Integer, Hash)>] Quotes data, response status code and response headers
12070
- def get_quote_with_http_info(xero_tenant_id, quote_id, opts = {})
12222
+ def get_quote_with_http_info(xero_tenant_id, quote_id, options = {})
12223
+ opts = options.dup
12071
12224
  if @api_client.config.debugging
12072
12225
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_quote ...'
12073
12226
  end
@@ -12141,7 +12294,8 @@ module XeroRuby
12141
12294
  # @param quote_id [String] Unique identifier for an Quote
12142
12295
  # @param [Hash] opts the optional parameters
12143
12296
  # @return [Array<(File, Integer, Hash)>] File data, response status code and response headers
12144
- def get_quote_as_pdf_with_http_info(xero_tenant_id, quote_id, opts = {})
12297
+ def get_quote_as_pdf_with_http_info(xero_tenant_id, quote_id, options = {})
12298
+ opts = options.dup
12145
12299
  if @api_client.config.debugging
12146
12300
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_quote_as_pdf ...'
12147
12301
  end
@@ -12219,7 +12373,8 @@ module XeroRuby
12219
12373
  # @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
12220
12374
  # @param [Hash] opts the optional parameters
12221
12375
  # @return [Array<(File, Integer, Hash)>] File data, response status code and response headers
12222
- def get_quote_attachment_by_file_name_with_http_info(xero_tenant_id, quote_id, file_name, content_type, opts = {})
12376
+ def get_quote_attachment_by_file_name_with_http_info(xero_tenant_id, quote_id, file_name, content_type, options = {})
12377
+ opts = options.dup
12223
12378
  if @api_client.config.debugging
12224
12379
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_quote_attachment_by_file_name ...'
12225
12380
  end
@@ -12306,7 +12461,8 @@ module XeroRuby
12306
12461
  # @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
12307
12462
  # @param [Hash] opts the optional parameters
12308
12463
  # @return [Array<(File, Integer, Hash)>] File data, response status code and response headers
12309
- def get_quote_attachment_by_id_with_http_info(xero_tenant_id, quote_id, attachment_id, content_type, opts = {})
12464
+ def get_quote_attachment_by_id_with_http_info(xero_tenant_id, quote_id, attachment_id, content_type, options = {})
12465
+ opts = options.dup
12310
12466
  if @api_client.config.debugging
12311
12467
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_quote_attachment_by_id ...'
12312
12468
  end
@@ -12389,7 +12545,8 @@ module XeroRuby
12389
12545
  # @param quote_id [String] Unique identifier for an Quote
12390
12546
  # @param [Hash] opts the optional parameters
12391
12547
  # @return [Array<(Attachments, Integer, Hash)>] Attachments data, response status code and response headers
12392
- def get_quote_attachments_with_http_info(xero_tenant_id, quote_id, opts = {})
12548
+ def get_quote_attachments_with_http_info(xero_tenant_id, quote_id, options = {})
12549
+ opts = options.dup
12393
12550
  if @api_client.config.debugging
12394
12551
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_quote_attachments ...'
12395
12552
  end
@@ -12463,7 +12620,8 @@ module XeroRuby
12463
12620
  # @param quote_id [String] Unique identifier for an Quote
12464
12621
  # @param [Hash] opts the optional parameters
12465
12622
  # @return [Array<(HistoryRecords, Integer, Hash)>] HistoryRecords data, response status code and response headers
12466
- def get_quote_history_with_http_info(xero_tenant_id, quote_id, opts = {})
12623
+ def get_quote_history_with_http_info(xero_tenant_id, quote_id, options = {})
12624
+ opts = options.dup
12467
12625
  if @api_client.config.debugging
12468
12626
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_quote_history ...'
12469
12627
  end
@@ -12555,7 +12713,8 @@ module XeroRuby
12555
12713
  # @option opts [String] :order Order by an any element
12556
12714
  # @option opts [String] :quote_number Filter by quote number (e.g. GET https://.../Quotes?QuoteNumber&#x3D;QU-0001)
12557
12715
  # @return [Array<(Quotes, Integer, Hash)>] Quotes data, response status code and response headers
12558
- def get_quotes_with_http_info(xero_tenant_id, opts = {})
12716
+ def get_quotes_with_http_info(xero_tenant_id, options = {})
12717
+ opts = options.dup
12559
12718
  if @api_client.config.debugging
12560
12719
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_quotes ...'
12561
12720
  end
@@ -12637,7 +12796,8 @@ module XeroRuby
12637
12796
  # @param [Hash] opts the optional parameters
12638
12797
  # @option opts [Integer] :unitdp e.g. unitdp&#x3D;4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
12639
12798
  # @return [Array<(Receipts, Integer, Hash)>] Receipts data, response status code and response headers
12640
- def get_receipt_with_http_info(xero_tenant_id, receipt_id, opts = {})
12799
+ def get_receipt_with_http_info(xero_tenant_id, receipt_id, options = {})
12800
+ opts = options.dup
12641
12801
  if @api_client.config.debugging
12642
12802
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_receipt ...'
12643
12803
  end
@@ -12716,7 +12876,8 @@ module XeroRuby
12716
12876
  # @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
12717
12877
  # @param [Hash] opts the optional parameters
12718
12878
  # @return [Array<(File, Integer, Hash)>] File data, response status code and response headers
12719
- def get_receipt_attachment_by_file_name_with_http_info(xero_tenant_id, receipt_id, file_name, content_type, opts = {})
12879
+ def get_receipt_attachment_by_file_name_with_http_info(xero_tenant_id, receipt_id, file_name, content_type, options = {})
12880
+ opts = options.dup
12720
12881
  if @api_client.config.debugging
12721
12882
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_receipt_attachment_by_file_name ...'
12722
12883
  end
@@ -12803,7 +12964,8 @@ module XeroRuby
12803
12964
  # @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
12804
12965
  # @param [Hash] opts the optional parameters
12805
12966
  # @return [Array<(File, Integer, Hash)>] File data, response status code and response headers
12806
- def get_receipt_attachment_by_id_with_http_info(xero_tenant_id, receipt_id, attachment_id, content_type, opts = {})
12967
+ def get_receipt_attachment_by_id_with_http_info(xero_tenant_id, receipt_id, attachment_id, content_type, options = {})
12968
+ opts = options.dup
12807
12969
  if @api_client.config.debugging
12808
12970
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_receipt_attachment_by_id ...'
12809
12971
  end
@@ -12886,7 +13048,8 @@ module XeroRuby
12886
13048
  # @param receipt_id [String] Unique identifier for a Receipt
12887
13049
  # @param [Hash] opts the optional parameters
12888
13050
  # @return [Array<(Attachments, Integer, Hash)>] Attachments data, response status code and response headers
12889
- def get_receipt_attachments_with_http_info(xero_tenant_id, receipt_id, opts = {})
13051
+ def get_receipt_attachments_with_http_info(xero_tenant_id, receipt_id, options = {})
13052
+ opts = options.dup
12890
13053
  if @api_client.config.debugging
12891
13054
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_receipt_attachments ...'
12892
13055
  end
@@ -12960,7 +13123,8 @@ module XeroRuby
12960
13123
  # @param receipt_id [String] Unique identifier for a Receipt
12961
13124
  # @param [Hash] opts the optional parameters
12962
13125
  # @return [Array<(HistoryRecords, Integer, Hash)>] HistoryRecords data, response status code and response headers
12963
- def get_receipt_history_with_http_info(xero_tenant_id, receipt_id, opts = {})
13126
+ def get_receipt_history_with_http_info(xero_tenant_id, receipt_id, options = {})
13127
+ opts = options.dup
12964
13128
  if @api_client.config.debugging
12965
13129
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_receipt_history ...'
12966
13130
  end
@@ -13040,7 +13204,8 @@ module XeroRuby
13040
13204
  # @option opts [String] :order Order by an any element
13041
13205
  # @option opts [Integer] :unitdp e.g. unitdp&#x3D;4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
13042
13206
  # @return [Array<(Receipts, Integer, Hash)>] Receipts data, response status code and response headers
13043
- def get_receipts_with_http_info(xero_tenant_id, opts = {})
13207
+ def get_receipts_with_http_info(xero_tenant_id, options = {})
13208
+ opts = options.dup
13044
13209
  if @api_client.config.debugging
13045
13210
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_receipts ...'
13046
13211
  end
@@ -13114,7 +13279,8 @@ module XeroRuby
13114
13279
  # @param repeating_invoice_id [String] Unique identifier for a Repeating Invoice
13115
13280
  # @param [Hash] opts the optional parameters
13116
13281
  # @return [Array<(RepeatingInvoices, Integer, Hash)>] RepeatingInvoices data, response status code and response headers
13117
- def get_repeating_invoice_with_http_info(xero_tenant_id, repeating_invoice_id, opts = {})
13282
+ def get_repeating_invoice_with_http_info(xero_tenant_id, repeating_invoice_id, options = {})
13283
+ opts = options.dup
13118
13284
  if @api_client.config.debugging
13119
13285
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_repeating_invoice ...'
13120
13286
  end
@@ -13192,7 +13358,8 @@ module XeroRuby
13192
13358
  # @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
13193
13359
  # @param [Hash] opts the optional parameters
13194
13360
  # @return [Array<(File, Integer, Hash)>] File data, response status code and response headers
13195
- def get_repeating_invoice_attachment_by_file_name_with_http_info(xero_tenant_id, repeating_invoice_id, file_name, content_type, opts = {})
13361
+ def get_repeating_invoice_attachment_by_file_name_with_http_info(xero_tenant_id, repeating_invoice_id, file_name, content_type, options = {})
13362
+ opts = options.dup
13196
13363
  if @api_client.config.debugging
13197
13364
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_repeating_invoice_attachment_by_file_name ...'
13198
13365
  end
@@ -13279,7 +13446,8 @@ module XeroRuby
13279
13446
  # @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
13280
13447
  # @param [Hash] opts the optional parameters
13281
13448
  # @return [Array<(File, Integer, Hash)>] File data, response status code and response headers
13282
- def get_repeating_invoice_attachment_by_id_with_http_info(xero_tenant_id, repeating_invoice_id, attachment_id, content_type, opts = {})
13449
+ def get_repeating_invoice_attachment_by_id_with_http_info(xero_tenant_id, repeating_invoice_id, attachment_id, content_type, options = {})
13450
+ opts = options.dup
13283
13451
  if @api_client.config.debugging
13284
13452
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_repeating_invoice_attachment_by_id ...'
13285
13453
  end
@@ -13362,7 +13530,8 @@ module XeroRuby
13362
13530
  # @param repeating_invoice_id [String] Unique identifier for a Repeating Invoice
13363
13531
  # @param [Hash] opts the optional parameters
13364
13532
  # @return [Array<(Attachments, Integer, Hash)>] Attachments data, response status code and response headers
13365
- def get_repeating_invoice_attachments_with_http_info(xero_tenant_id, repeating_invoice_id, opts = {})
13533
+ def get_repeating_invoice_attachments_with_http_info(xero_tenant_id, repeating_invoice_id, options = {})
13534
+ opts = options.dup
13366
13535
  if @api_client.config.debugging
13367
13536
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_repeating_invoice_attachments ...'
13368
13537
  end
@@ -13436,7 +13605,8 @@ module XeroRuby
13436
13605
  # @param repeating_invoice_id [String] Unique identifier for a Repeating Invoice
13437
13606
  # @param [Hash] opts the optional parameters
13438
13607
  # @return [Array<(HistoryRecords, Integer, Hash)>] HistoryRecords data, response status code and response headers
13439
- def get_repeating_invoice_history_with_http_info(xero_tenant_id, repeating_invoice_id, opts = {})
13608
+ def get_repeating_invoice_history_with_http_info(xero_tenant_id, repeating_invoice_id, options = {})
13609
+ opts = options.dup
13440
13610
  if @api_client.config.debugging
13441
13611
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_repeating_invoice_history ...'
13442
13612
  end
@@ -13512,7 +13682,8 @@ module XeroRuby
13512
13682
  # @option opts [String] :where Filter by an any element
13513
13683
  # @option opts [String] :order Order by an any element
13514
13684
  # @return [Array<(RepeatingInvoices, Integer, Hash)>] RepeatingInvoices data, response status code and response headers
13515
- def get_repeating_invoices_with_http_info(xero_tenant_id, opts = {})
13685
+ def get_repeating_invoices_with_http_info(xero_tenant_id, options = {})
13686
+ opts = options.dup
13516
13687
  if @api_client.config.debugging
13517
13688
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_repeating_invoices ...'
13518
13689
  end
@@ -13590,7 +13761,8 @@ module XeroRuby
13590
13761
  # @option opts [Date] :from_date filter by the from date of the report e.g. 2021-02-01
13591
13762
  # @option opts [Date] :to_date filter by the to date of the report e.g. 2021-02-28
13592
13763
  # @return [Array<(ReportWithRows, Integer, Hash)>] ReportWithRows data, response status code and response headers
13593
- def get_report_aged_payables_by_contact_with_http_info(xero_tenant_id, contact_id, opts = {})
13764
+ def get_report_aged_payables_by_contact_with_http_info(xero_tenant_id, contact_id, options = {})
13765
+ opts = options.dup
13594
13766
  if @api_client.config.debugging
13595
13767
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_report_aged_payables_by_contact ...'
13596
13768
  end
@@ -13674,7 +13846,8 @@ module XeroRuby
13674
13846
  # @option opts [Date] :from_date filter by the from date of the report e.g. 2021-02-01
13675
13847
  # @option opts [Date] :to_date filter by the to date of the report e.g. 2021-02-28
13676
13848
  # @return [Array<(ReportWithRows, Integer, Hash)>] ReportWithRows data, response status code and response headers
13677
- def get_report_aged_receivables_by_contact_with_http_info(xero_tenant_id, contact_id, opts = {})
13849
+ def get_report_aged_receivables_by_contact_with_http_info(xero_tenant_id, contact_id, options = {})
13850
+ opts = options.dup
13678
13851
  if @api_client.config.debugging
13679
13852
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_report_aged_receivables_by_contact ...'
13680
13853
  end
@@ -13752,7 +13925,8 @@ module XeroRuby
13752
13925
  # @param report_id [String] Unique identifier for a Report
13753
13926
  # @param [Hash] opts the optional parameters
13754
13927
  # @return [Array<(ReportWithRows, Integer, Hash)>] ReportWithRows data, response status code and response headers
13755
- def get_report_ba_sor_gst_with_http_info(xero_tenant_id, report_id, opts = {})
13928
+ def get_report_ba_sor_gst_with_http_info(xero_tenant_id, report_id, options = {})
13929
+ opts = options.dup
13756
13930
  if @api_client.config.debugging
13757
13931
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_report_ba_sor_gst ...'
13758
13932
  end
@@ -13824,7 +13998,8 @@ module XeroRuby
13824
13998
  # @param xero_tenant_id [String] Xero identifier for Tenant
13825
13999
  # @param [Hash] opts the optional parameters
13826
14000
  # @return [Array<(ReportWithRows, Integer, Hash)>] ReportWithRows data, response status code and response headers
13827
- def get_report_ba_sor_gst_list_with_http_info(xero_tenant_id, opts = {})
14001
+ def get_report_ba_sor_gst_list_with_http_info(xero_tenant_id, options = {})
14002
+ opts = options.dup
13828
14003
  if @api_client.config.debugging
13829
14004
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_report_ba_sor_gst_list ...'
13830
14005
  end
@@ -13906,7 +14081,8 @@ module XeroRuby
13906
14081
  # @option opts [Boolean] :standard_layout The standard layout boolean for the Balance Sheet report
13907
14082
  # @option opts [Boolean] :payments_only return a cash basis for the Balance Sheet report
13908
14083
  # @return [Array<(ReportWithRows, Integer, Hash)>] ReportWithRows data, response status code and response headers
13909
- def get_report_balance_sheet_with_http_info(xero_tenant_id, opts = {})
14084
+ def get_report_balance_sheet_with_http_info(xero_tenant_id, options = {})
14085
+ opts = options.dup
13910
14086
  if @api_client.config.debugging
13911
14087
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_report_balance_sheet ...'
13912
14088
  end
@@ -13989,7 +14165,8 @@ module XeroRuby
13989
14165
  # @option opts [Date] :from_date filter by the from date of the report e.g. 2021-02-01
13990
14166
  # @option opts [Date] :to_date filter by the to date of the report e.g. 2021-02-28
13991
14167
  # @return [Array<(ReportWithRows, Integer, Hash)>] ReportWithRows data, response status code and response headers
13992
- def get_report_bank_summary_with_http_info(xero_tenant_id, opts = {})
14168
+ def get_report_bank_summary_with_http_info(xero_tenant_id, options = {})
14169
+ opts = options.dup
13993
14170
  if @api_client.config.debugging
13994
14171
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_report_bank_summary ...'
13995
14172
  end
@@ -14065,7 +14242,8 @@ module XeroRuby
14065
14242
  # @option opts [Integer] :period The number of periods to compare (integer between 1 and 12)
14066
14243
  # @option opts [Integer] :timeframe The period size to compare to (1&#x3D;month, 3&#x3D;quarter, 12&#x3D;year)
14067
14244
  # @return [Array<(ReportWithRows, Integer, Hash)>] ReportWithRows data, response status code and response headers
14068
- def get_report_budget_summary_with_http_info(xero_tenant_id, opts = {})
14245
+ def get_report_budget_summary_with_http_info(xero_tenant_id, options = {})
14246
+ opts = options.dup
14069
14247
  if @api_client.config.debugging
14070
14248
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_report_budget_summary ...'
14071
14249
  end
@@ -14138,7 +14316,8 @@ module XeroRuby
14138
14316
  # @param [Hash] opts the optional parameters
14139
14317
  # @option opts [Date] :date The date for the Bank Summary report e.g. 2018-03-31
14140
14318
  # @return [Array<(ReportWithRows, Integer, Hash)>] ReportWithRows data, response status code and response headers
14141
- def get_report_executive_summary_with_http_info(xero_tenant_id, opts = {})
14319
+ def get_report_executive_summary_with_http_info(xero_tenant_id, options = {})
14320
+ opts = options.dup
14142
14321
  if @api_client.config.debugging
14143
14322
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_report_executive_summary ...'
14144
14323
  end
@@ -14227,7 +14406,8 @@ module XeroRuby
14227
14406
  # @option opts [Boolean] :standard_layout Return the standard layout for the ProfitAndLoss report
14228
14407
  # @option opts [Boolean] :payments_only Return cash only basis for the ProfitAndLoss report
14229
14408
  # @return [Array<(ReportWithRows, Integer, Hash)>] ReportWithRows data, response status code and response headers
14230
- def get_report_profit_and_loss_with_http_info(xero_tenant_id, opts = {})
14409
+ def get_report_profit_and_loss_with_http_info(xero_tenant_id, options = {})
14410
+ opts = options.dup
14231
14411
  if @api_client.config.debugging
14232
14412
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_report_profit_and_loss ...'
14233
14413
  end
@@ -14311,7 +14491,8 @@ module XeroRuby
14311
14491
  # @param [Hash] opts the optional parameters
14312
14492
  # @option opts [String] :report_year The year of the 1099 report
14313
14493
  # @return [Array<(Reports, Integer, Hash)>] Reports data, response status code and response headers
14314
- def get_report_ten_ninety_nine_with_http_info(xero_tenant_id, opts = {})
14494
+ def get_report_ten_ninety_nine_with_http_info(xero_tenant_id, options = {})
14495
+ opts = options.dup
14315
14496
  if @api_client.config.debugging
14316
14497
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_report_ten_ninety_nine ...'
14317
14498
  end
@@ -14384,7 +14565,8 @@ module XeroRuby
14384
14565
  # @option opts [Date] :date The date for the Trial Balance report e.g. 2018-03-31
14385
14566
  # @option opts [Boolean] :payments_only Return cash only basis for the Trial Balance report
14386
14567
  # @return [Array<(ReportWithRows, Integer, Hash)>] ReportWithRows data, response status code and response headers
14387
- def get_report_trial_balance_with_http_info(xero_tenant_id, opts = {})
14568
+ def get_report_trial_balance_with_http_info(xero_tenant_id, options = {})
14569
+ opts = options.dup
14388
14570
  if @api_client.config.debugging
14389
14571
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_report_trial_balance ...'
14390
14572
  end
@@ -14460,7 +14642,8 @@ module XeroRuby
14460
14642
  # @option opts [String] :order Order by an any element
14461
14643
  # @option opts [String] :tax_type Filter by tax type
14462
14644
  # @return [Array<(TaxRates, Integer, Hash)>] TaxRates data, response status code and response headers
14463
- def get_tax_rates_with_http_info(xero_tenant_id, opts = {})
14645
+ def get_tax_rates_with_http_info(xero_tenant_id, options = {})
14646
+ opts = options.dup
14464
14647
  if @api_client.config.debugging
14465
14648
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_tax_rates ...'
14466
14649
  end
@@ -14537,7 +14720,8 @@ module XeroRuby
14537
14720
  # @option opts [String] :order Order by an any element
14538
14721
  # @option opts [Boolean] :include_archived e.g. includeArchived&#x3D;true - Categories and options with a status of ARCHIVED will be included in the response
14539
14722
  # @return [Array<(TrackingCategories, Integer, Hash)>] TrackingCategories data, response status code and response headers
14540
- def get_tracking_categories_with_http_info(xero_tenant_id, opts = {})
14723
+ def get_tracking_categories_with_http_info(xero_tenant_id, options = {})
14724
+ opts = options.dup
14541
14725
  if @api_client.config.debugging
14542
14726
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_tracking_categories ...'
14543
14727
  end
@@ -14610,7 +14794,8 @@ module XeroRuby
14610
14794
  # @param tracking_category_id [String] Unique identifier for a TrackingCategory
14611
14795
  # @param [Hash] opts the optional parameters
14612
14796
  # @return [Array<(TrackingCategories, Integer, Hash)>] TrackingCategories data, response status code and response headers
14613
- def get_tracking_category_with_http_info(xero_tenant_id, tracking_category_id, opts = {})
14797
+ def get_tracking_category_with_http_info(xero_tenant_id, tracking_category_id, options = {})
14798
+ opts = options.dup
14614
14799
  if @api_client.config.debugging
14615
14800
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_tracking_category ...'
14616
14801
  end
@@ -14684,7 +14869,8 @@ module XeroRuby
14684
14869
  # @param user_id [String] Unique identifier for a User
14685
14870
  # @param [Hash] opts the optional parameters
14686
14871
  # @return [Array<(Users, Integer, Hash)>] Users data, response status code and response headers
14687
- def get_user_with_http_info(xero_tenant_id, user_id, opts = {})
14872
+ def get_user_with_http_info(xero_tenant_id, user_id, options = {})
14873
+ opts = options.dup
14688
14874
  if @api_client.config.debugging
14689
14875
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_user ...'
14690
14876
  end
@@ -14762,7 +14948,8 @@ module XeroRuby
14762
14948
  # @option opts [String] :where Filter by an any element
14763
14949
  # @option opts [String] :order Order by an any element
14764
14950
  # @return [Array<(Users, Integer, Hash)>] Users data, response status code and response headers
14765
- def get_users_with_http_info(xero_tenant_id, opts = {})
14951
+ def get_users_with_http_info(xero_tenant_id, options = {})
14952
+ opts = options.dup
14766
14953
  if @api_client.config.debugging
14767
14954
  @api_client.config.logger.debug 'Calling API: AccountingApi.get_users ...'
14768
14955
  end
@@ -14835,7 +15022,8 @@ module XeroRuby
14835
15022
  # @param setup [Setup] Object including an accounts array, a conversion balances array and a conversion date object in body of request
14836
15023
  # @param [Hash] opts the optional parameters
14837
15024
  # @return [Array<(ImportSummaryObject, Integer, Hash)>] ImportSummaryObject data, response status code and response headers
14838
- def post_setup_with_http_info(xero_tenant_id, setup, opts = {})
15025
+ def post_setup_with_http_info(xero_tenant_id, setup, options = {})
15026
+ opts = options.dup
14839
15027
  if @api_client.config.debugging
14840
15028
  @api_client.config.logger.debug 'Calling API: AccountingApi.post_setup ...'
14841
15029
  end
@@ -14913,7 +15101,8 @@ module XeroRuby
14913
15101
  # @param accounts [Accounts] Request of type Accounts array with one Account
14914
15102
  # @param [Hash] opts the optional parameters
14915
15103
  # @return [Array<(Accounts, Integer, Hash)>] Accounts data, response status code and response headers
14916
- def update_account_with_http_info(xero_tenant_id, account_id, accounts, opts = {})
15104
+ def update_account_with_http_info(xero_tenant_id, account_id, accounts, options = {})
15105
+ opts = options.dup
14917
15106
  if @api_client.config.debugging
14918
15107
  @api_client.config.logger.debug 'Calling API: AccountingApi.update_account ...'
14919
15108
  end
@@ -14997,7 +15186,8 @@ module XeroRuby
14997
15186
  # @param body [String] Byte array of file in body of request
14998
15187
  # @param [Hash] opts the optional parameters
14999
15188
  # @return [Array<(Attachments, Integer, Hash)>] Attachments data, response status code and response headers
15000
- def update_account_attachment_by_file_name_with_http_info(xero_tenant_id, account_id, file_name, body, opts = {})
15189
+ def update_account_attachment_by_file_name_with_http_info(xero_tenant_id, account_id, file_name, body, options = {})
15190
+ opts = options.dup
15001
15191
  if @api_client.config.debugging
15002
15192
  @api_client.config.logger.debug 'Calling API: AccountingApi.update_account_attachment_by_file_name ...'
15003
15193
  end
@@ -15085,7 +15275,8 @@ module XeroRuby
15085
15275
  # @param [Hash] opts the optional parameters
15086
15276
  # @option opts [Integer] :unitdp e.g. unitdp&#x3D;4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
15087
15277
  # @return [Array<(BankTransactions, Integer, Hash)>] BankTransactions data, response status code and response headers
15088
- def update_bank_transaction_with_http_info(xero_tenant_id, bank_transaction_id, bank_transactions, opts = {})
15278
+ def update_bank_transaction_with_http_info(xero_tenant_id, bank_transaction_id, bank_transactions, options = {})
15279
+ opts = options.dup
15089
15280
  if @api_client.config.debugging
15090
15281
  @api_client.config.logger.debug 'Calling API: AccountingApi.update_bank_transaction ...'
15091
15282
  end
@@ -15170,7 +15361,8 @@ module XeroRuby
15170
15361
  # @param body [String] Byte array of file in body of request
15171
15362
  # @param [Hash] opts the optional parameters
15172
15363
  # @return [Array<(Attachments, Integer, Hash)>] Attachments data, response status code and response headers
15173
- def update_bank_transaction_attachment_by_file_name_with_http_info(xero_tenant_id, bank_transaction_id, file_name, body, opts = {})
15364
+ def update_bank_transaction_attachment_by_file_name_with_http_info(xero_tenant_id, bank_transaction_id, file_name, body, options = {})
15365
+ opts = options.dup
15174
15366
  if @api_client.config.debugging
15175
15367
  @api_client.config.logger.debug 'Calling API: AccountingApi.update_bank_transaction_attachment_by_file_name ...'
15176
15368
  end
@@ -15256,7 +15448,8 @@ module XeroRuby
15256
15448
  # @param body [String] Byte array of file in body of request
15257
15449
  # @param [Hash] opts the optional parameters
15258
15450
  # @return [Array<(Attachments, Integer, Hash)>] Attachments data, response status code and response headers
15259
- def update_bank_transfer_attachment_by_file_name_with_http_info(xero_tenant_id, bank_transfer_id, file_name, body, opts = {})
15451
+ def update_bank_transfer_attachment_by_file_name_with_http_info(xero_tenant_id, bank_transfer_id, file_name, body, options = {})
15452
+ opts = options.dup
15260
15453
  if @api_client.config.debugging
15261
15454
  @api_client.config.logger.debug 'Calling API: AccountingApi.update_bank_transfer_attachment_by_file_name ...'
15262
15455
  end
@@ -15342,7 +15535,8 @@ module XeroRuby
15342
15535
  # @param contacts [Contacts] an array of Contacts containing single Contact object with properties to update
15343
15536
  # @param [Hash] opts the optional parameters
15344
15537
  # @return [Array<(Contacts, Integer, Hash)>] Contacts data, response status code and response headers
15345
- def update_contact_with_http_info(xero_tenant_id, contact_id, contacts, opts = {})
15538
+ def update_contact_with_http_info(xero_tenant_id, contact_id, contacts, options = {})
15539
+ opts = options.dup
15346
15540
  if @api_client.config.debugging
15347
15541
  @api_client.config.logger.debug 'Calling API: AccountingApi.update_contact ...'
15348
15542
  end
@@ -15424,7 +15618,8 @@ module XeroRuby
15424
15618
  # @param body [String] Byte array of file in body of request
15425
15619
  # @param [Hash] opts the optional parameters
15426
15620
  # @return [Array<(Attachments, Integer, Hash)>] Attachments data, response status code and response headers
15427
- def update_contact_attachment_by_file_name_with_http_info(xero_tenant_id, contact_id, file_name, body, opts = {})
15621
+ def update_contact_attachment_by_file_name_with_http_info(xero_tenant_id, contact_id, file_name, body, options = {})
15622
+ opts = options.dup
15428
15623
  if @api_client.config.debugging
15429
15624
  @api_client.config.logger.debug 'Calling API: AccountingApi.update_contact_attachment_by_file_name ...'
15430
15625
  end
@@ -15510,7 +15705,8 @@ module XeroRuby
15510
15705
  # @param contact_groups [ContactGroups] an array of Contact groups with Name of specific group to update
15511
15706
  # @param [Hash] opts the optional parameters
15512
15707
  # @return [Array<(ContactGroups, Integer, Hash)>] ContactGroups data, response status code and response headers
15513
- def update_contact_group_with_http_info(xero_tenant_id, contact_group_id, contact_groups, opts = {})
15708
+ def update_contact_group_with_http_info(xero_tenant_id, contact_group_id, contact_groups, options = {})
15709
+ opts = options.dup
15514
15710
  if @api_client.config.debugging
15515
15711
  @api_client.config.logger.debug 'Calling API: AccountingApi.update_contact_group ...'
15516
15712
  end
@@ -15594,7 +15790,8 @@ module XeroRuby
15594
15790
  # @param [Hash] opts the optional parameters
15595
15791
  # @option opts [Integer] :unitdp e.g. unitdp&#x3D;4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
15596
15792
  # @return [Array<(CreditNotes, Integer, Hash)>] CreditNotes data, response status code and response headers
15597
- def update_credit_note_with_http_info(xero_tenant_id, credit_note_id, credit_notes, opts = {})
15793
+ def update_credit_note_with_http_info(xero_tenant_id, credit_note_id, credit_notes, options = {})
15794
+ opts = options.dup
15598
15795
  if @api_client.config.debugging
15599
15796
  @api_client.config.logger.debug 'Calling API: AccountingApi.update_credit_note ...'
15600
15797
  end
@@ -15679,7 +15876,8 @@ module XeroRuby
15679
15876
  # @param body [String] Byte array of file in body of request
15680
15877
  # @param [Hash] opts the optional parameters
15681
15878
  # @return [Array<(Attachments, Integer, Hash)>] Attachments data, response status code and response headers
15682
- def update_credit_note_attachment_by_file_name_with_http_info(xero_tenant_id, credit_note_id, file_name, body, opts = {})
15879
+ def update_credit_note_attachment_by_file_name_with_http_info(xero_tenant_id, credit_note_id, file_name, body, options = {})
15880
+ opts = options.dup
15683
15881
  if @api_client.config.debugging
15684
15882
  @api_client.config.logger.debug 'Calling API: AccountingApi.update_credit_note_attachment_by_file_name ...'
15685
15883
  end
@@ -15765,7 +15963,8 @@ module XeroRuby
15765
15963
  # @param expense_claims [ExpenseClaims]
15766
15964
  # @param [Hash] opts the optional parameters
15767
15965
  # @return [Array<(ExpenseClaims, Integer, Hash)>] ExpenseClaims data, response status code and response headers
15768
- def update_expense_claim_with_http_info(xero_tenant_id, expense_claim_id, expense_claims, opts = {})
15966
+ def update_expense_claim_with_http_info(xero_tenant_id, expense_claim_id, expense_claims, options = {})
15967
+ opts = options.dup
15769
15968
  if @api_client.config.debugging
15770
15969
  @api_client.config.logger.debug 'Calling API: AccountingApi.update_expense_claim ...'
15771
15970
  end
@@ -15849,7 +16048,8 @@ module XeroRuby
15849
16048
  # @param [Hash] opts the optional parameters
15850
16049
  # @option opts [Integer] :unitdp e.g. unitdp&#x3D;4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
15851
16050
  # @return [Array<(Invoices, Integer, Hash)>] Invoices data, response status code and response headers
15852
- def update_invoice_with_http_info(xero_tenant_id, invoice_id, invoices, opts = {})
16051
+ def update_invoice_with_http_info(xero_tenant_id, invoice_id, invoices, options = {})
16052
+ opts = options.dup
15853
16053
  if @api_client.config.debugging
15854
16054
  @api_client.config.logger.debug 'Calling API: AccountingApi.update_invoice ...'
15855
16055
  end
@@ -15934,7 +16134,8 @@ module XeroRuby
15934
16134
  # @param body [String] Byte array of file in body of request
15935
16135
  # @param [Hash] opts the optional parameters
15936
16136
  # @return [Array<(Attachments, Integer, Hash)>] Attachments data, response status code and response headers
15937
- def update_invoice_attachment_by_file_name_with_http_info(xero_tenant_id, invoice_id, file_name, body, opts = {})
16137
+ def update_invoice_attachment_by_file_name_with_http_info(xero_tenant_id, invoice_id, file_name, body, options = {})
16138
+ opts = options.dup
15938
16139
  if @api_client.config.debugging
15939
16140
  @api_client.config.logger.debug 'Calling API: AccountingApi.update_invoice_attachment_by_file_name ...'
15940
16141
  end
@@ -16022,7 +16223,8 @@ module XeroRuby
16022
16223
  # @param [Hash] opts the optional parameters
16023
16224
  # @option opts [Integer] :unitdp e.g. unitdp&#x3D;4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
16024
16225
  # @return [Array<(Items, Integer, Hash)>] Items data, response status code and response headers
16025
- def update_item_with_http_info(xero_tenant_id, item_id, items, opts = {})
16226
+ def update_item_with_http_info(xero_tenant_id, item_id, items, options = {})
16227
+ opts = options.dup
16026
16228
  if @api_client.config.debugging
16027
16229
  @api_client.config.logger.debug 'Calling API: AccountingApi.update_item ...'
16028
16230
  end
@@ -16105,7 +16307,8 @@ module XeroRuby
16105
16307
  # @param linked_transactions [LinkedTransactions]
16106
16308
  # @param [Hash] opts the optional parameters
16107
16309
  # @return [Array<(LinkedTransactions, Integer, Hash)>] LinkedTransactions data, response status code and response headers
16108
- def update_linked_transaction_with_http_info(xero_tenant_id, linked_transaction_id, linked_transactions, opts = {})
16310
+ def update_linked_transaction_with_http_info(xero_tenant_id, linked_transaction_id, linked_transactions, options = {})
16311
+ opts = options.dup
16109
16312
  if @api_client.config.debugging
16110
16313
  @api_client.config.logger.debug 'Calling API: AccountingApi.update_linked_transaction ...'
16111
16314
  end
@@ -16187,7 +16390,8 @@ module XeroRuby
16187
16390
  # @param manual_journals [ManualJournals]
16188
16391
  # @param [Hash] opts the optional parameters
16189
16392
  # @return [Array<(ManualJournals, Integer, Hash)>] ManualJournals data, response status code and response headers
16190
- def update_manual_journal_with_http_info(xero_tenant_id, manual_journal_id, manual_journals, opts = {})
16393
+ def update_manual_journal_with_http_info(xero_tenant_id, manual_journal_id, manual_journals, options = {})
16394
+ opts = options.dup
16191
16395
  if @api_client.config.debugging
16192
16396
  @api_client.config.logger.debug 'Calling API: AccountingApi.update_manual_journal ...'
16193
16397
  end
@@ -16271,7 +16475,8 @@ module XeroRuby
16271
16475
  # @param body [String] Byte array of file in body of request
16272
16476
  # @param [Hash] opts the optional parameters
16273
16477
  # @return [Array<(Attachments, Integer, Hash)>] Attachments data, response status code and response headers
16274
- def update_manual_journal_attachment_by_file_name_with_http_info(xero_tenant_id, manual_journal_id, file_name, body, opts = {})
16478
+ def update_manual_journal_attachment_by_file_name_with_http_info(xero_tenant_id, manual_journal_id, file_name, body, options = {})
16479
+ opts = options.dup
16275
16480
  if @api_client.config.debugging
16276
16481
  @api_client.config.logger.debug 'Calling API: AccountingApi.update_manual_journal_attachment_by_file_name ...'
16277
16482
  end
@@ -16359,7 +16564,8 @@ module XeroRuby
16359
16564
  # @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors
16360
16565
  # @option opts [Integer] :unitdp e.g. unitdp&#x3D;4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
16361
16566
  # @return [Array<(BankTransactions, Integer, Hash)>] BankTransactions data, response status code and response headers
16362
- def update_or_create_bank_transactions_with_http_info(xero_tenant_id, bank_transactions, opts = {})
16567
+ def update_or_create_bank_transactions_with_http_info(xero_tenant_id, bank_transactions, options = {})
16568
+ opts = options.dup
16363
16569
  if @api_client.config.debugging
16364
16570
  @api_client.config.logger.debug 'Calling API: AccountingApi.update_or_create_bank_transactions ...'
16365
16571
  end
@@ -16439,7 +16645,8 @@ module XeroRuby
16439
16645
  # @param [Hash] opts the optional parameters
16440
16646
  # @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors
16441
16647
  # @return [Array<(Contacts, Integer, Hash)>] Contacts data, response status code and response headers
16442
- def update_or_create_contacts_with_http_info(xero_tenant_id, contacts, opts = {})
16648
+ def update_or_create_contacts_with_http_info(xero_tenant_id, contacts, options = {})
16649
+ opts = options.dup
16443
16650
  if @api_client.config.debugging
16444
16651
  @api_client.config.logger.debug 'Calling API: AccountingApi.update_or_create_contacts ...'
16445
16652
  end
@@ -16520,7 +16727,8 @@ module XeroRuby
16520
16727
  # @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors
16521
16728
  # @option opts [Integer] :unitdp e.g. unitdp&#x3D;4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
16522
16729
  # @return [Array<(CreditNotes, Integer, Hash)>] CreditNotes data, response status code and response headers
16523
- def update_or_create_credit_notes_with_http_info(xero_tenant_id, credit_notes, opts = {})
16730
+ def update_or_create_credit_notes_with_http_info(xero_tenant_id, credit_notes, options = {})
16731
+ opts = options.dup
16524
16732
  if @api_client.config.debugging
16525
16733
  @api_client.config.logger.debug 'Calling API: AccountingApi.update_or_create_credit_notes ...'
16526
16734
  end
@@ -16600,7 +16808,8 @@ module XeroRuby
16600
16808
  # @param [Hash] opts the optional parameters
16601
16809
  # @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors
16602
16810
  # @return [Array<(Employees, Integer, Hash)>] Employees data, response status code and response headers
16603
- def update_or_create_employees_with_http_info(xero_tenant_id, employees, opts = {})
16811
+ def update_or_create_employees_with_http_info(xero_tenant_id, employees, options = {})
16812
+ opts = options.dup
16604
16813
  if @api_client.config.debugging
16605
16814
  @api_client.config.logger.debug 'Calling API: AccountingApi.update_or_create_employees ...'
16606
16815
  end
@@ -16681,7 +16890,8 @@ module XeroRuby
16681
16890
  # @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors
16682
16891
  # @option opts [Integer] :unitdp e.g. unitdp&#x3D;4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
16683
16892
  # @return [Array<(Invoices, Integer, Hash)>] Invoices data, response status code and response headers
16684
- def update_or_create_invoices_with_http_info(xero_tenant_id, invoices, opts = {})
16893
+ def update_or_create_invoices_with_http_info(xero_tenant_id, invoices, options = {})
16894
+ opts = options.dup
16685
16895
  if @api_client.config.debugging
16686
16896
  @api_client.config.logger.debug 'Calling API: AccountingApi.update_or_create_invoices ...'
16687
16897
  end
@@ -16763,7 +16973,8 @@ module XeroRuby
16763
16973
  # @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors
16764
16974
  # @option opts [Integer] :unitdp e.g. unitdp&#x3D;4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
16765
16975
  # @return [Array<(Items, Integer, Hash)>] Items data, response status code and response headers
16766
- def update_or_create_items_with_http_info(xero_tenant_id, items, opts = {})
16976
+ def update_or_create_items_with_http_info(xero_tenant_id, items, options = {})
16977
+ opts = options.dup
16767
16978
  if @api_client.config.debugging
16768
16979
  @api_client.config.logger.debug 'Calling API: AccountingApi.update_or_create_items ...'
16769
16980
  end
@@ -16843,7 +17054,8 @@ module XeroRuby
16843
17054
  # @param [Hash] opts the optional parameters
16844
17055
  # @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors
16845
17056
  # @return [Array<(ManualJournals, Integer, Hash)>] ManualJournals data, response status code and response headers
16846
- def update_or_create_manual_journals_with_http_info(xero_tenant_id, manual_journals, opts = {})
17057
+ def update_or_create_manual_journals_with_http_info(xero_tenant_id, manual_journals, options = {})
17058
+ opts = options.dup
16847
17059
  if @api_client.config.debugging
16848
17060
  @api_client.config.logger.debug 'Calling API: AccountingApi.update_or_create_manual_journals ...'
16849
17061
  end
@@ -16922,7 +17134,8 @@ module XeroRuby
16922
17134
  # @param [Hash] opts the optional parameters
16923
17135
  # @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors
16924
17136
  # @return [Array<(PurchaseOrders, Integer, Hash)>] PurchaseOrders data, response status code and response headers
16925
- def update_or_create_purchase_orders_with_http_info(xero_tenant_id, purchase_orders, opts = {})
17137
+ def update_or_create_purchase_orders_with_http_info(xero_tenant_id, purchase_orders, options = {})
17138
+ opts = options.dup
16926
17139
  if @api_client.config.debugging
16927
17140
  @api_client.config.logger.debug 'Calling API: AccountingApi.update_or_create_purchase_orders ...'
16928
17141
  end
@@ -17001,7 +17214,8 @@ module XeroRuby
17001
17214
  # @param [Hash] opts the optional parameters
17002
17215
  # @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors
17003
17216
  # @return [Array<(Quotes, Integer, Hash)>] Quotes data, response status code and response headers
17004
- def update_or_create_quotes_with_http_info(xero_tenant_id, quotes, opts = {})
17217
+ def update_or_create_quotes_with_http_info(xero_tenant_id, quotes, options = {})
17218
+ opts = options.dup
17005
17219
  if @api_client.config.debugging
17006
17220
  @api_client.config.logger.debug 'Calling API: AccountingApi.update_or_create_quotes ...'
17007
17221
  end
@@ -17080,7 +17294,8 @@ module XeroRuby
17080
17294
  # @param purchase_orders [PurchaseOrders]
17081
17295
  # @param [Hash] opts the optional parameters
17082
17296
  # @return [Array<(PurchaseOrders, Integer, Hash)>] PurchaseOrders data, response status code and response headers
17083
- def update_purchase_order_with_http_info(xero_tenant_id, purchase_order_id, purchase_orders, opts = {})
17297
+ def update_purchase_order_with_http_info(xero_tenant_id, purchase_order_id, purchase_orders, options = {})
17298
+ opts = options.dup
17084
17299
  if @api_client.config.debugging
17085
17300
  @api_client.config.logger.debug 'Calling API: AccountingApi.update_purchase_order ...'
17086
17301
  end
@@ -17164,7 +17379,8 @@ module XeroRuby
17164
17379
  # @param body [String] Byte array of file in body of request
17165
17380
  # @param [Hash] opts the optional parameters
17166
17381
  # @return [Array<(Attachments, Integer, Hash)>] Attachments data, response status code and response headers
17167
- def update_purchase_order_attachment_by_file_name_with_http_info(xero_tenant_id, purchase_order_id, file_name, body, opts = {})
17382
+ def update_purchase_order_attachment_by_file_name_with_http_info(xero_tenant_id, purchase_order_id, file_name, body, options = {})
17383
+ opts = options.dup
17168
17384
  if @api_client.config.debugging
17169
17385
  @api_client.config.logger.debug 'Calling API: AccountingApi.update_purchase_order_attachment_by_file_name ...'
17170
17386
  end
@@ -17250,7 +17466,8 @@ module XeroRuby
17250
17466
  # @param quotes [Quotes]
17251
17467
  # @param [Hash] opts the optional parameters
17252
17468
  # @return [Array<(Quotes, Integer, Hash)>] Quotes data, response status code and response headers
17253
- def update_quote_with_http_info(xero_tenant_id, quote_id, quotes, opts = {})
17469
+ def update_quote_with_http_info(xero_tenant_id, quote_id, quotes, options = {})
17470
+ opts = options.dup
17254
17471
  if @api_client.config.debugging
17255
17472
  @api_client.config.logger.debug 'Calling API: AccountingApi.update_quote ...'
17256
17473
  end
@@ -17334,7 +17551,8 @@ module XeroRuby
17334
17551
  # @param body [String] Byte array of file in body of request
17335
17552
  # @param [Hash] opts the optional parameters
17336
17553
  # @return [Array<(Attachments, Integer, Hash)>] Attachments data, response status code and response headers
17337
- def update_quote_attachment_by_file_name_with_http_info(xero_tenant_id, quote_id, file_name, body, opts = {})
17554
+ def update_quote_attachment_by_file_name_with_http_info(xero_tenant_id, quote_id, file_name, body, options = {})
17555
+ opts = options.dup
17338
17556
  if @api_client.config.debugging
17339
17557
  @api_client.config.logger.debug 'Calling API: AccountingApi.update_quote_attachment_by_file_name ...'
17340
17558
  end
@@ -17422,7 +17640,8 @@ module XeroRuby
17422
17640
  # @param [Hash] opts the optional parameters
17423
17641
  # @option opts [Integer] :unitdp e.g. unitdp&#x3D;4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
17424
17642
  # @return [Array<(Receipts, Integer, Hash)>] Receipts data, response status code and response headers
17425
- def update_receipt_with_http_info(xero_tenant_id, receipt_id, receipts, opts = {})
17643
+ def update_receipt_with_http_info(xero_tenant_id, receipt_id, receipts, options = {})
17644
+ opts = options.dup
17426
17645
  if @api_client.config.debugging
17427
17646
  @api_client.config.logger.debug 'Calling API: AccountingApi.update_receipt ...'
17428
17647
  end
@@ -17507,7 +17726,8 @@ module XeroRuby
17507
17726
  # @param body [String] Byte array of file in body of request
17508
17727
  # @param [Hash] opts the optional parameters
17509
17728
  # @return [Array<(Attachments, Integer, Hash)>] Attachments data, response status code and response headers
17510
- def update_receipt_attachment_by_file_name_with_http_info(xero_tenant_id, receipt_id, file_name, body, opts = {})
17729
+ def update_receipt_attachment_by_file_name_with_http_info(xero_tenant_id, receipt_id, file_name, body, options = {})
17730
+ opts = options.dup
17511
17731
  if @api_client.config.debugging
17512
17732
  @api_client.config.logger.debug 'Calling API: AccountingApi.update_receipt_attachment_by_file_name ...'
17513
17733
  end
@@ -17595,7 +17815,8 @@ module XeroRuby
17595
17815
  # @param body [String] Byte array of file in body of request
17596
17816
  # @param [Hash] opts the optional parameters
17597
17817
  # @return [Array<(Attachments, Integer, Hash)>] Attachments data, response status code and response headers
17598
- def update_repeating_invoice_attachment_by_file_name_with_http_info(xero_tenant_id, repeating_invoice_id, file_name, body, opts = {})
17818
+ def update_repeating_invoice_attachment_by_file_name_with_http_info(xero_tenant_id, repeating_invoice_id, file_name, body, options = {})
17819
+ opts = options.dup
17599
17820
  if @api_client.config.debugging
17600
17821
  @api_client.config.logger.debug 'Calling API: AccountingApi.update_repeating_invoice_attachment_by_file_name ...'
17601
17822
  end
@@ -17679,7 +17900,8 @@ module XeroRuby
17679
17900
  # @param tax_rates [TaxRates]
17680
17901
  # @param [Hash] opts the optional parameters
17681
17902
  # @return [Array<(TaxRates, Integer, Hash)>] TaxRates data, response status code and response headers
17682
- def update_tax_rate_with_http_info(xero_tenant_id, tax_rates, opts = {})
17903
+ def update_tax_rate_with_http_info(xero_tenant_id, tax_rates, options = {})
17904
+ opts = options.dup
17683
17905
  if @api_client.config.debugging
17684
17906
  @api_client.config.logger.debug 'Calling API: AccountingApi.update_tax_rate ...'
17685
17907
  end
@@ -17757,7 +17979,8 @@ module XeroRuby
17757
17979
  # @param tracking_category [TrackingCategory]
17758
17980
  # @param [Hash] opts the optional parameters
17759
17981
  # @return [Array<(TrackingCategories, Integer, Hash)>] TrackingCategories data, response status code and response headers
17760
- def update_tracking_category_with_http_info(xero_tenant_id, tracking_category_id, tracking_category, opts = {})
17982
+ def update_tracking_category_with_http_info(xero_tenant_id, tracking_category_id, tracking_category, options = {})
17983
+ opts = options.dup
17761
17984
  if @api_client.config.debugging
17762
17985
  @api_client.config.logger.debug 'Calling API: AccountingApi.update_tracking_category ...'
17763
17986
  end
@@ -17841,7 +18064,8 @@ module XeroRuby
17841
18064
  # @param tracking_option [TrackingOption]
17842
18065
  # @param [Hash] opts the optional parameters
17843
18066
  # @return [Array<(TrackingOptions, Integer, Hash)>] TrackingOptions data, response status code and response headers
17844
- def update_tracking_options_with_http_info(xero_tenant_id, tracking_category_id, tracking_option_id, tracking_option, opts = {})
18067
+ def update_tracking_options_with_http_info(xero_tenant_id, tracking_category_id, tracking_option_id, tracking_option, options = {})
18068
+ opts = options.dup
17845
18069
  if @api_client.config.debugging
17846
18070
  @api_client.config.logger.debug 'Calling API: AccountingApi.update_tracking_options ...'
17847
18071
  end