ynab 1.19.0 → 1.20.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 35449c67dfda4654fc34d34788605b3bf86d6e4bcbf46886669fcfd3c2e0388d
4
- data.tar.gz: 985b6590906244ec3a54086ccfb8f708c3e012500c05e50d26644bc455f4e84a
3
+ metadata.gz: 50c70c6eb4dfc2f8852ab1668c82c45b3cd4c9b843fbdd60dd7872a2dd1726e0
4
+ data.tar.gz: c942864319a05b4ed45559e48d0dd905878ab37747d17b38f6191dd9ea751cc2
5
5
  SHA512:
6
- metadata.gz: 859803774748aaf17a35f76469b1d492660e414d3690e7fccffa6df97378bebb8d197607b3222f082e6aacfbabbb0aea1f85f8702746a78eca0ff0443c39c95c
7
- data.tar.gz: b118379b5530965699fd5c38ff0cdc4f553647ea9a15fb7c957f1c19731bee2062247a9fb7a4f03dd051baf1b3746b7a63b47d5e6325af875cd6bec6a753db2d
6
+ metadata.gz: 90a4be03029b69c7aaf0d4247cc925685e50821c23887a1544d8a5c3cc4ab54ed8cecca07a6140a5f179c5793d4af78b8c2e471588de483ff7cb2a087bb0f5e3
7
+ data.tar.gz: 3eeb6a9bb2dc7eb0d01380e86b999720c900ee3b227c6cd61cb7689ab6c1332b08acbed9f4a708662ec8d4fec6a3a0463533f505abbca9182d6afd072db85114
@@ -65,6 +65,8 @@ require 'ynab/models/payee_response'
65
65
  require 'ynab/models/payee_response_data'
66
66
  require 'ynab/models/payees_response'
67
67
  require 'ynab/models/payees_response_data'
68
+ require 'ynab/models/save_account'
69
+ require 'ynab/models/save_account_wrapper'
68
70
  require 'ynab/models/save_category_response'
69
71
  require 'ynab/models/save_category_response_data'
70
72
  require 'ynab/models/save_month_category'
@@ -19,9 +19,67 @@ module YNAB
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
+ # Create a new account
23
+ # Creates a new account.
24
+ # @param budget_id The id of the budget (\"last-used\" can be used to specify the last used budget and \"default\" can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget)
25
+ # @param data The account to create.
26
+ # @param [Hash] opts the optional parameters
27
+ # @return [AccountResponse]
28
+ def create_account(budget_id, data, opts = {})
29
+ data, _status_code, _headers = create_account_with_http_info(budget_id, data, opts)
30
+ data
31
+ end
32
+
33
+ # Create a new account
34
+ # Creates a new account.
35
+ # @param budget_id The id of the budget (\"last-used\" can be used to specify the last used budget and \"default\" can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget)
36
+ # @param data The account to create.
37
+ # @param [Hash] opts the optional parameters
38
+ # @return [Array<(AccountResponse, Fixnum, Hash)>] AccountResponse data, response status code and response headers
39
+ def create_account_with_http_info(budget_id, data, opts = {})
40
+ if @api_client.config.debugging
41
+ @api_client.config.logger.debug 'Calling API: AccountsApi.create_account ...'
42
+ end
43
+ # verify the required parameter 'budget_id' is set
44
+ if @api_client.config.client_side_validation && budget_id.nil?
45
+ fail ArgumentError, "Missing the required parameter 'budget_id' when calling AccountsApi.create_account"
46
+ end
47
+ # verify the required parameter 'data' is set
48
+ if @api_client.config.client_side_validation && data.nil?
49
+ fail ArgumentError, "Missing the required parameter 'data' when calling AccountsApi.create_account"
50
+ end
51
+ # resource path
52
+ local_var_path = '/budgets/{budget_id}/accounts'.sub('{' + 'budget_id' + '}', budget_id.to_s)
53
+
54
+ # query parameters
55
+ query_params = {}
56
+
57
+ # header parameters
58
+ header_params = {}
59
+ # HTTP header 'Accept' (if needed)
60
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
61
+
62
+ # form parameters
63
+ form_params = {}
64
+
65
+ # http body (model)
66
+ post_body = @api_client.object_to_http_body(data)
67
+ auth_names = ['bearer']
68
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
69
+ :header_params => header_params,
70
+ :query_params => query_params,
71
+ :form_params => form_params,
72
+ :body => post_body,
73
+ :auth_names => auth_names,
74
+ :return_type => 'AccountResponse')
75
+ if @api_client.config.debugging
76
+ @api_client.config.logger.debug "API called: AccountsApi#create_account\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
77
+ end
78
+ return data, status_code, headers
79
+ end
22
80
  # Single account
23
81
  # Returns a single account
24
- # @param budget_id The id of the budget (\&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget)
82
+ # @param budget_id The id of the budget. \&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget).
25
83
  # @param account_id The id of the account
26
84
  # @param [Hash] opts the optional parameters
27
85
  # @return [AccountResponse]
@@ -32,7 +90,7 @@ module YNAB
32
90
 
33
91
  # Single account
34
92
  # Returns a single account
35
- # @param budget_id The id of the budget (\&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget)
93
+ # @param budget_id The id of the budget. \&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget).
36
94
  # @param account_id The id of the account
37
95
  # @param [Hash] opts the optional parameters
38
96
  # @return [Array<(AccountResponse, Fixnum, Hash)>] AccountResponse data, response status code and response headers
@@ -79,7 +137,7 @@ module YNAB
79
137
  end
80
138
  # Account list
81
139
  # Returns all accounts
82
- # @param budget_id The id of the budget (\&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget)
140
+ # @param budget_id The id of the budget. \&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget).
83
141
  # @param [Hash] opts the optional parameters
84
142
  # @option opts [Integer] :last_knowledge_of_server The starting server knowledge. If provided, only entities that have changed since &#x60;last_knowledge_of_server&#x60; will be included.
85
143
  # @return [AccountsResponse]
@@ -90,7 +148,7 @@ module YNAB
90
148
 
91
149
  # Account list
92
150
  # Returns all accounts
93
- # @param budget_id The id of the budget (\&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget)
151
+ # @param budget_id The id of the budget. \&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget).
94
152
  # @param [Hash] opts the optional parameters
95
153
  # @option opts [Integer] :last_knowledge_of_server The starting server knowledge. If provided, only entities that have changed since &#x60;last_knowledge_of_server&#x60; will be included.
96
154
  # @return [Array<(AccountsResponse, Fixnum, Hash)>] AccountsResponse data, response status code and response headers
@@ -21,7 +21,7 @@ module YNAB
21
21
  end
22
22
  # Single budget
23
23
  # Returns a single budget with all related entities. This resource is effectively a full budget export.
24
- # @param budget_id The id of the budget (\&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget)
24
+ # @param budget_id The id of the budget. \&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget).
25
25
  # @param [Hash] opts the optional parameters
26
26
  # @option opts [Integer] :last_knowledge_of_server The starting server knowledge. If provided, only entities that have changed since &#x60;last_knowledge_of_server&#x60; will be included.
27
27
  # @return [BudgetDetailResponse]
@@ -32,7 +32,7 @@ module YNAB
32
32
 
33
33
  # Single budget
34
34
  # Returns a single budget with all related entities. This resource is effectively a full budget export.
35
- # @param budget_id The id of the budget (\&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget)
35
+ # @param budget_id The id of the budget. \&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget).
36
36
  # @param [Hash] opts the optional parameters
37
37
  # @option opts [Integer] :last_knowledge_of_server The starting server knowledge. If provided, only entities that have changed since &#x60;last_knowledge_of_server&#x60; will be included.
38
38
  # @return [Array<(BudgetDetailResponse, Fixnum, Hash)>] BudgetDetailResponse data, response status code and response headers
@@ -76,7 +76,7 @@ module YNAB
76
76
  end
77
77
  # Budget Settings
78
78
  # Returns settings for a budget
79
- # @param budget_id The id of the budget (\&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget)
79
+ # @param budget_id The id of the budget. \&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget).
80
80
  # @param [Hash] opts the optional parameters
81
81
  # @return [BudgetSettingsResponse]
82
82
  def get_budget_settings_by_id(budget_id, opts = {})
@@ -86,7 +86,7 @@ module YNAB
86
86
 
87
87
  # Budget Settings
88
88
  # Returns settings for a budget
89
- # @param budget_id The id of the budget (\&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget)
89
+ # @param budget_id The id of the budget. \&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget).
90
90
  # @param [Hash] opts the optional parameters
91
91
  # @return [Array<(BudgetSettingsResponse, Fixnum, Hash)>] BudgetSettingsResponse data, response status code and response headers
92
92
  def get_budget_settings_by_id_with_http_info(budget_id, opts = {})
@@ -21,7 +21,7 @@ module YNAB
21
21
  end
22
22
  # List categories
23
23
  # Returns all categories grouped by category group. Amounts (budgeted, activity, balance, etc.) are specific to the current budget month (UTC).
24
- # @param budget_id The id of the budget (\&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget)
24
+ # @param budget_id The id of the budget. \&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget).
25
25
  # @param [Hash] opts the optional parameters
26
26
  # @option opts [Integer] :last_knowledge_of_server The starting server knowledge. If provided, only entities that have changed since &#x60;last_knowledge_of_server&#x60; will be included.
27
27
  # @return [CategoriesResponse]
@@ -32,7 +32,7 @@ module YNAB
32
32
 
33
33
  # List categories
34
34
  # Returns all categories grouped by category group. Amounts (budgeted, activity, balance, etc.) are specific to the current budget month (UTC).
35
- # @param budget_id The id of the budget (\&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget)
35
+ # @param budget_id The id of the budget. \&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget).
36
36
  # @param [Hash] opts the optional parameters
37
37
  # @option opts [Integer] :last_knowledge_of_server The starting server knowledge. If provided, only entities that have changed since &#x60;last_knowledge_of_server&#x60; will be included.
38
38
  # @return [Array<(CategoriesResponse, Fixnum, Hash)>] CategoriesResponse data, response status code and response headers
@@ -76,7 +76,7 @@ module YNAB
76
76
  end
77
77
  # Single category
78
78
  # Returns a single category. Amounts (budgeted, activity, balance, etc.) are specific to the current budget month (UTC).
79
- # @param budget_id The id of the budget (\&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget)
79
+ # @param budget_id The id of the budget. \&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget).
80
80
  # @param category_id The id of the category
81
81
  # @param [Hash] opts the optional parameters
82
82
  # @return [CategoryResponse]
@@ -87,7 +87,7 @@ module YNAB
87
87
 
88
88
  # Single category
89
89
  # Returns a single category. Amounts (budgeted, activity, balance, etc.) are specific to the current budget month (UTC).
90
- # @param budget_id The id of the budget (\&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget)
90
+ # @param budget_id The id of the budget. \&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget).
91
91
  # @param category_id The id of the category
92
92
  # @param [Hash] opts the optional parameters
93
93
  # @return [Array<(CategoryResponse, Fixnum, Hash)>] CategoryResponse data, response status code and response headers
@@ -134,7 +134,7 @@ module YNAB
134
134
  end
135
135
  # Single category for a specific budget month
136
136
  # Returns a single category for a specific budget month. Amounts (budgeted, activity, balance, etc.) are specific to the current budget month (UTC).
137
- # @param budget_id The id of the budget (\&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget)
137
+ # @param budget_id The id of the budget. \&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget).
138
138
  # @param month The budget month in ISO format (e.g. 2016-12-01) (\&quot;current\&quot; can also be used to specify the current calendar month (UTC))
139
139
  # @param category_id The id of the category
140
140
  # @param [Hash] opts the optional parameters
@@ -146,7 +146,7 @@ module YNAB
146
146
 
147
147
  # Single category for a specific budget month
148
148
  # Returns a single category for a specific budget month. Amounts (budgeted, activity, balance, etc.) are specific to the current budget month (UTC).
149
- # @param budget_id The id of the budget (\&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget)
149
+ # @param budget_id The id of the budget. \&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget).
150
150
  # @param month The budget month in ISO format (e.g. 2016-12-01) (\&quot;current\&quot; can also be used to specify the current calendar month (UTC))
151
151
  # @param category_id The id of the category
152
152
  # @param [Hash] opts the optional parameters
@@ -198,7 +198,7 @@ module YNAB
198
198
  end
199
199
  # Update a category for a specific month
200
200
  # Update a category for a specific month. Only `budgeted` amount can be updated.
201
- # @param budget_id The id of the budget (\&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget)
201
+ # @param budget_id The id of the budget. \&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget).
202
202
  # @param month The budget month in ISO format (e.g. 2016-12-01) (\&quot;current\&quot; can also be used to specify the current calendar month (UTC))
203
203
  # @param category_id The id of the category
204
204
  # @param data The category to update. Only &#x60;budgeted&#x60; amount can be updated and any other fields specified will be ignored.
@@ -211,7 +211,7 @@ module YNAB
211
211
 
212
212
  # Update a category for a specific month
213
213
  # Update a category for a specific month. Only &#x60;budgeted&#x60; amount can be updated.
214
- # @param budget_id The id of the budget (\&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget)
214
+ # @param budget_id The id of the budget. \&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget).
215
215
  # @param month The budget month in ISO format (e.g. 2016-12-01) (\&quot;current\&quot; can also be used to specify the current calendar month (UTC))
216
216
  # @param category_id The id of the category
217
217
  # @param data The category to update. Only &#x60;budgeted&#x60; amount can be updated and any other fields specified will be ignored.
@@ -21,7 +21,7 @@ module YNAB
21
21
  end
22
22
  # Bulk create transactions
23
23
  # Creates multiple transactions. Although this endpoint is still supported, it is recommended to use 'POST /budgets/{budget_id}/transactions' to create multiple transactions.
24
- # @param budget_id The id of the budget (\&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget)
24
+ # @param budget_id The id of the budget. \&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget).
25
25
  # @param transactions The list of transactions to create
26
26
  # @param [Hash] opts the optional parameters
27
27
  # @return [BulkResponse]
@@ -32,7 +32,7 @@ module YNAB
32
32
 
33
33
  # Bulk create transactions
34
34
  # Creates multiple transactions. Although this endpoint is still supported, it is recommended to use &#39;POST /budgets/{budget_id}/transactions&#39; to create multiple transactions.
35
- # @param budget_id The id of the budget (\&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget)
35
+ # @param budget_id The id of the budget. \&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget).
36
36
  # @param transactions The list of transactions to create
37
37
  # @param [Hash] opts the optional parameters
38
38
  # @return [Array<(BulkResponse, Fixnum, Hash)>] BulkResponse data, response status code and response headers
@@ -21,7 +21,7 @@ module YNAB
21
21
  end
22
22
  # Single budget month
23
23
  # Returns a single budget month
24
- # @param budget_id The id of the budget (\&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget)
24
+ # @param budget_id The id of the budget. \&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget).
25
25
  # @param month The budget month in ISO format (e.g. 2016-12-01) (\&quot;current\&quot; can also be used to specify the current calendar month (UTC))
26
26
  # @param [Hash] opts the optional parameters
27
27
  # @return [MonthDetailResponse]
@@ -32,7 +32,7 @@ module YNAB
32
32
 
33
33
  # Single budget month
34
34
  # Returns a single budget month
35
- # @param budget_id The id of the budget (\&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget)
35
+ # @param budget_id The id of the budget. \&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget).
36
36
  # @param month The budget month in ISO format (e.g. 2016-12-01) (\&quot;current\&quot; can also be used to specify the current calendar month (UTC))
37
37
  # @param [Hash] opts the optional parameters
38
38
  # @return [Array<(MonthDetailResponse, Fixnum, Hash)>] MonthDetailResponse data, response status code and response headers
@@ -79,7 +79,7 @@ module YNAB
79
79
  end
80
80
  # List budget months
81
81
  # Returns all budget months
82
- # @param budget_id The id of the budget (\&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget)
82
+ # @param budget_id The id of the budget. \&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget).
83
83
  # @param [Hash] opts the optional parameters
84
84
  # @option opts [Integer] :last_knowledge_of_server The starting server knowledge. If provided, only entities that have changed since &#x60;last_knowledge_of_server&#x60; will be included.
85
85
  # @return [MonthSummariesResponse]
@@ -90,7 +90,7 @@ module YNAB
90
90
 
91
91
  # List budget months
92
92
  # Returns all budget months
93
- # @param budget_id The id of the budget (\&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget)
93
+ # @param budget_id The id of the budget. \&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget).
94
94
  # @param [Hash] opts the optional parameters
95
95
  # @option opts [Integer] :last_knowledge_of_server The starting server knowledge. If provided, only entities that have changed since &#x60;last_knowledge_of_server&#x60; will be included.
96
96
  # @return [Array<(MonthSummariesResponse, Fixnum, Hash)>] MonthSummariesResponse data, response status code and response headers
@@ -21,7 +21,7 @@ module YNAB
21
21
  end
22
22
  # Single payee location
23
23
  # Returns a single payee location
24
- # @param budget_id The id of the budget (\&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget)
24
+ # @param budget_id The id of the budget. \&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget).
25
25
  # @param payee_location_id id of payee location
26
26
  # @param [Hash] opts the optional parameters
27
27
  # @return [PayeeLocationResponse]
@@ -32,7 +32,7 @@ module YNAB
32
32
 
33
33
  # Single payee location
34
34
  # Returns a single payee location
35
- # @param budget_id The id of the budget (\&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget)
35
+ # @param budget_id The id of the budget. \&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget).
36
36
  # @param payee_location_id id of payee location
37
37
  # @param [Hash] opts the optional parameters
38
38
  # @return [Array<(PayeeLocationResponse, Fixnum, Hash)>] PayeeLocationResponse data, response status code and response headers
@@ -79,7 +79,7 @@ module YNAB
79
79
  end
80
80
  # List payee locations
81
81
  # Returns all payee locations
82
- # @param budget_id The id of the budget (\&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget)
82
+ # @param budget_id The id of the budget. \&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget).
83
83
  # @param [Hash] opts the optional parameters
84
84
  # @return [PayeeLocationsResponse]
85
85
  def get_payee_locations(budget_id, opts = {})
@@ -89,7 +89,7 @@ module YNAB
89
89
 
90
90
  # List payee locations
91
91
  # Returns all payee locations
92
- # @param budget_id The id of the budget (\&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget)
92
+ # @param budget_id The id of the budget. \&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget).
93
93
  # @param [Hash] opts the optional parameters
94
94
  # @return [Array<(PayeeLocationsResponse, Fixnum, Hash)>] PayeeLocationsResponse data, response status code and response headers
95
95
  def get_payee_locations_with_http_info(budget_id, opts = {})
@@ -131,7 +131,7 @@ module YNAB
131
131
  end
132
132
  # List locations for a payee
133
133
  # Returns all payee locations for the specified payee
134
- # @param budget_id The id of the budget (\&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget)
134
+ # @param budget_id The id of the budget. \&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget).
135
135
  # @param payee_id id of payee
136
136
  # @param [Hash] opts the optional parameters
137
137
  # @return [PayeeLocationsResponse]
@@ -142,7 +142,7 @@ module YNAB
142
142
 
143
143
  # List locations for a payee
144
144
  # Returns all payee locations for the specified payee
145
- # @param budget_id The id of the budget (\&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget)
145
+ # @param budget_id The id of the budget. \&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget).
146
146
  # @param payee_id id of payee
147
147
  # @param [Hash] opts the optional parameters
148
148
  # @return [Array<(PayeeLocationsResponse, Fixnum, Hash)>] PayeeLocationsResponse data, response status code and response headers
@@ -21,7 +21,7 @@ module YNAB
21
21
  end
22
22
  # Single payee
23
23
  # Returns single payee
24
- # @param budget_id The id of the budget (\&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget)
24
+ # @param budget_id The id of the budget. \&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget).
25
25
  # @param payee_id The id of the payee
26
26
  # @param [Hash] opts the optional parameters
27
27
  # @return [PayeeResponse]
@@ -32,7 +32,7 @@ module YNAB
32
32
 
33
33
  # Single payee
34
34
  # Returns single payee
35
- # @param budget_id The id of the budget (\&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget)
35
+ # @param budget_id The id of the budget. \&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget).
36
36
  # @param payee_id The id of the payee
37
37
  # @param [Hash] opts the optional parameters
38
38
  # @return [Array<(PayeeResponse, Fixnum, Hash)>] PayeeResponse data, response status code and response headers
@@ -79,7 +79,7 @@ module YNAB
79
79
  end
80
80
  # List payees
81
81
  # Returns all payees
82
- # @param budget_id The id of the budget (\&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget)
82
+ # @param budget_id The id of the budget. \&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget).
83
83
  # @param [Hash] opts the optional parameters
84
84
  # @option opts [Integer] :last_knowledge_of_server The starting server knowledge. If provided, only entities that have changed since &#x60;last_knowledge_of_server&#x60; will be included.
85
85
  # @return [PayeesResponse]
@@ -90,7 +90,7 @@ module YNAB
90
90
 
91
91
  # List payees
92
92
  # Returns all payees
93
- # @param budget_id The id of the budget (\&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget)
93
+ # @param budget_id The id of the budget. \&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget).
94
94
  # @param [Hash] opts the optional parameters
95
95
  # @option opts [Integer] :last_knowledge_of_server The starting server knowledge. If provided, only entities that have changed since &#x60;last_knowledge_of_server&#x60; will be included.
96
96
  # @return [Array<(PayeesResponse, Fixnum, Hash)>] PayeesResponse data, response status code and response headers
@@ -21,7 +21,7 @@ module YNAB
21
21
  end
22
22
  # Single scheduled transaction
23
23
  # Returns a single scheduled transaction
24
- # @param budget_id The id of the budget (\&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget)
24
+ # @param budget_id The id of the budget. \&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget).
25
25
  # @param scheduled_transaction_id The id of the scheduled transaction
26
26
  # @param [Hash] opts the optional parameters
27
27
  # @return [ScheduledTransactionResponse]
@@ -32,7 +32,7 @@ module YNAB
32
32
 
33
33
  # Single scheduled transaction
34
34
  # Returns a single scheduled transaction
35
- # @param budget_id The id of the budget (\&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget)
35
+ # @param budget_id The id of the budget. \&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget).
36
36
  # @param scheduled_transaction_id The id of the scheduled transaction
37
37
  # @param [Hash] opts the optional parameters
38
38
  # @return [Array<(ScheduledTransactionResponse, Fixnum, Hash)>] ScheduledTransactionResponse data, response status code and response headers
@@ -79,7 +79,7 @@ module YNAB
79
79
  end
80
80
  # List scheduled transactions
81
81
  # Returns all scheduled transactions
82
- # @param budget_id The id of the budget (\&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget)
82
+ # @param budget_id The id of the budget. \&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget).
83
83
  # @param [Hash] opts the optional parameters
84
84
  # @option opts [Integer] :last_knowledge_of_server The starting server knowledge. If provided, only entities that have changed since &#x60;last_knowledge_of_server&#x60; will be included.
85
85
  # @return [ScheduledTransactionsResponse]
@@ -90,7 +90,7 @@ module YNAB
90
90
 
91
91
  # List scheduled transactions
92
92
  # Returns all scheduled transactions
93
- # @param budget_id The id of the budget (\&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget)
93
+ # @param budget_id The id of the budget. \&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget).
94
94
  # @param [Hash] opts the optional parameters
95
95
  # @option opts [Integer] :last_knowledge_of_server The starting server knowledge. If provided, only entities that have changed since &#x60;last_knowledge_of_server&#x60; will be included.
96
96
  # @return [Array<(ScheduledTransactionsResponse, Fixnum, Hash)>] ScheduledTransactionsResponse data, response status code and response headers
@@ -21,7 +21,7 @@ module YNAB
21
21
  end
22
22
  # Create a single transaction or multiple transactions
23
23
  # Creates a single transaction or multiple transactions. If you provide a body containing a `transaction` object, a single transaction will be created and if you provide a body containing a `transactions` array, multiple transactions will be created. Scheduled transactions cannot be created on this endpoint.
24
- # @param budget_id The id of the budget (\&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget)
24
+ # @param budget_id The id of the budget. \&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget).
25
25
  # @param data The transaction or transactions to create. To create a single transaction you can specify a value for the &#x60;transaction&#x60; object and to create multiple transactions you can specify an array of &#x60;transactions&#x60;. It is expected that you will only provide a value for one of these objects.
26
26
  # @param [Hash] opts the optional parameters
27
27
  # @return [SaveTransactionsResponse]
@@ -32,7 +32,7 @@ module YNAB
32
32
 
33
33
  # Create a single transaction or multiple transactions
34
34
  # Creates a single transaction or multiple transactions. If you provide a body containing a &#x60;transaction&#x60; object, a single transaction will be created and if you provide a body containing a &#x60;transactions&#x60; array, multiple transactions will be created. Scheduled transactions cannot be created on this endpoint.
35
- # @param budget_id The id of the budget (\&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget)
35
+ # @param budget_id The id of the budget. \&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget).
36
36
  # @param data The transaction or transactions to create. To create a single transaction you can specify a value for the &#x60;transaction&#x60; object and to create multiple transactions you can specify an array of &#x60;transactions&#x60;. It is expected that you will only provide a value for one of these objects.
37
37
  # @param [Hash] opts the optional parameters
38
38
  # @return [Array<(SaveTransactionsResponse, Fixnum, Hash)>] SaveTransactionsResponse data, response status code and response headers
@@ -79,7 +79,7 @@ module YNAB
79
79
  end
80
80
  # Single transaction
81
81
  # Returns a single transaction
82
- # @param budget_id The id of the budget (\&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget)
82
+ # @param budget_id The id of the budget. \&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget).
83
83
  # @param transaction_id The id of the transaction
84
84
  # @param [Hash] opts the optional parameters
85
85
  # @return [TransactionResponse]
@@ -90,7 +90,7 @@ module YNAB
90
90
 
91
91
  # Single transaction
92
92
  # Returns a single transaction
93
- # @param budget_id The id of the budget (\&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget)
93
+ # @param budget_id The id of the budget. \&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget).
94
94
  # @param transaction_id The id of the transaction
95
95
  # @param [Hash] opts the optional parameters
96
96
  # @return [Array<(TransactionResponse, Fixnum, Hash)>] TransactionResponse data, response status code and response headers
@@ -137,7 +137,7 @@ module YNAB
137
137
  end
138
138
  # List transactions
139
139
  # Returns budget transactions
140
- # @param budget_id The id of the budget (\&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget)
140
+ # @param budget_id The id of the budget. \&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget).
141
141
  # @param [Hash] opts the optional parameters
142
142
  # @option opts [Date] :since_date If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30).
143
143
  # @option opts [String] :type If specified, only transactions of the specified type will be included. \&quot;uncategorized\&quot; and \&quot;unapproved\&quot; are currently supported.
@@ -150,7 +150,7 @@ module YNAB
150
150
 
151
151
  # List transactions
152
152
  # Returns budget transactions
153
- # @param budget_id The id of the budget (\&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget)
153
+ # @param budget_id The id of the budget. \&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget).
154
154
  # @param [Hash] opts the optional parameters
155
155
  # @option opts [Date] :since_date If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30).
156
156
  # @option opts [String] :type If specified, only transactions of the specified type will be included. \&quot;uncategorized\&quot; and \&quot;unapproved\&quot; are currently supported.
@@ -201,7 +201,7 @@ module YNAB
201
201
  end
202
202
  # List account transactions
203
203
  # Returns all transactions for a specified account
204
- # @param budget_id The id of the budget (\&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget)
204
+ # @param budget_id The id of the budget. \&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget).
205
205
  # @param account_id The id of the account
206
206
  # @param [Hash] opts the optional parameters
207
207
  # @option opts [Date] :since_date If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30).
@@ -215,7 +215,7 @@ module YNAB
215
215
 
216
216
  # List account transactions
217
217
  # Returns all transactions for a specified account
218
- # @param budget_id The id of the budget (\&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget)
218
+ # @param budget_id The id of the budget. \&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget).
219
219
  # @param account_id The id of the account
220
220
  # @param [Hash] opts the optional parameters
221
221
  # @option opts [Date] :since_date If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30).
@@ -271,7 +271,7 @@ module YNAB
271
271
  end
272
272
  # List category transactions
273
273
  # Returns all transactions for a specified category
274
- # @param budget_id The id of the budget (\&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget)
274
+ # @param budget_id The id of the budget. \&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget).
275
275
  # @param category_id The id of the category
276
276
  # @param [Hash] opts the optional parameters
277
277
  # @option opts [Date] :since_date If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30).
@@ -285,7 +285,7 @@ module YNAB
285
285
 
286
286
  # List category transactions
287
287
  # Returns all transactions for a specified category
288
- # @param budget_id The id of the budget (\&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget)
288
+ # @param budget_id The id of the budget. \&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget).
289
289
  # @param category_id The id of the category
290
290
  # @param [Hash] opts the optional parameters
291
291
  # @option opts [Date] :since_date If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30).
@@ -341,7 +341,7 @@ module YNAB
341
341
  end
342
342
  # List payee transactions
343
343
  # Returns all transactions for a specified payee
344
- # @param budget_id The id of the budget (\&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget)
344
+ # @param budget_id The id of the budget. \&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget).
345
345
  # @param payee_id The id of the payee
346
346
  # @param [Hash] opts the optional parameters
347
347
  # @option opts [Date] :since_date If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30).
@@ -355,7 +355,7 @@ module YNAB
355
355
 
356
356
  # List payee transactions
357
357
  # Returns all transactions for a specified payee
358
- # @param budget_id The id of the budget (\&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget)
358
+ # @param budget_id The id of the budget. \&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget).
359
359
  # @param payee_id The id of the payee
360
360
  # @param [Hash] opts the optional parameters
361
361
  # @option opts [Date] :since_date If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30).
@@ -411,7 +411,7 @@ module YNAB
411
411
  end
412
412
  # Import transactions
413
413
  # Imports transactions.
414
- # @param budget_id The id of the budget (\&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget)
414
+ # @param budget_id The id of the budget. \&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget).
415
415
  # @param [Hash] opts the optional parameters
416
416
  # @return [TransactionsImportResponse]
417
417
  def import_transactions(budget_id, opts = {})
@@ -421,7 +421,7 @@ module YNAB
421
421
 
422
422
  # Import transactions
423
423
  # Imports transactions.
424
- # @param budget_id The id of the budget (\&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget)
424
+ # @param budget_id The id of the budget. \&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget).
425
425
  # @param [Hash] opts the optional parameters
426
426
  # @return [Array<(TransactionsImportResponse, Fixnum, Hash)>] TransactionsImportResponse data, response status code and response headers
427
427
  def import_transactions_with_http_info(budget_id, opts = {})
@@ -463,7 +463,7 @@ module YNAB
463
463
  end
464
464
  # Updates an existing transaction
465
465
  # Updates a transaction
466
- # @param budget_id The id of the budget (\&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget)
466
+ # @param budget_id The id of the budget. \&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget).
467
467
  # @param transaction_id The id of the transaction
468
468
  # @param data The transaction to update
469
469
  # @param [Hash] opts the optional parameters
@@ -475,7 +475,7 @@ module YNAB
475
475
 
476
476
  # Updates an existing transaction
477
477
  # Updates a transaction
478
- # @param budget_id The id of the budget (\&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget)
478
+ # @param budget_id The id of the budget. \&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget).
479
479
  # @param transaction_id The id of the transaction
480
480
  # @param data The transaction to update
481
481
  # @param [Hash] opts the optional parameters
@@ -527,7 +527,7 @@ module YNAB
527
527
  end
528
528
  # Update multiple transactions
529
529
  # Updates multiple transactions, by `id` or `import_id`.
530
- # @param budget_id The id of the budget (\&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget)
530
+ # @param budget_id The id of the budget. \&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget).
531
531
  # @param data The transactions to update. Each transaction must have either an &#x60;id&#x60; or &#x60;import_id&#x60; specified. If &#x60;id&#x60; is specified as null an &#x60;import_id&#x60; value can be provided which will allow transaction(s) to be updated by their &#x60;import_id&#x60;. If an &#x60;id&#x60; is specified, it will always be used for lookup.
532
532
  # @param [Hash] opts the optional parameters
533
533
  # @return [SaveTransactionsResponse]
@@ -538,7 +538,7 @@ module YNAB
538
538
 
539
539
  # Update multiple transactions
540
540
  # Updates multiple transactions, by &#x60;id&#x60; or &#x60;import_id&#x60;.
541
- # @param budget_id The id of the budget (\&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget)
541
+ # @param budget_id The id of the budget. \&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget).
542
542
  # @param data The transactions to update. Each transaction must have either an &#x60;id&#x60; or &#x60;import_id&#x60; specified. If &#x60;id&#x60; is specified as null an &#x60;import_id&#x60; value can be provided which will allow transaction(s) to be updated by their &#x60;import_id&#x60;. If an &#x60;id&#x60; is specified, it will always be used for lookup.
543
543
  # @param [Hash] opts the optional parameters
544
544
  # @return [Array<(SaveTransactionsResponse, Fixnum, Hash)>] SaveTransactionsResponse data, response status code and response headers