xero-ruby 2.8.0 → 2.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +43 -38
- data/lib/xero-ruby.rb +1 -1
- data/lib/xero-ruby/api/accounting_api.rb +570 -346
- data/lib/xero-ruby/api/asset_api.rb +12 -6
- data/lib/xero-ruby/api/files_api.rb +158 -32
- data/lib/xero-ruby/api/payroll_au_api.rb +58 -29
- data/lib/xero-ruby/api/payroll_nz_api.rb +136 -68
- data/lib/xero-ruby/api/payroll_uk_api.rb +146 -82
- data/lib/xero-ruby/api/project_api.rb +26 -13
- data/lib/xero-ruby/api_client.rb +48 -8
- data/lib/xero-ruby/configuration.rb +14 -1
- data/lib/xero-ruby/models/accounting/batch_payment.rb +16 -4
- data/lib/xero-ruby/models/accounting/import_summary_accounts.rb +8 -8
- data/lib/xero-ruby/models/files/{inline_object.rb → upload_object.rb} +18 -3
- data/lib/xero-ruby/models/payroll_au/deduction_line.rb +0 -5
- data/lib/xero-ruby/models/payroll_nz/salary_and_wage.rb +3 -2
- data/lib/xero-ruby/models/payroll_nz/timesheet.rb +3 -2
- data/lib/xero-ruby/models/payroll_uk/salary_and_wage.rb +3 -2
- data/lib/xero-ruby/version.rb +2 -2
- data/spec/api_client_spec.rb +95 -3
- data/spec/api_error_spec.rb +1 -1
- data/spec/configuration_spec.rb +17 -0
- data/spec/files/models/inline_object_spec.rb +3 -3
- data/spec/helper_methods_spec.rb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fb43e668c4cbd29f1190365df174d64a56385710319bdf3061ebe048b6dddcee
|
4
|
+
data.tar.gz: 0c4bacf725b0130b1675bc300bff98840fe537958fb8eef4627c709afd69ee5c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0eb80a0480dbf63d28ff6295f43e5288e90c0299616bfd48a60401b8f214424baff1d990e6964bafbb76b0d569dd172ccbb151dc9c9c96a7c3697e10f4361897
|
7
|
+
data.tar.gz: 780bd04d6cde627f8c6b4ac56a69c018ac9e5fef49169ccdf6a89201b6e826b253a1942e5459429256c351a459e3c0a45f105f99554aec32dadfa9b36e7fa63a
|
data/README.md
CHANGED
@@ -6,23 +6,17 @@ Xero Ruby SDK for OAuth 2.0 generated from [Xero API OpenAPI Spec](https://githu
|
|
6
6
|
# Documentation
|
7
7
|
Xero Ruby SDK supports Xero's OAuth2.0 authentication and the following Xero API sets.
|
8
8
|
|
9
|
-
##
|
10
|
-
* [
|
11
|
-
|
12
|
-
* [Project Api Docs](docs/projects/ProjectApi.md)
|
13
|
-
* [File Api Docs](docs/files/FileApi.md)
|
14
|
-
* [Payroll Docs (AU)](docs/payroll_au/PayrollAuApi.md)
|
15
|
-
* [Payroll Docs (NZ)](docs/payroll_nz/PayrollNzApi.md)
|
16
|
-
* [Payroll Docs (UK)](docs/payroll_uk/PayrollUkApi.md)
|
17
|
-
|
9
|
+
## SDK Documentation
|
10
|
+
* [API client methods](https://xeroapi.github.io/xero-ruby/accounting/index.html)
|
11
|
+
---
|
18
12
|
## API Model Docs
|
19
|
-
* [Accounting Models
|
20
|
-
* [Asset
|
21
|
-
* [Project
|
22
|
-
* [
|
23
|
-
* [Payroll
|
24
|
-
* [Payroll
|
25
|
-
* [Payroll
|
13
|
+
* [Accounting Models](/docs/accounting)
|
14
|
+
* [Asset Api Docs](/docs/assets/)
|
15
|
+
* [Project Api Docs](docs/projects/)
|
16
|
+
* [Files Api Docs](docs/files/)
|
17
|
+
* [Payroll Docs (AU)](docs/payroll_au/)
|
18
|
+
* [Payroll Docs (NZ)](docs/payroll_nz/)
|
19
|
+
* [Payroll Docs (UK)](docs/payroll_uk/)
|
26
20
|
|
27
21
|
## Sample Apps
|
28
22
|
We have two apps showing SDK usage.
|
@@ -31,9 +25,6 @@ We have two apps showing SDK usage.
|
|
31
25
|
|
32
26
|

|
33
27
|
|
34
|
-
## Looking for OAuth 1.0a support?
|
35
|
-
Check out the [Xeroizer](https://github.com/waynerobinson/xeroizer) gem (maintained by community).
|
36
|
-
|
37
28
|
---
|
38
29
|
## Installation
|
39
30
|
To install this gem to your current gemset.
|
@@ -49,7 +40,7 @@ gem 'xero-ruby'
|
|
49
40
|
* Create a [free Xero user account](https://www.xero.com/us/signup/api/)
|
50
41
|
* Login to your Xero developer [/myapps](https://developer.xero.com/myapps) dashboard & create an API application and note your API app's credentials.
|
51
42
|
|
52
|
-
### Creating a
|
43
|
+
### Creating a client
|
53
44
|
* Get the credential values from an API application at https://developer.xero.com/myapps/.
|
54
45
|
* Include [neccesary scopes](https://developer.xero.com/documentation/oauth2/scopes) as a space-seperated list
|
55
46
|
* example => "`openid profile email accounting.transactions accounting.settings`"
|
@@ -67,6 +58,12 @@ creds = {
|
|
67
58
|
xero_client ||= XeroRuby::ApiClient.new(credentials: creds)
|
68
59
|
```
|
69
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
|
+
|
70
67
|
## User Authorization & Callback
|
71
68
|
All API requests require a valid access token to be set on the client.
|
72
69
|
|
@@ -77,10 +74,11 @@ To generate a valid `token_set` send a user to the `authorization_url`:
|
|
77
74
|
redirect_to @authorization_url
|
78
75
|
```
|
79
76
|
|
80
|
-
Xero will then redirect back to the URI defined in your
|
77
|
+
Xero will then redirect back to the URI defined in your `redirect_uri` config.
|
78
|
+
|
81
79
|
*This must match **exactly** with the variable in your /myapps dashboard.*
|
82
80
|
|
83
|
-
In your callback
|
81
|
+
In your callback, calling `get_token_set_from_callback` will exchange the temporary code Xero return, with a valid `token_set` that you can use to make API calls.
|
84
82
|
```ruby
|
85
83
|
# => http://localhost:3000/oauth/callback
|
86
84
|
|
@@ -93,11 +91,12 @@ puts params['state']
|
|
93
91
|
```
|
94
92
|
|
95
93
|
## Making API calls once you have a token_set
|
96
|
-
|
94
|
+
Once you already have a token_set stored from this initual user interaction, you can setup a new client by passing the whole token_set to `refresh_token_set` or `set_token_set`.
|
97
95
|
```ruby
|
98
|
-
xero_client.refresh_token_set(user.token_set)
|
99
|
-
|
100
96
|
xero_client.set_token_set(user.token_set)
|
97
|
+
|
98
|
+
xero_client.refresh_token_set(user.token_set)
|
99
|
+
# this will set the access_token on the client, and return a refreshed `token_set` you need to save.
|
101
100
|
```
|
102
101
|
A `token_set` contains data about your API connection most importantly :
|
103
102
|
* `access_token`
|
@@ -171,6 +170,7 @@ end
|
|
171
170
|
## API Usage
|
172
171
|
|
173
172
|
### Accounting API
|
173
|
+
> https://xeroapi.github.io/xero-ruby/accounting/index.html
|
174
174
|
```ruby
|
175
175
|
require 'xero-ruby'
|
176
176
|
|
@@ -179,8 +179,6 @@ xero_client.refresh_token_set(user.token_set)
|
|
179
179
|
tenant_id = user.active_tenant_id
|
180
180
|
# example of how to store the `tenantId` of the specific tenant (aka organisation)
|
181
181
|
|
182
|
-
# https://github.com/XeroAPI/xero-ruby/blob/master/accounting/lib/xero-ruby/api/accounting_api.rb
|
183
|
-
|
184
182
|
# Get Accounts
|
185
183
|
accounts = xero_client.accounting_api.get_accounts(tenant_id).accounts
|
186
184
|
|
@@ -208,10 +206,8 @@ attachment = xero_client.accounting_api.create_account_attachment_by_file_name(t
|
|
208
206
|
```
|
209
207
|
|
210
208
|
### Assets API
|
209
|
+
> https://github.com/XeroAPI/xero-ruby/blob/master/accounting/lib/xero-ruby/api/asset_api.rb
|
211
210
|
```ruby
|
212
|
-
# https://github.com/XeroAPI/xero-ruby/blob/master/accounting/lib/xero-ruby/api/asset_api.rb
|
213
|
-
|
214
|
-
# Create Asset
|
215
211
|
asset = {
|
216
212
|
"assetName": "AssetName: #{rand(10000)}",
|
217
213
|
"assetNumber": "Asset: #{rand(10000)}",
|
@@ -221,18 +217,14 @@ asset = xero_client.asset_api.create_asset(tenant_id, asset)
|
|
221
217
|
```
|
222
218
|
|
223
219
|
### Project API
|
220
|
+
> https://github.com/XeroAPI/xero-ruby/blob/master/docs/projects/ProjectApi.md
|
224
221
|
```ruby
|
225
|
-
# https://github.com/XeroAPI/xero-ruby/blob/master/docs/projects/ProjectApi.md
|
226
|
-
|
227
|
-
# Get Projects
|
228
222
|
projects = xero_client.project_api.get_projects(tenant_id).items
|
229
223
|
```
|
230
224
|
|
231
225
|
### Files API
|
226
|
+
> https://github.com/XeroAPI/xero-ruby/blob/master/docs/files/FileApi.md
|
232
227
|
```ruby
|
233
|
-
# https://github.com/XeroAPI/xero-ruby/blob/master/docs/files/FileApi.md
|
234
|
-
|
235
|
-
# Get Files
|
236
228
|
opts = {
|
237
229
|
pagesize: 50, # Integer | pass an optional page size value
|
238
230
|
page: 2, # Integer | number of records to skip for pagination
|
@@ -352,8 +344,8 @@ The best resource to understanding how to best leverage this SDK is the sample a
|
|
352
344
|
> https://github.com/XeroAPI/xero-ruby-oauth2-starter (Sinatra - simple getting started)
|
353
345
|
> https://github.com/XeroAPI/xero-ruby-oauth2-app (Rails - full featured examples)
|
354
346
|
|
355
|
-
##
|
356
|
-
|
347
|
+
## Developing locally
|
348
|
+
To develop this gem locally against your project you can use the following development pattern:
|
357
349
|
|
358
350
|
> xero-ruby
|
359
351
|
```bash
|
@@ -372,3 +364,16 @@ bundle install
|
|
372
364
|
|
373
365
|
## Testing
|
374
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/).
|
data/lib/xero-ruby.rb
CHANGED
@@ -290,9 +290,9 @@ require 'xero-ruby/models/files/file_object'
|
|
290
290
|
require 'xero-ruby/models/files/files'
|
291
291
|
require 'xero-ruby/models/files/folder'
|
292
292
|
require 'xero-ruby/models/files/folders'
|
293
|
-
require 'xero-ruby/models/files/inline_object'
|
294
293
|
require 'xero-ruby/models/files/object_group'
|
295
294
|
require 'xero-ruby/models/files/object_type'
|
295
|
+
require 'xero-ruby/models/files/upload_object'
|
296
296
|
require 'xero-ruby/models/files/user'
|
297
297
|
require 'xero-ruby/models/projects/amount'
|
298
298
|
require 'xero-ruby/models/projects/charge_type'
|
@@ -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,
|
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,
|
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
|
@@ -183,7 +185,7 @@ module XeroRuby
|
|
183
185
|
# Creates an attachment for a specific bank transaction by filename
|
184
186
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
185
187
|
# @param bank_transaction_id [String] Xero generated unique identifier for a bank transaction
|
186
|
-
# @param file_name [String]
|
188
|
+
# @param file_name [String] Name of the attachment
|
187
189
|
# @param body [String] Byte array of file in body of request
|
188
190
|
# @param [Hash] opts the optional parameters
|
189
191
|
# @return [Attachments]
|
@@ -195,11 +197,12 @@ module XeroRuby
|
|
195
197
|
# Creates an attachment for a specific bank transaction by filename
|
196
198
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
197
199
|
# @param bank_transaction_id [String] Xero generated unique identifier for a bank transaction
|
198
|
-
# @param file_name [String]
|
200
|
+
# @param file_name [String] Name of the attachment
|
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,
|
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,
|
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=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,
|
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,
|
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
|
@@ -510,7 +516,7 @@ module XeroRuby
|
|
510
516
|
|
511
517
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
512
518
|
# @param bank_transfer_id [String] Xero generated unique identifier for a bank transfer
|
513
|
-
# @param file_name [String]
|
519
|
+
# @param file_name [String] Name of the attachment
|
514
520
|
# @param body [String] Byte array of file in body of request
|
515
521
|
# @param [Hash] opts the optional parameters
|
516
522
|
# @return [Attachments]
|
@@ -521,11 +527,12 @@ module XeroRuby
|
|
521
527
|
|
522
528
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
523
529
|
# @param bank_transfer_id [String] Xero generated unique identifier for a bank transfer
|
524
|
-
# @param file_name [String]
|
530
|
+
# @param file_name [String] Name of the attachment
|
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,
|
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,
|
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,
|
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,
|
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,
|
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
|
@@ -921,7 +932,7 @@ module XeroRuby
|
|
921
932
|
|
922
933
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
923
934
|
# @param contact_id [String] Unique identifier for a Contact
|
924
|
-
# @param file_name [String] Name
|
935
|
+
# @param file_name [String] Name of the attachment
|
925
936
|
# @param body [String] Byte array of file in body of request
|
926
937
|
# @param [Hash] opts the optional parameters
|
927
938
|
# @return [Attachments]
|
@@ -932,11 +943,12 @@ module XeroRuby
|
|
932
943
|
|
933
944
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
934
945
|
# @param contact_id [String] Unique identifier for a Contact
|
935
|
-
# @param file_name [String] Name
|
946
|
+
# @param file_name [String] Name of the attachment
|
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,
|
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,
|
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,
|
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,
|
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,
|
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,
|
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
|
@@ -1412,7 +1429,7 @@ module XeroRuby
|
|
1412
1429
|
# Creates an attachment for a specific credit note
|
1413
1430
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
1414
1431
|
# @param credit_note_id [String] Unique identifier for a Credit Note
|
1415
|
-
# @param file_name [String] Name of the
|
1432
|
+
# @param file_name [String] Name of the attachment
|
1416
1433
|
# @param body [String] Byte array of file in body of request
|
1417
1434
|
# @param [Hash] opts the optional parameters
|
1418
1435
|
# @option opts [Boolean] :include_online Allows an attachment to be seen by the end customer within their online invoice (default to false)
|
@@ -1425,12 +1442,13 @@ module XeroRuby
|
|
1425
1442
|
# Creates an attachment for a specific credit note
|
1426
1443
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
1427
1444
|
# @param credit_note_id [String] Unique identifier for a Credit Note
|
1428
|
-
# @param file_name [String] Name of the
|
1445
|
+
# @param file_name [String] Name of the attachment
|
1429
1446
|
# @param body [String] Byte array of file in body of request
|
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,
|
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,
|
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=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,
|
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,
|
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,
|
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,
|
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,
|
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
|
@@ -1980,7 +2004,7 @@ module XeroRuby
|
|
1980
2004
|
# Creates an attachment for a specific invoice or purchase bill by filename
|
1981
2005
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
1982
2006
|
# @param invoice_id [String] Unique identifier for an Invoice
|
1983
|
-
# @param file_name [String] Name of the
|
2007
|
+
# @param file_name [String] Name of the attachment
|
1984
2008
|
# @param body [String] Byte array of file in body of request
|
1985
2009
|
# @param [Hash] opts the optional parameters
|
1986
2010
|
# @option opts [Boolean] :include_online Allows an attachment to be seen by the end customer within their online invoice (default to false)
|
@@ -1993,12 +2017,13 @@ module XeroRuby
|
|
1993
2017
|
# Creates an attachment for a specific invoice or purchase bill by filename
|
1994
2018
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
1995
2019
|
# @param invoice_id [String] Unique identifier for an Invoice
|
1996
|
-
# @param file_name [String] Name of the
|
2020
|
+
# @param file_name [String] Name of the attachment
|
1997
2021
|
# @param body [String] Byte array of file in body of request
|
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,
|
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,
|
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=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,
|
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,
|
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=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,
|
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,
|
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
|
@@ -2475,7 +2505,7 @@ module XeroRuby
|
|
2475
2505
|
# Creates a specific attachment for a specific manual journal by file name
|
2476
2506
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
2477
2507
|
# @param manual_journal_id [String] Unique identifier for a ManualJournal
|
2478
|
-
# @param file_name [String]
|
2508
|
+
# @param file_name [String] Name of the attachment
|
2479
2509
|
# @param body [String] Byte array of file in body of request
|
2480
2510
|
# @param [Hash] opts the optional parameters
|
2481
2511
|
# @return [Attachments]
|
@@ -2487,11 +2517,12 @@ module XeroRuby
|
|
2487
2517
|
# Creates a specific attachment for a specific manual journal by file name
|
2488
2518
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
2489
2519
|
# @param manual_journal_id [String] Unique identifier for a ManualJournal
|
2490
|
-
# @param file_name [String]
|
2520
|
+
# @param file_name [String] Name of the attachment
|
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,
|
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
|
@@ -2562,7 +2593,7 @@ module XeroRuby
|
|
2562
2593
|
|
2563
2594
|
# Creates a history record for a specific manual journal
|
2564
2595
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
2565
|
-
# @param manual_journal_id [String]
|
2596
|
+
# @param manual_journal_id [String] Unique identifier for a ManualJournal
|
2566
2597
|
# @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
|
2567
2598
|
# @param [Hash] opts the optional parameters
|
2568
2599
|
# @return [HistoryRecords]
|
@@ -2573,11 +2604,12 @@ module XeroRuby
|
|
2573
2604
|
|
2574
2605
|
# Creates a history record for a specific manual journal
|
2575
2606
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
2576
|
-
# @param manual_journal_id [String]
|
2607
|
+
# @param manual_journal_id [String] Unique identifier for a ManualJournal
|
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,
|
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,
|
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,
|
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,
|
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,
|
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,
|
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,
|
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,
|
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
|
@@ -3203,7 +3242,7 @@ module XeroRuby
|
|
3203
3242
|
|
3204
3243
|
# Allows you to create an Allocation for prepayments
|
3205
3244
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
3206
|
-
# @param prepayment_id [String] Unique identifier for
|
3245
|
+
# @param prepayment_id [String] Unique identifier for a PrePayment
|
3207
3246
|
# @param allocations [Allocations] Allocations with an array of Allocation object in body of request
|
3208
3247
|
# @param [Hash] opts the optional parameters
|
3209
3248
|
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors (default to false)
|
@@ -3215,12 +3254,13 @@ module XeroRuby
|
|
3215
3254
|
|
3216
3255
|
# Allows you to create an Allocation for prepayments
|
3217
3256
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
3218
|
-
# @param prepayment_id [String] Unique identifier for
|
3257
|
+
# @param prepayment_id [String] Unique identifier for a PrePayment
|
3219
3258
|
# @param allocations [Allocations] Allocations with an array of Allocation object in body of request
|
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,
|
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,
|
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
|
@@ -3370,7 +3411,7 @@ module XeroRuby
|
|
3370
3411
|
|
3371
3412
|
# Creates attachment for a specific purchase order
|
3372
3413
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
3373
|
-
# @param purchase_order_id [String] Unique identifier for Purchase Order
|
3414
|
+
# @param purchase_order_id [String] Unique identifier for an Purchase Order
|
3374
3415
|
# @param file_name [String] Name of the attachment
|
3375
3416
|
# @param body [String] Byte array of file in body of request
|
3376
3417
|
# @param [Hash] opts the optional parameters
|
@@ -3382,12 +3423,13 @@ module XeroRuby
|
|
3382
3423
|
|
3383
3424
|
# Creates attachment for a specific purchase order
|
3384
3425
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
3385
|
-
# @param purchase_order_id [String] Unique identifier for Purchase Order
|
3426
|
+
# @param purchase_order_id [String] Unique identifier for an Purchase Order
|
3386
3427
|
# @param file_name [String] Name of the attachment
|
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,
|
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
|
@@ -3458,7 +3500,7 @@ module XeroRuby
|
|
3458
3500
|
|
3459
3501
|
# Creates a history record for a specific purchase orders
|
3460
3502
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
3461
|
-
# @param purchase_order_id [String] Unique identifier for
|
3503
|
+
# @param purchase_order_id [String] Unique identifier for an Purchase Order
|
3462
3504
|
# @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
|
3463
3505
|
# @param [Hash] opts the optional parameters
|
3464
3506
|
# @return [HistoryRecords]
|
@@ -3469,11 +3511,12 @@ module XeroRuby
|
|
3469
3511
|
|
3470
3512
|
# Creates a history record for a specific purchase orders
|
3471
3513
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
3472
|
-
# @param purchase_order_id [String] Unique identifier for
|
3514
|
+
# @param purchase_order_id [String] Unique identifier for an Purchase Order
|
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,
|
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,
|
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
|
@@ -3619,7 +3663,7 @@ module XeroRuby
|
|
3619
3663
|
|
3620
3664
|
# Creates attachment for a specific quote
|
3621
3665
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
3622
|
-
# @param quote_id [String] Unique identifier for Quote
|
3666
|
+
# @param quote_id [String] Unique identifier for an Quote
|
3623
3667
|
# @param file_name [String] Name of the attachment
|
3624
3668
|
# @param body [String] Byte array of file in body of request
|
3625
3669
|
# @param [Hash] opts the optional parameters
|
@@ -3631,12 +3675,13 @@ module XeroRuby
|
|
3631
3675
|
|
3632
3676
|
# Creates attachment for a specific quote
|
3633
3677
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
3634
|
-
# @param quote_id [String] Unique identifier for Quote
|
3678
|
+
# @param quote_id [String] Unique identifier for an Quote
|
3635
3679
|
# @param file_name [String] Name of the attachment
|
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,
|
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,
|
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,
|
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=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,
|
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
|
@@ -3948,7 +3996,7 @@ module XeroRuby
|
|
3948
3996
|
# Creates an attachment on a specific expense claim receipts by file name
|
3949
3997
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
3950
3998
|
# @param receipt_id [String] Unique identifier for a Receipt
|
3951
|
-
# @param file_name [String]
|
3999
|
+
# @param file_name [String] Name of the attachment
|
3952
4000
|
# @param body [String] Byte array of file in body of request
|
3953
4001
|
# @param [Hash] opts the optional parameters
|
3954
4002
|
# @return [Attachments]
|
@@ -3960,11 +4008,12 @@ module XeroRuby
|
|
3960
4008
|
# Creates an attachment on a specific expense claim receipts by file name
|
3961
4009
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
3962
4010
|
# @param receipt_id [String] Unique identifier for a Receipt
|
3963
|
-
# @param file_name [String]
|
4011
|
+
# @param file_name [String] Name of the attachment
|
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,
|
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,
|
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
|
@@ -4118,7 +4168,7 @@ module XeroRuby
|
|
4118
4168
|
# Creates an attachment from a specific repeating invoices by file name
|
4119
4169
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
4120
4170
|
# @param repeating_invoice_id [String] Unique identifier for a Repeating Invoice
|
4121
|
-
# @param file_name [String]
|
4171
|
+
# @param file_name [String] Name of the attachment
|
4122
4172
|
# @param body [String] Byte array of file in body of request
|
4123
4173
|
# @param [Hash] opts the optional parameters
|
4124
4174
|
# @return [Attachments]
|
@@ -4130,11 +4180,12 @@ module XeroRuby
|
|
4130
4180
|
# Creates an attachment from a specific repeating invoices by file name
|
4131
4181
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
4132
4182
|
# @param repeating_invoice_id [String] Unique identifier for a Repeating Invoice
|
4133
|
-
# @param file_name [String]
|
4183
|
+
# @param file_name [String] Name of the attachment
|
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,
|
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,
|
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,
|
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,
|
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,
|
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
|
@@ -4521,7 +4576,7 @@ module XeroRuby
|
|
4521
4576
|
|
4522
4577
|
# Deletes a chart of accounts
|
4523
4578
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
4524
|
-
# @param account_id [String] Unique identifier for
|
4579
|
+
# @param account_id [String] Unique identifier for Account object
|
4525
4580
|
# @param [Hash] opts the optional parameters
|
4526
4581
|
# @return [Accounts]
|
4527
4582
|
def delete_account(xero_tenant_id, account_id, opts = {})
|
@@ -4531,10 +4586,11 @@ module XeroRuby
|
|
4531
4586
|
|
4532
4587
|
# Deletes a chart of accounts
|
4533
4588
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
4534
|
-
# @param account_id [String] Unique identifier for
|
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,
|
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,
|
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,
|
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,
|
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,
|
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,
|
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,
|
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,
|
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,
|
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
|
@@ -5213,7 +5277,7 @@ module XeroRuby
|
|
5213
5277
|
|
5214
5278
|
# Retrieves a single chart of accounts by using a unique account Id
|
5215
5279
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
5216
|
-
# @param account_id [String] Unique identifier for
|
5280
|
+
# @param account_id [String] Unique identifier for Account object
|
5217
5281
|
# @param [Hash] opts the optional parameters
|
5218
5282
|
# @return [Accounts]
|
5219
5283
|
def get_account(xero_tenant_id, account_id, opts = {})
|
@@ -5223,10 +5287,11 @@ module XeroRuby
|
|
5223
5287
|
|
5224
5288
|
# Retrieves a single chart of accounts by using a unique account Id
|
5225
5289
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
5226
|
-
# @param account_id [String] Unique identifier for
|
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,
|
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,
|
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,
|
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,
|
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,
|
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=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,
|
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
|
@@ -5690,7 +5760,7 @@ module XeroRuby
|
|
5690
5760
|
# Retrieves a specific attachment from a specific bank transaction by filename
|
5691
5761
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
5692
5762
|
# @param bank_transaction_id [String] Xero generated unique identifier for a bank transaction
|
5693
|
-
# @param file_name [String]
|
5763
|
+
# @param file_name [String] Name of the attachment
|
5694
5764
|
# @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
|
5695
5765
|
# @param [Hash] opts the optional parameters
|
5696
5766
|
# @return [File]
|
@@ -5702,11 +5772,12 @@ module XeroRuby
|
|
5702
5772
|
# Retrieves a specific attachment from a specific bank transaction by filename
|
5703
5773
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
5704
5774
|
# @param bank_transaction_id [String] Xero generated unique identifier for a bank transaction
|
5705
|
-
# @param file_name [String]
|
5775
|
+
# @param file_name [String] Name of the attachment
|
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,
|
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
|
@@ -5777,7 +5848,7 @@ module XeroRuby
|
|
5777
5848
|
# Retrieves specific attachments from a specific BankTransaction using a unique attachment Id
|
5778
5849
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
5779
5850
|
# @param bank_transaction_id [String] Xero generated unique identifier for a bank transaction
|
5780
|
-
# @param attachment_id [String]
|
5851
|
+
# @param attachment_id [String] Unique identifier for Attachment object
|
5781
5852
|
# @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
|
5782
5853
|
# @param [Hash] opts the optional parameters
|
5783
5854
|
# @return [File]
|
@@ -5789,11 +5860,12 @@ module XeroRuby
|
|
5789
5860
|
# Retrieves specific attachments from a specific BankTransaction using a unique attachment Id
|
5790
5861
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
5791
5862
|
# @param bank_transaction_id [String] Xero generated unique identifier for a bank transaction
|
5792
|
-
# @param attachment_id [String]
|
5863
|
+
# @param attachment_id [String] Unique identifier for Attachment object
|
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,
|
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,
|
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=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,
|
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,
|
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,
|
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
|
@@ -6169,7 +6245,7 @@ module XeroRuby
|
|
6169
6245
|
# Retrieves a specific attachment on a specific bank transfer by file name
|
6170
6246
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
6171
6247
|
# @param bank_transfer_id [String] Xero generated unique identifier for a bank transfer
|
6172
|
-
# @param file_name [String]
|
6248
|
+
# @param file_name [String] Name of the attachment
|
6173
6249
|
# @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
|
6174
6250
|
# @param [Hash] opts the optional parameters
|
6175
6251
|
# @return [File]
|
@@ -6181,11 +6257,12 @@ module XeroRuby
|
|
6181
6257
|
# Retrieves a specific attachment on a specific bank transfer by file name
|
6182
6258
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
6183
6259
|
# @param bank_transfer_id [String] Xero generated unique identifier for a bank transfer
|
6184
|
-
# @param file_name [String]
|
6260
|
+
# @param file_name [String] Name of the attachment
|
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,
|
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
|
@@ -6256,7 +6333,7 @@ module XeroRuby
|
|
6256
6333
|
# Retrieves a specific attachment from a specific bank transfer using a unique attachment ID
|
6257
6334
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
6258
6335
|
# @param bank_transfer_id [String] Xero generated unique identifier for a bank transfer
|
6259
|
-
# @param attachment_id [String]
|
6336
|
+
# @param attachment_id [String] Unique identifier for Attachment object
|
6260
6337
|
# @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
|
6261
6338
|
# @param [Hash] opts the optional parameters
|
6262
6339
|
# @return [File]
|
@@ -6268,11 +6345,12 @@ module XeroRuby
|
|
6268
6345
|
# Retrieves a specific attachment from a specific bank transfer using a unique attachment ID
|
6269
6346
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
6270
6347
|
# @param bank_transfer_id [String] Xero generated unique identifier for a bank transfer
|
6271
|
-
# @param attachment_id [String]
|
6348
|
+
# @param attachment_id [String] Unique identifier for Attachment object
|
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,
|
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,
|
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,
|
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,
|
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,
|
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,
|
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,
|
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,
|
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,
|
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,
|
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
|
@@ -7009,7 +7096,7 @@ module XeroRuby
|
|
7009
7096
|
# Retrieves a specific attachment from a specific contact by file name
|
7010
7097
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
7011
7098
|
# @param contact_id [String] Unique identifier for a Contact
|
7012
|
-
# @param file_name [String] Name
|
7099
|
+
# @param file_name [String] Name of the attachment
|
7013
7100
|
# @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
|
7014
7101
|
# @param [Hash] opts the optional parameters
|
7015
7102
|
# @return [File]
|
@@ -7021,11 +7108,12 @@ module XeroRuby
|
|
7021
7108
|
# Retrieves a specific attachment from a specific contact by file name
|
7022
7109
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
7023
7110
|
# @param contact_id [String] Unique identifier for a Contact
|
7024
|
-
# @param file_name [String] Name
|
7111
|
+
# @param file_name [String] Name of the attachment
|
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,
|
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
|
@@ -7096,7 +7184,7 @@ module XeroRuby
|
|
7096
7184
|
# Retrieves a specific attachment from a specific contact using a unique attachment Id
|
7097
7185
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
7098
7186
|
# @param contact_id [String] Unique identifier for a Contact
|
7099
|
-
# @param attachment_id [String] Unique identifier for
|
7187
|
+
# @param attachment_id [String] Unique identifier for Attachment object
|
7100
7188
|
# @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
|
7101
7189
|
# @param [Hash] opts the optional parameters
|
7102
7190
|
# @return [File]
|
@@ -7108,11 +7196,12 @@ module XeroRuby
|
|
7108
7196
|
# Retrieves a specific attachment from a specific contact using a unique attachment Id
|
7109
7197
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
7110
7198
|
# @param contact_id [String] Unique identifier for a Contact
|
7111
|
-
# @param attachment_id [String] Unique identifier for
|
7199
|
+
# @param attachment_id [String] Unique identifier for Attachment object
|
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,
|
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,
|
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 = 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,
|
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,
|
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,
|
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,
|
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,
|
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=1 - Up to 100 contacts will be returned in a single API call.
|
7650
7745
|
# @option opts [Boolean] :include_archived e.g. includeArchived=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,
|
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=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,
|
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,
|
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
|
@@ -7864,7 +7962,7 @@ module XeroRuby
|
|
7864
7962
|
# Retrieves a specific attachment on a specific credit note by file name
|
7865
7963
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
7866
7964
|
# @param credit_note_id [String] Unique identifier for a Credit Note
|
7867
|
-
# @param file_name [String] Name of the
|
7965
|
+
# @param file_name [String] Name of the attachment
|
7868
7966
|
# @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
|
7869
7967
|
# @param [Hash] opts the optional parameters
|
7870
7968
|
# @return [File]
|
@@ -7876,11 +7974,12 @@ module XeroRuby
|
|
7876
7974
|
# Retrieves a specific attachment on a specific credit note by file name
|
7877
7975
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
7878
7976
|
# @param credit_note_id [String] Unique identifier for a Credit Note
|
7879
|
-
# @param file_name [String] Name of the
|
7977
|
+
# @param file_name [String] Name of the attachment
|
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,
|
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
|
@@ -7951,7 +8050,7 @@ module XeroRuby
|
|
7951
8050
|
# Retrieves a specific attachment from a specific credit note using a unique attachment Id
|
7952
8051
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
7953
8052
|
# @param credit_note_id [String] Unique identifier for a Credit Note
|
7954
|
-
# @param attachment_id [String] Unique identifier for
|
8053
|
+
# @param attachment_id [String] Unique identifier for Attachment object
|
7955
8054
|
# @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
|
7956
8055
|
# @param [Hash] opts the optional parameters
|
7957
8056
|
# @return [File]
|
@@ -7963,11 +8062,12 @@ module XeroRuby
|
|
7963
8062
|
# Retrieves a specific attachment from a specific credit note using a unique attachment Id
|
7964
8063
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
7965
8064
|
# @param credit_note_id [String] Unique identifier for a Credit Note
|
7966
|
-
# @param attachment_id [String] Unique identifier for
|
8065
|
+
# @param attachment_id [String] Unique identifier for Attachment object
|
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,
|
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,
|
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,
|
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=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=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,
|
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,
|
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,
|
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,
|
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,
|
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,
|
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,
|
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=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,
|
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,
|
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
|
@@ -8870,7 +8981,7 @@ module XeroRuby
|
|
8870
8981
|
# Retrieves an attachment from a specific invoice or purchase bill by filename
|
8871
8982
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
8872
8983
|
# @param invoice_id [String] Unique identifier for an Invoice
|
8873
|
-
# @param file_name [String] Name of the
|
8984
|
+
# @param file_name [String] Name of the attachment
|
8874
8985
|
# @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
|
8875
8986
|
# @param [Hash] opts the optional parameters
|
8876
8987
|
# @return [File]
|
@@ -8882,11 +8993,12 @@ module XeroRuby
|
|
8882
8993
|
# Retrieves an attachment from a specific invoice or purchase bill by filename
|
8883
8994
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
8884
8995
|
# @param invoice_id [String] Unique identifier for an Invoice
|
8885
|
-
# @param file_name [String] Name of the
|
8996
|
+
# @param file_name [String] Name of the attachment
|
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,
|
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
|
@@ -8957,7 +9069,7 @@ module XeroRuby
|
|
8957
9069
|
# Retrieves a specific attachment from a specific invoices or purchase bills by using a unique attachment Id
|
8958
9070
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
8959
9071
|
# @param invoice_id [String] Unique identifier for an Invoice
|
8960
|
-
# @param attachment_id [String] Unique identifier for
|
9072
|
+
# @param attachment_id [String] Unique identifier for Attachment object
|
8961
9073
|
# @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
|
8962
9074
|
# @param [Hash] opts the optional parameters
|
8963
9075
|
# @return [File]
|
@@ -8969,11 +9081,12 @@ module XeroRuby
|
|
8969
9081
|
# Retrieves a specific attachment from a specific invoices or purchase bills by using a unique attachment Id
|
8970
9082
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
8971
9083
|
# @param invoice_id [String] Unique identifier for an Invoice
|
8972
|
-
# @param attachment_id [String] Unique identifier for
|
9084
|
+
# @param attachment_id [String] Unique identifier for Attachment object
|
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,
|
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,
|
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,
|
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,
|
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
|
@@ -9268,7 +9384,7 @@ module XeroRuby
|
|
9268
9384
|
# @option opts [Array<String>] :contact_i_ds Filter by a comma-separated list of ContactIDs.
|
9269
9385
|
# @option opts [Array<String>] :statuses Filter by a comma-separated list Statuses. For faster response times we recommend using these explicit parameters instead of passing OR conditions into the Where filter.
|
9270
9386
|
# @option opts [Integer] :page e.g. page=1 – Up to 100 invoices will be returned in a single API call with line items shown for each invoice
|
9271
|
-
# @option opts [Boolean] :include_archived e.g. includeArchived=true -
|
9387
|
+
# @option opts [Boolean] :include_archived e.g. includeArchived=true - Invoices with a status of ARCHIVED will be included in the response
|
9272
9388
|
# @option opts [Boolean] :created_by_my_app When set to true you'll only retrieve Invoices created by your app
|
9273
9389
|
# @option opts [Integer] :unitdp e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
|
9274
9390
|
# @return [Invoices]
|
@@ -9288,11 +9404,12 @@ module XeroRuby
|
|
9288
9404
|
# @option opts [Array<String>] :contact_i_ds Filter by a comma-separated list of ContactIDs.
|
9289
9405
|
# @option opts [Array<String>] :statuses Filter by a comma-separated list Statuses. For faster response times we recommend using these explicit parameters instead of passing OR conditions into the Where filter.
|
9290
9406
|
# @option opts [Integer] :page e.g. page=1 – Up to 100 invoices will be returned in a single API call with line items shown for each invoice
|
9291
|
-
# @option opts [Boolean] :include_archived e.g. includeArchived=true -
|
9407
|
+
# @option opts [Boolean] :include_archived e.g. includeArchived=true - Invoices with a status of ARCHIVED will be included in the response
|
9292
9408
|
# @option opts [Boolean] :created_by_my_app When set to true you'll only retrieve Invoices created by your app
|
9293
9409
|
# @option opts [Integer] :unitdp e.g. unitdp=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,
|
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=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,
|
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,
|
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=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,
|
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,
|
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,
|
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,
|
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,
|
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,
|
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
|
@@ -9977,7 +10102,7 @@ module XeroRuby
|
|
9977
10102
|
# Retrieves a specific attachment from a specific manual journal by file name
|
9978
10103
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
9979
10104
|
# @param manual_journal_id [String] Unique identifier for a ManualJournal
|
9980
|
-
# @param file_name [String]
|
10105
|
+
# @param file_name [String] Name of the attachment
|
9981
10106
|
# @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
|
9982
10107
|
# @param [Hash] opts the optional parameters
|
9983
10108
|
# @return [File]
|
@@ -9989,11 +10114,12 @@ module XeroRuby
|
|
9989
10114
|
# Retrieves a specific attachment from a specific manual journal by file name
|
9990
10115
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
9991
10116
|
# @param manual_journal_id [String] Unique identifier for a ManualJournal
|
9992
|
-
# @param file_name [String]
|
10117
|
+
# @param file_name [String] Name of the attachment
|
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,
|
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
|
@@ -10064,7 +10190,7 @@ module XeroRuby
|
|
10064
10190
|
# Allows you to retrieve a specific attachment from a specific manual journal using a unique attachment Id
|
10065
10191
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
10066
10192
|
# @param manual_journal_id [String] Unique identifier for a ManualJournal
|
10067
|
-
# @param attachment_id [String] Unique identifier for
|
10193
|
+
# @param attachment_id [String] Unique identifier for Attachment object
|
10068
10194
|
# @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
|
10069
10195
|
# @param [Hash] opts the optional parameters
|
10070
10196
|
# @return [File]
|
@@ -10076,11 +10202,12 @@ module XeroRuby
|
|
10076
10202
|
# Allows you to retrieve a specific attachment from a specific manual journal using a unique attachment Id
|
10077
10203
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
10078
10204
|
# @param manual_journal_id [String] Unique identifier for a ManualJournal
|
10079
|
-
# @param attachment_id [String] Unique identifier for
|
10205
|
+
# @param attachment_id [String] Unique identifier for Attachment object
|
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,
|
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,
|
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=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,
|
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
|
@@ -10304,7 +10433,7 @@ module XeroRuby
|
|
10304
10433
|
|
10305
10434
|
# Retrieves history for a specific manual journal
|
10306
10435
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
10307
|
-
# @param manual_journal_id [String]
|
10436
|
+
# @param manual_journal_id [String] Unique identifier for a ManualJournal
|
10308
10437
|
# @param [Hash] opts the optional parameters
|
10309
10438
|
# @return [HistoryRecords]
|
10310
10439
|
def get_manual_journals_history(xero_tenant_id, manual_journal_id, opts = {})
|
@@ -10314,10 +10443,11 @@ module XeroRuby
|
|
10314
10443
|
|
10315
10444
|
# Retrieves history for a specific manual journal
|
10316
10445
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
10317
|
-
# @param manual_journal_id [String]
|
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,
|
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,
|
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,
|
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,
|
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,
|
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,
|
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,
|
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=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=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,
|
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,
|
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,
|
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,
|
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,
|
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,
|
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,
|
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=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=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,
|
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
|
@@ -11420,7 +11564,7 @@ module XeroRuby
|
|
11420
11564
|
|
11421
11565
|
# Retrieves a specific purchase order using a unique purchase order Id
|
11422
11566
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
11423
|
-
# @param purchase_order_id [String] Unique identifier for
|
11567
|
+
# @param purchase_order_id [String] Unique identifier for an Purchase Order
|
11424
11568
|
# @param [Hash] opts the optional parameters
|
11425
11569
|
# @return [PurchaseOrders]
|
11426
11570
|
def get_purchase_order(xero_tenant_id, purchase_order_id, opts = {})
|
@@ -11430,10 +11574,11 @@ module XeroRuby
|
|
11430
11574
|
|
11431
11575
|
# Retrieves a specific purchase order using a unique purchase order Id
|
11432
11576
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
11433
|
-
# @param purchase_order_id [String] Unique identifier for
|
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,
|
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,
|
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
|
@@ -11568,7 +11714,7 @@ module XeroRuby
|
|
11568
11714
|
|
11569
11715
|
# Retrieves a specific attachment for a specific purchase order by filename
|
11570
11716
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
11571
|
-
# @param purchase_order_id [String] Unique identifier for Purchase Order
|
11717
|
+
# @param purchase_order_id [String] Unique identifier for an Purchase Order
|
11572
11718
|
# @param file_name [String] Name of the attachment
|
11573
11719
|
# @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
|
11574
11720
|
# @param [Hash] opts the optional parameters
|
@@ -11580,12 +11726,13 @@ module XeroRuby
|
|
11580
11726
|
|
11581
11727
|
# Retrieves a specific attachment for a specific purchase order by filename
|
11582
11728
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
11583
|
-
# @param purchase_order_id [String] Unique identifier for Purchase Order
|
11729
|
+
# @param purchase_order_id [String] Unique identifier for an Purchase Order
|
11584
11730
|
# @param file_name [String] Name of the attachment
|
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,
|
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
|
@@ -11655,7 +11802,7 @@ module XeroRuby
|
|
11655
11802
|
|
11656
11803
|
# Retrieves specific attachment for a specific purchase order using a unique attachment Id
|
11657
11804
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
11658
|
-
# @param purchase_order_id [String] Unique identifier for Purchase Order
|
11805
|
+
# @param purchase_order_id [String] Unique identifier for an Purchase Order
|
11659
11806
|
# @param attachment_id [String] Unique identifier for Attachment object
|
11660
11807
|
# @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
|
11661
11808
|
# @param [Hash] opts the optional parameters
|
@@ -11667,12 +11814,13 @@ module XeroRuby
|
|
11667
11814
|
|
11668
11815
|
# Retrieves specific attachment for a specific purchase order using a unique attachment Id
|
11669
11816
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
11670
|
-
# @param purchase_order_id [String] Unique identifier for Purchase Order
|
11817
|
+
# @param purchase_order_id [String] Unique identifier for an Purchase Order
|
11671
11818
|
# @param attachment_id [String] Unique identifier for Attachment object
|
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,
|
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
|
@@ -11742,7 +11890,7 @@ module XeroRuby
|
|
11742
11890
|
|
11743
11891
|
# Retrieves attachments for a specific purchase order
|
11744
11892
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
11745
|
-
# @param purchase_order_id [String] Unique identifier for Purchase
|
11893
|
+
# @param purchase_order_id [String] Unique identifier for an Purchase Order
|
11746
11894
|
# @param [Hash] opts the optional parameters
|
11747
11895
|
# @return [Attachments]
|
11748
11896
|
def get_purchase_order_attachments(xero_tenant_id, purchase_order_id, opts = {})
|
@@ -11752,10 +11900,11 @@ module XeroRuby
|
|
11752
11900
|
|
11753
11901
|
# Retrieves attachments for a specific purchase order
|
11754
11902
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
11755
|
-
# @param purchase_order_id [String] Unique identifier for Purchase
|
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,
|
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,
|
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
|
@@ -11890,7 +12040,7 @@ module XeroRuby
|
|
11890
12040
|
|
11891
12041
|
# Retrieves history for a specific purchase order
|
11892
12042
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
11893
|
-
# @param purchase_order_id [String] Unique identifier for
|
12043
|
+
# @param purchase_order_id [String] Unique identifier for an Purchase Order
|
11894
12044
|
# @param [Hash] opts the optional parameters
|
11895
12045
|
# @return [HistoryRecords]
|
11896
12046
|
def get_purchase_order_history(xero_tenant_id, purchase_order_id, opts = {})
|
@@ -11900,10 +12050,11 @@ module XeroRuby
|
|
11900
12050
|
|
11901
12051
|
# Retrieves history for a specific purchase order
|
11902
12052
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
11903
|
-
# @param purchase_order_id [String] Unique identifier for
|
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,
|
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=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=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,
|
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,
|
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,
|
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
|
@@ -12202,7 +12356,7 @@ module XeroRuby
|
|
12202
12356
|
|
12203
12357
|
# Retrieves a specific attachment from a specific quote by filename
|
12204
12358
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
12205
|
-
# @param quote_id [String] Unique identifier for Quote
|
12359
|
+
# @param quote_id [String] Unique identifier for an Quote
|
12206
12360
|
# @param file_name [String] Name of the attachment
|
12207
12361
|
# @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
|
12208
12362
|
# @param [Hash] opts the optional parameters
|
@@ -12214,12 +12368,13 @@ module XeroRuby
|
|
12214
12368
|
|
12215
12369
|
# Retrieves a specific attachment from a specific quote by filename
|
12216
12370
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
12217
|
-
# @param quote_id [String] Unique identifier for Quote
|
12371
|
+
# @param quote_id [String] Unique identifier for an Quote
|
12218
12372
|
# @param file_name [String] Name of the attachment
|
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,
|
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
|
@@ -12289,7 +12444,7 @@ module XeroRuby
|
|
12289
12444
|
|
12290
12445
|
# Retrieves a specific attachment from a specific quote using a unique attachment Id
|
12291
12446
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
12292
|
-
# @param quote_id [String] Unique identifier for Quote
|
12447
|
+
# @param quote_id [String] Unique identifier for an Quote
|
12293
12448
|
# @param attachment_id [String] Unique identifier for Attachment object
|
12294
12449
|
# @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
|
12295
12450
|
# @param [Hash] opts the optional parameters
|
@@ -12301,12 +12456,13 @@ module XeroRuby
|
|
12301
12456
|
|
12302
12457
|
# Retrieves a specific attachment from a specific quote using a unique attachment Id
|
12303
12458
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
12304
|
-
# @param quote_id [String] Unique identifier for Quote
|
12459
|
+
# @param quote_id [String] Unique identifier for an Quote
|
12305
12460
|
# @param attachment_id [String] Unique identifier for Attachment object
|
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,
|
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
|
@@ -12376,7 +12532,7 @@ module XeroRuby
|
|
12376
12532
|
|
12377
12533
|
# Retrieves attachments for a specific quote
|
12378
12534
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
12379
|
-
# @param quote_id [String] Unique identifier for Quote
|
12535
|
+
# @param quote_id [String] Unique identifier for an Quote
|
12380
12536
|
# @param [Hash] opts the optional parameters
|
12381
12537
|
# @return [Attachments]
|
12382
12538
|
def get_quote_attachments(xero_tenant_id, quote_id, opts = {})
|
@@ -12386,10 +12542,11 @@ module XeroRuby
|
|
12386
12542
|
|
12387
12543
|
# Retrieves attachments for a specific quote
|
12388
12544
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
12389
|
-
# @param quote_id [String] Unique identifier for Quote
|
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,
|
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,
|
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=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,
|
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=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,
|
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
|
@@ -12700,7 +12860,7 @@ module XeroRuby
|
|
12700
12860
|
# Retrieves a specific attachment from a specific expense claim receipts by file name
|
12701
12861
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
12702
12862
|
# @param receipt_id [String] Unique identifier for a Receipt
|
12703
|
-
# @param file_name [String]
|
12863
|
+
# @param file_name [String] Name of the attachment
|
12704
12864
|
# @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
|
12705
12865
|
# @param [Hash] opts the optional parameters
|
12706
12866
|
# @return [File]
|
@@ -12712,11 +12872,12 @@ module XeroRuby
|
|
12712
12872
|
# Retrieves a specific attachment from a specific expense claim receipts by file name
|
12713
12873
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
12714
12874
|
# @param receipt_id [String] Unique identifier for a Receipt
|
12715
|
-
# @param file_name [String]
|
12875
|
+
# @param file_name [String] Name of the attachment
|
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,
|
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
|
@@ -12787,7 +12948,7 @@ module XeroRuby
|
|
12787
12948
|
# Retrieves a specific attachments from a specific expense claim receipts by using a unique attachment Id
|
12788
12949
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
12789
12950
|
# @param receipt_id [String] Unique identifier for a Receipt
|
12790
|
-
# @param attachment_id [String] Unique identifier for
|
12951
|
+
# @param attachment_id [String] Unique identifier for Attachment object
|
12791
12952
|
# @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
|
12792
12953
|
# @param [Hash] opts the optional parameters
|
12793
12954
|
# @return [File]
|
@@ -12799,11 +12960,12 @@ module XeroRuby
|
|
12799
12960
|
# Retrieves a specific attachments from a specific expense claim receipts by using a unique attachment Id
|
12800
12961
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
12801
12962
|
# @param receipt_id [String] Unique identifier for a Receipt
|
12802
|
-
# @param attachment_id [String] Unique identifier for
|
12963
|
+
# @param attachment_id [String] Unique identifier for Attachment object
|
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,
|
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,
|
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,
|
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=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,
|
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,
|
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
|
@@ -13176,7 +13342,7 @@ module XeroRuby
|
|
13176
13342
|
# Retrieves a specific attachment from a specific repeating invoices by file name
|
13177
13343
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
13178
13344
|
# @param repeating_invoice_id [String] Unique identifier for a Repeating Invoice
|
13179
|
-
# @param file_name [String]
|
13345
|
+
# @param file_name [String] Name of the attachment
|
13180
13346
|
# @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
|
13181
13347
|
# @param [Hash] opts the optional parameters
|
13182
13348
|
# @return [File]
|
@@ -13188,11 +13354,12 @@ module XeroRuby
|
|
13188
13354
|
# Retrieves a specific attachment from a specific repeating invoices by file name
|
13189
13355
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
13190
13356
|
# @param repeating_invoice_id [String] Unique identifier for a Repeating Invoice
|
13191
|
-
# @param file_name [String]
|
13357
|
+
# @param file_name [String] Name of the attachment
|
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,
|
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
|
@@ -13263,7 +13430,7 @@ module XeroRuby
|
|
13263
13430
|
# Retrieves a specific attachment from a specific repeating invoice
|
13264
13431
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
13265
13432
|
# @param repeating_invoice_id [String] Unique identifier for a Repeating Invoice
|
13266
|
-
# @param attachment_id [String] Unique identifier for
|
13433
|
+
# @param attachment_id [String] Unique identifier for Attachment object
|
13267
13434
|
# @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
|
13268
13435
|
# @param [Hash] opts the optional parameters
|
13269
13436
|
# @return [File]
|
@@ -13275,11 +13442,12 @@ module XeroRuby
|
|
13275
13442
|
# Retrieves a specific attachment from a specific repeating invoice
|
13276
13443
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
13277
13444
|
# @param repeating_invoice_id [String] Unique identifier for a Repeating Invoice
|
13278
|
-
# @param attachment_id [String] Unique identifier for
|
13445
|
+
# @param attachment_id [String] Unique identifier for Attachment object
|
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,
|
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,
|
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,
|
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,
|
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
|
@@ -13574,8 +13745,8 @@ module XeroRuby
|
|
13574
13745
|
# @param contact_id [String] Unique identifier for a Contact
|
13575
13746
|
# @param [Hash] opts the optional parameters
|
13576
13747
|
# @option opts [Date] :date The date of the Aged Payables By Contact report
|
13577
|
-
# @option opts [Date] :from_date
|
13578
|
-
# @option opts [Date] :to_date
|
13748
|
+
# @option opts [Date] :from_date filter by the from date of the report e.g. 2021-02-01
|
13749
|
+
# @option opts [Date] :to_date filter by the to date of the report e.g. 2021-02-28
|
13579
13750
|
# @return [ReportWithRows]
|
13580
13751
|
def get_report_aged_payables_by_contact(xero_tenant_id, contact_id, opts = {})
|
13581
13752
|
data, _status_code, _headers = get_report_aged_payables_by_contact_with_http_info(xero_tenant_id, contact_id, opts)
|
@@ -13587,10 +13758,11 @@ module XeroRuby
|
|
13587
13758
|
# @param contact_id [String] Unique identifier for a Contact
|
13588
13759
|
# @param [Hash] opts the optional parameters
|
13589
13760
|
# @option opts [Date] :date The date of the Aged Payables By Contact report
|
13590
|
-
# @option opts [Date] :from_date
|
13591
|
-
# @option opts [Date] :to_date
|
13761
|
+
# @option opts [Date] :from_date filter by the from date of the report e.g. 2021-02-01
|
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,
|
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
|
@@ -13658,8 +13830,8 @@ module XeroRuby
|
|
13658
13830
|
# @param contact_id [String] Unique identifier for a Contact
|
13659
13831
|
# @param [Hash] opts the optional parameters
|
13660
13832
|
# @option opts [Date] :date The date of the Aged Receivables By Contact report
|
13661
|
-
# @option opts [Date] :from_date
|
13662
|
-
# @option opts [Date] :to_date
|
13833
|
+
# @option opts [Date] :from_date filter by the from date of the report e.g. 2021-02-01
|
13834
|
+
# @option opts [Date] :to_date filter by the to date of the report e.g. 2021-02-28
|
13663
13835
|
# @return [ReportWithRows]
|
13664
13836
|
def get_report_aged_receivables_by_contact(xero_tenant_id, contact_id, opts = {})
|
13665
13837
|
data, _status_code, _headers = get_report_aged_receivables_by_contact_with_http_info(xero_tenant_id, contact_id, opts)
|
@@ -13671,10 +13843,11 @@ module XeroRuby
|
|
13671
13843
|
# @param contact_id [String] Unique identifier for a Contact
|
13672
13844
|
# @param [Hash] opts the optional parameters
|
13673
13845
|
# @option opts [Date] :date The date of the Aged Receivables By Contact report
|
13674
|
-
# @option opts [Date] :from_date
|
13675
|
-
# @option opts [Date] :to_date
|
13846
|
+
# @option opts [Date] :from_date filter by the from date of the report e.g. 2021-02-01
|
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,
|
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,
|
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,
|
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,
|
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
|
@@ -13975,8 +14151,8 @@ module XeroRuby
|
|
13975
14151
|
# Retrieves report for bank summary
|
13976
14152
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
13977
14153
|
# @param [Hash] opts the optional parameters
|
13978
|
-
# @option opts [Date] :from_date
|
13979
|
-
# @option opts [Date] :to_date
|
14154
|
+
# @option opts [Date] :from_date filter by the from date of the report e.g. 2021-02-01
|
14155
|
+
# @option opts [Date] :to_date filter by the to date of the report e.g. 2021-02-28
|
13980
14156
|
# @return [ReportWithRows]
|
13981
14157
|
def get_report_bank_summary(xero_tenant_id, opts = {})
|
13982
14158
|
data, _status_code, _headers = get_report_bank_summary_with_http_info(xero_tenant_id, opts)
|
@@ -13986,10 +14162,11 @@ module XeroRuby
|
|
13986
14162
|
# Retrieves report for bank summary
|
13987
14163
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
13988
14164
|
# @param [Hash] opts the optional parameters
|
13989
|
-
# @option opts [Date] :from_date
|
13990
|
-
# @option opts [Date] :to_date
|
14165
|
+
# @option opts [Date] :from_date filter by the from date of the report e.g. 2021-02-01
|
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,
|
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=month, 3=quarter, 12=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,
|
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,
|
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
|
@@ -14197,8 +14376,8 @@ module XeroRuby
|
|
14197
14376
|
# Retrieves report for profit and loss
|
14198
14377
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
14199
14378
|
# @param [Hash] opts the optional parameters
|
14200
|
-
# @option opts [Date] :from_date
|
14201
|
-
# @option opts [Date] :to_date
|
14379
|
+
# @option opts [Date] :from_date filter by the from date of the report e.g. 2021-02-01
|
14380
|
+
# @option opts [Date] :to_date filter by the to date of the report e.g. 2021-02-28
|
14202
14381
|
# @option opts [Integer] :periods The number of periods to compare (integer between 1 and 12)
|
14203
14382
|
# @option opts [String] :timeframe The period size to compare to (MONTH, QUARTER, YEAR)
|
14204
14383
|
# @option opts [String] :tracking_category_id The trackingCategory 1 for the ProfitAndLoss report
|
@@ -14216,8 +14395,8 @@ module XeroRuby
|
|
14216
14395
|
# Retrieves report for profit and loss
|
14217
14396
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
14218
14397
|
# @param [Hash] opts the optional parameters
|
14219
|
-
# @option opts [Date] :from_date
|
14220
|
-
# @option opts [Date] :to_date
|
14398
|
+
# @option opts [Date] :from_date filter by the from date of the report e.g. 2021-02-01
|
14399
|
+
# @option opts [Date] :to_date filter by the to date of the report e.g. 2021-02-28
|
14221
14400
|
# @option opts [Integer] :periods The number of periods to compare (integer between 1 and 12)
|
14222
14401
|
# @option opts [String] :timeframe The period size to compare to (MONTH, QUARTER, YEAR)
|
14223
14402
|
# @option opts [String] :tracking_category_id The trackingCategory 1 for the ProfitAndLoss report
|
@@ -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,
|
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,
|
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,
|
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,
|
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=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,
|
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,
|
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,
|
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,
|
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,
|
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
|
@@ -14898,7 +15086,7 @@ module XeroRuby
|
|
14898
15086
|
|
14899
15087
|
# Updates a chart of accounts
|
14900
15088
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
14901
|
-
# @param account_id [String] Unique identifier for
|
15089
|
+
# @param account_id [String] Unique identifier for Account object
|
14902
15090
|
# @param accounts [Accounts] Request of type Accounts array with one Account
|
14903
15091
|
# @param [Hash] opts the optional parameters
|
14904
15092
|
# @return [Accounts]
|
@@ -14909,11 +15097,12 @@ module XeroRuby
|
|
14909
15097
|
|
14910
15098
|
# Updates a chart of accounts
|
14911
15099
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
14912
|
-
# @param account_id [String] Unique identifier for
|
15100
|
+
# @param account_id [String] Unique identifier for Account object
|
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,
|
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,
|
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=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,
|
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
|
@@ -15154,7 +15345,7 @@ module XeroRuby
|
|
15154
15345
|
# Updates a specific attachment from a specific bank transaction by filename
|
15155
15346
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
15156
15347
|
# @param bank_transaction_id [String] Xero generated unique identifier for a bank transaction
|
15157
|
-
# @param file_name [String]
|
15348
|
+
# @param file_name [String] Name of the attachment
|
15158
15349
|
# @param body [String] Byte array of file in body of request
|
15159
15350
|
# @param [Hash] opts the optional parameters
|
15160
15351
|
# @return [Attachments]
|
@@ -15166,11 +15357,12 @@ module XeroRuby
|
|
15166
15357
|
# Updates a specific attachment from a specific bank transaction by filename
|
15167
15358
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
15168
15359
|
# @param bank_transaction_id [String] Xero generated unique identifier for a bank transaction
|
15169
|
-
# @param file_name [String]
|
15360
|
+
# @param file_name [String] Name of the attachment
|
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,
|
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
|
@@ -15241,7 +15433,7 @@ module XeroRuby
|
|
15241
15433
|
|
15242
15434
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
15243
15435
|
# @param bank_transfer_id [String] Xero generated unique identifier for a bank transfer
|
15244
|
-
# @param file_name [String]
|
15436
|
+
# @param file_name [String] Name of the attachment
|
15245
15437
|
# @param body [String] Byte array of file in body of request
|
15246
15438
|
# @param [Hash] opts the optional parameters
|
15247
15439
|
# @return [Attachments]
|
@@ -15252,11 +15444,12 @@ module XeroRuby
|
|
15252
15444
|
|
15253
15445
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
15254
15446
|
# @param bank_transfer_id [String] Xero generated unique identifier for a bank transfer
|
15255
|
-
# @param file_name [String]
|
15447
|
+
# @param file_name [String] Name of the attachment
|
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,
|
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,
|
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
|
@@ -15409,7 +15603,7 @@ module XeroRuby
|
|
15409
15603
|
|
15410
15604
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
15411
15605
|
# @param contact_id [String] Unique identifier for a Contact
|
15412
|
-
# @param file_name [String] Name
|
15606
|
+
# @param file_name [String] Name of the attachment
|
15413
15607
|
# @param body [String] Byte array of file in body of request
|
15414
15608
|
# @param [Hash] opts the optional parameters
|
15415
15609
|
# @return [Attachments]
|
@@ -15420,11 +15614,12 @@ module XeroRuby
|
|
15420
15614
|
|
15421
15615
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
15422
15616
|
# @param contact_id [String] Unique identifier for a Contact
|
15423
|
-
# @param file_name [String] Name
|
15617
|
+
# @param file_name [String] Name of the attachment
|
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,
|
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,
|
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=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,
|
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
|
@@ -15663,7 +15860,7 @@ module XeroRuby
|
|
15663
15860
|
# Updates attachments on a specific credit note by file name
|
15664
15861
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
15665
15862
|
# @param credit_note_id [String] Unique identifier for a Credit Note
|
15666
|
-
# @param file_name [String] Name of the
|
15863
|
+
# @param file_name [String] Name of the attachment
|
15667
15864
|
# @param body [String] Byte array of file in body of request
|
15668
15865
|
# @param [Hash] opts the optional parameters
|
15669
15866
|
# @return [Attachments]
|
@@ -15675,11 +15872,12 @@ module XeroRuby
|
|
15675
15872
|
# Updates attachments on a specific credit note by file name
|
15676
15873
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
15677
15874
|
# @param credit_note_id [String] Unique identifier for a Credit Note
|
15678
|
-
# @param file_name [String] Name of the
|
15875
|
+
# @param file_name [String] Name of the attachment
|
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,
|
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,
|
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=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,
|
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
|
@@ -15918,7 +16118,7 @@ module XeroRuby
|
|
15918
16118
|
# Updates an attachment from a specific invoices or purchase bill by filename
|
15919
16119
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
15920
16120
|
# @param invoice_id [String] Unique identifier for an Invoice
|
15921
|
-
# @param file_name [String] Name of the
|
16121
|
+
# @param file_name [String] Name of the attachment
|
15922
16122
|
# @param body [String] Byte array of file in body of request
|
15923
16123
|
# @param [Hash] opts the optional parameters
|
15924
16124
|
# @return [Attachments]
|
@@ -15930,11 +16130,12 @@ module XeroRuby
|
|
15930
16130
|
# Updates an attachment from a specific invoices or purchase bill by filename
|
15931
16131
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
15932
16132
|
# @param invoice_id [String] Unique identifier for an Invoice
|
15933
|
-
# @param file_name [String] Name of the
|
16133
|
+
# @param file_name [String] Name of the attachment
|
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,
|
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=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,
|
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,
|
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,
|
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
|
@@ -16255,7 +16459,7 @@ module XeroRuby
|
|
16255
16459
|
# Updates a specific attachment from a specific manual journal by file name
|
16256
16460
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
16257
16461
|
# @param manual_journal_id [String] Unique identifier for a ManualJournal
|
16258
|
-
# @param file_name [String]
|
16462
|
+
# @param file_name [String] Name of the attachment
|
16259
16463
|
# @param body [String] Byte array of file in body of request
|
16260
16464
|
# @param [Hash] opts the optional parameters
|
16261
16465
|
# @return [Attachments]
|
@@ -16267,11 +16471,12 @@ module XeroRuby
|
|
16267
16471
|
# Updates a specific attachment from a specific manual journal by file name
|
16268
16472
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
16269
16473
|
# @param manual_journal_id [String] Unique identifier for a ManualJournal
|
16270
|
-
# @param file_name [String]
|
16474
|
+
# @param file_name [String] Name of the attachment
|
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,
|
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=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,
|
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,
|
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=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,
|
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,
|
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=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,
|
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=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,
|
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,
|
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,
|
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,
|
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
|
@@ -17065,7 +17279,7 @@ module XeroRuby
|
|
17065
17279
|
|
17066
17280
|
# Updates a specific purchase order
|
17067
17281
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
17068
|
-
# @param purchase_order_id [String] Unique identifier for
|
17282
|
+
# @param purchase_order_id [String] Unique identifier for an Purchase Order
|
17069
17283
|
# @param purchase_orders [PurchaseOrders]
|
17070
17284
|
# @param [Hash] opts the optional parameters
|
17071
17285
|
# @return [PurchaseOrders]
|
@@ -17076,11 +17290,12 @@ module XeroRuby
|
|
17076
17290
|
|
17077
17291
|
# Updates a specific purchase order
|
17078
17292
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
17079
|
-
# @param purchase_order_id [String] Unique identifier for
|
17293
|
+
# @param purchase_order_id [String] Unique identifier for an Purchase Order
|
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,
|
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
|
@@ -17147,7 +17362,7 @@ module XeroRuby
|
|
17147
17362
|
|
17148
17363
|
# Updates a specific attachment for a specific purchase order by filename
|
17149
17364
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
17150
|
-
# @param purchase_order_id [String] Unique identifier for Purchase Order
|
17365
|
+
# @param purchase_order_id [String] Unique identifier for an Purchase Order
|
17151
17366
|
# @param file_name [String] Name of the attachment
|
17152
17367
|
# @param body [String] Byte array of file in body of request
|
17153
17368
|
# @param [Hash] opts the optional parameters
|
@@ -17159,12 +17374,13 @@ module XeroRuby
|
|
17159
17374
|
|
17160
17375
|
# Updates a specific attachment for a specific purchase order by filename
|
17161
17376
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
17162
|
-
# @param purchase_order_id [String] Unique identifier for Purchase Order
|
17377
|
+
# @param purchase_order_id [String] Unique identifier for an Purchase Order
|
17163
17378
|
# @param file_name [String] Name of the attachment
|
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,
|
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,
|
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
|
@@ -17317,7 +17534,7 @@ module XeroRuby
|
|
17317
17534
|
|
17318
17535
|
# Updates a specific attachment from a specific quote by filename
|
17319
17536
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
17320
|
-
# @param quote_id [String] Unique identifier for Quote
|
17537
|
+
# @param quote_id [String] Unique identifier for an Quote
|
17321
17538
|
# @param file_name [String] Name of the attachment
|
17322
17539
|
# @param body [String] Byte array of file in body of request
|
17323
17540
|
# @param [Hash] opts the optional parameters
|
@@ -17329,12 +17546,13 @@ module XeroRuby
|
|
17329
17546
|
|
17330
17547
|
# Updates a specific attachment from a specific quote by filename
|
17331
17548
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
17332
|
-
# @param quote_id [String] Unique identifier for Quote
|
17549
|
+
# @param quote_id [String] Unique identifier for an Quote
|
17333
17550
|
# @param file_name [String] Name of the attachment
|
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,
|
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=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,
|
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
|
@@ -17491,7 +17710,7 @@ module XeroRuby
|
|
17491
17710
|
# Updates a specific attachment on a specific expense claim receipts by file name
|
17492
17711
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
17493
17712
|
# @param receipt_id [String] Unique identifier for a Receipt
|
17494
|
-
# @param file_name [String]
|
17713
|
+
# @param file_name [String] Name of the attachment
|
17495
17714
|
# @param body [String] Byte array of file in body of request
|
17496
17715
|
# @param [Hash] opts the optional parameters
|
17497
17716
|
# @return [Attachments]
|
@@ -17503,11 +17722,12 @@ module XeroRuby
|
|
17503
17722
|
# Updates a specific attachment on a specific expense claim receipts by file name
|
17504
17723
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
17505
17724
|
# @param receipt_id [String] Unique identifier for a Receipt
|
17506
|
-
# @param file_name [String]
|
17725
|
+
# @param file_name [String] Name of the attachment
|
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,
|
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
|
@@ -17579,7 +17799,7 @@ module XeroRuby
|
|
17579
17799
|
# Updates a specific attachment from a specific repeating invoices by file name
|
17580
17800
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
17581
17801
|
# @param repeating_invoice_id [String] Unique identifier for a Repeating Invoice
|
17582
|
-
# @param file_name [String]
|
17802
|
+
# @param file_name [String] Name of the attachment
|
17583
17803
|
# @param body [String] Byte array of file in body of request
|
17584
17804
|
# @param [Hash] opts the optional parameters
|
17585
17805
|
# @return [Attachments]
|
@@ -17591,11 +17811,12 @@ module XeroRuby
|
|
17591
17811
|
# Updates a specific attachment from a specific repeating invoices by file name
|
17592
17812
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
17593
17813
|
# @param repeating_invoice_id [String] Unique identifier for a Repeating Invoice
|
17594
|
-
# @param file_name [String]
|
17814
|
+
# @param file_name [String] Name of the attachment
|
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,
|
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,
|
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,
|
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,
|
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
|