ruconomic 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (75) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +5 -0
  3. data/Gemfile +4 -0
  4. data/LICENSE.txt +22 -0
  5. data/README.md +100 -0
  6. data/Rakefile +2 -0
  7. data/lib/ruconomic/api/account.rb +520 -0
  8. data/lib/ruconomic/api/accounting_period.rb +113 -0
  9. data/lib/ruconomic/api/accounting_year.rb +161 -0
  10. data/lib/ruconomic/api/activity.rb +90 -0
  11. data/lib/ruconomic/api/bank_payment_type.rb +103 -0
  12. data/lib/ruconomic/api/budget_figure.rb +343 -0
  13. data/lib/ruconomic/api/cash_book.rb +232 -0
  14. data/lib/ruconomic/api/cash_book_entry.rb +716 -0
  15. data/lib/ruconomic/api/company.rb +294 -0
  16. data/lib/ruconomic/api/cost_type.rb +138 -0
  17. data/lib/ruconomic/api/cost_type_group.rb +115 -0
  18. data/lib/ruconomic/api/creditor.rb +688 -0
  19. data/lib/ruconomic/api/creditor_contact.rb +269 -0
  20. data/lib/ruconomic/api/creditor_entry.rb +235 -0
  21. data/lib/ruconomic/api/creditor_group.rb +208 -0
  22. data/lib/ruconomic/api/currency.rb +67 -0
  23. data/lib/ruconomic/api/current_invoice.rb +1110 -0
  24. data/lib/ruconomic/api/current_invoice_line.rb +440 -0
  25. data/lib/ruconomic/api/current_supplier_invoice.rb +115 -0
  26. data/lib/ruconomic/api/current_supplier_invoice_line.rb +92 -0
  27. data/lib/ruconomic/api/debtor.rb +978 -0
  28. data/lib/ruconomic/api/debtor_contact.rb +328 -0
  29. data/lib/ruconomic/api/debtor_entry.rb +223 -0
  30. data/lib/ruconomic/api/debtor_group.rb +232 -0
  31. data/lib/ruconomic/api/delivery_location.rb +341 -0
  32. data/lib/ruconomic/api/department.rb +197 -0
  33. data/lib/ruconomic/api/distribution_key.rb +187 -0
  34. data/lib/ruconomic/api/document_archive_category.rb +163 -0
  35. data/lib/ruconomic/api/employee.rb +421 -0
  36. data/lib/ruconomic/api/employee_group.rb +199 -0
  37. data/lib/ruconomic/api/entry.rb +318 -0
  38. data/lib/ruconomic/api/extended_vat_zone.rb +79 -0
  39. data/lib/ruconomic/api/inventory_location.rb +91 -0
  40. data/lib/ruconomic/api/invoice.rb +655 -0
  41. data/lib/ruconomic/api/invoice_line.rb +248 -0
  42. data/lib/ruconomic/api/key_figure_code.rb +103 -0
  43. data/lib/ruconomic/api/mileage_entry.rb +319 -0
  44. data/lib/ruconomic/api/order.rb +1169 -0
  45. data/lib/ruconomic/api/order_line.rb +451 -0
  46. data/lib/ruconomic/api/price_group.rb +200 -0
  47. data/lib/ruconomic/api/product.rb +533 -0
  48. data/lib/ruconomic/api/product_group.rb +271 -0
  49. data/lib/ruconomic/api/product_price.rb +164 -0
  50. data/lib/ruconomic/api/project.rb +449 -0
  51. data/lib/ruconomic/api/project_group.rb +113 -0
  52. data/lib/ruconomic/api/quotation.rb +1145 -0
  53. data/lib/ruconomic/api/quotation_line.rb +451 -0
  54. data/lib/ruconomic/api/report_code.rb +78 -0
  55. data/lib/ruconomic/api/report_code_set.rb +89 -0
  56. data/lib/ruconomic/api/scanned_document.rb +175 -0
  57. data/lib/ruconomic/api/subscriber.rb +475 -0
  58. data/lib/ruconomic/api/subscription.rb +375 -0
  59. data/lib/ruconomic/api/subscription_line.rb +307 -0
  60. data/lib/ruconomic/api/sum_interval.rb +164 -0
  61. data/lib/ruconomic/api/template_collection.rb +78 -0
  62. data/lib/ruconomic/api/term_of_payment.rb +307 -0
  63. data/lib/ruconomic/api/time_entry.rb +258 -0
  64. data/lib/ruconomic/api/unit.rb +187 -0
  65. data/lib/ruconomic/api/vat_account.rb +151 -0
  66. data/lib/ruconomic/api.rb +79 -0
  67. data/lib/ruconomic/fault.rb +17 -0
  68. data/lib/ruconomic/soap/document.rb +79 -0
  69. data/lib/ruconomic/soap/node.rb +24 -0
  70. data/lib/ruconomic/soap.rb +7 -0
  71. data/lib/ruconomic/version.rb +3 -0
  72. data/lib/ruconomic/web_service.rb +50 -0
  73. data/lib/ruconomic.rb +42 -0
  74. data/ruconomic.gemspec +27 -0
  75. metadata +202 -0
@@ -0,0 +1,343 @@
1
+ module Ruconomic
2
+ module API
3
+ module BudgetFigure
4
+ extend Ruconomic::WebService
5
+
6
+ # Returns budget figure data objects for a given set of budget figure handles.
7
+ # Parameters: entityHandles: An array of budget figure handles.
8
+ #
9
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
10
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=BudgetFigure_GetDataArray
11
+ # @return [Hash] The body content of the SOAP response.
12
+ def self.get_data_array
13
+ response = invoke('BudgetFigure_GetDataArray') do |message|
14
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
15
+ end
16
+ end
17
+
18
+ # Set the account of a budget figure.
19
+ # Parameters: budgetfigureHandle: Handle for the budget figure. valueHandle: New handle for new account of the budget figure.
20
+ #
21
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
22
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=BudgetFigure_SetAccount
23
+ # @return [Hash] The body content of the SOAP response.
24
+ def self.set_account
25
+ response = invoke('BudgetFigure_SetAccount') do |message|
26
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
27
+ end
28
+ end
29
+
30
+ # Get handle for account of a budget figure.
31
+ # Parameters: budgetfigureHandle: Handle for the budget figure.
32
+ #
33
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
34
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=BudgetFigure_GetAccount
35
+ # @return [Hash] The body content of the SOAP response.
36
+ def self.get_account
37
+ response = invoke('BudgetFigure_GetAccount') do |message|
38
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
39
+ end
40
+ end
41
+
42
+ # Sets the text of a budget figure.
43
+ # Parameters: budgetfigureHandle: Handle for the budget figure. value: The new text of the budget figure.
44
+ #
45
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
46
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=BudgetFigure_SetText
47
+ # @return [Hash] The body content of the SOAP response.
48
+ def self.set_text
49
+ response = invoke('BudgetFigure_SetText') do |message|
50
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
51
+ end
52
+ end
53
+
54
+ # Gets the text of a budget figure.
55
+ # Parameters: budgetfigureHandle: Handle for the budget figure.
56
+ #
57
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
58
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=BudgetFigure_GetText
59
+ # @return [Hash] The body content of the SOAP response.
60
+ def self.get_text
61
+ response = invoke('BudgetFigure_GetText') do |message|
62
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
63
+ end
64
+ end
65
+
66
+ # Gets the fromdate of a budget figure.
67
+ # Parameters: budgetfigureHandle: Handle for the budget figure.
68
+ #
69
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
70
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=BudgetFigure_GetFromDate
71
+ # @return [Hash] The body content of the SOAP response.
72
+ def self.get_from_date
73
+ response = invoke('BudgetFigure_GetFromDate') do |message|
74
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
75
+ end
76
+ end
77
+
78
+ # Sets the fromdate of a budget figure.
79
+ # Parameters: budgetfigureHandle: Handle for the budget figure. value: The new fromdate of the budget figure.
80
+ #
81
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
82
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=BudgetFigure_SetFromDate
83
+ # @return [Hash] The body content of the SOAP response.
84
+ def self.set_from_date
85
+ response = invoke('BudgetFigure_SetFromDate') do |message|
86
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
87
+ end
88
+ end
89
+
90
+ # Sets the todate of a budget figure.
91
+ # Parameters: budgetfigureHandle: Handle for the budget figure. value: The new todate of the budget figure.
92
+ #
93
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
94
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=BudgetFigure_SetToDate
95
+ # @return [Hash] The body content of the SOAP response.
96
+ def self.set_to_date
97
+ response = invoke('BudgetFigure_SetToDate') do |message|
98
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
99
+ end
100
+ end
101
+
102
+ # Gets the todate of a budget figure.
103
+ # Parameters: budgetfigureHandle: Handle for the budget figure.
104
+ #
105
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
106
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=BudgetFigure_GetToDate
107
+ # @return [Hash] The body content of the SOAP response.
108
+ def self.get_to_date
109
+ response = invoke('BudgetFigure_GetToDate') do |message|
110
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
111
+ end
112
+ end
113
+
114
+ # Gets the amount of a budget figure.
115
+ # Parameters: budgetfigureHandle: Handle for the budget figure.
116
+ #
117
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
118
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=BudgetFigure_GetAmountDefaultCurrency
119
+ # @return [Hash] The body content of the SOAP response.
120
+ def self.get_amount_default_currency
121
+ response = invoke('BudgetFigure_GetAmountDefaultCurrency') do |message|
122
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
123
+ end
124
+ end
125
+
126
+ # Gets a handle for the unit1 of a budget figure. The unit1 is only accessible when there is access to the Dimension add-on module.
127
+ # Parameters: budgetfigureHandle: Handle for the budget figure.
128
+ #
129
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
130
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=BudgetFigure_GetUnit1
131
+ # @return [Hash] The body content of the SOAP response.
132
+ def self.get_unit1
133
+ response = invoke('BudgetFigure_GetUnit1') do |message|
134
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
135
+ end
136
+ end
137
+
138
+ # Gets a handle for the unit2 of a budget figure. The unit2 is only accessible when there is access to the Dimension add-on module.
139
+ # Parameters: budgetfigureHandle: Handle for the budget figure.
140
+ #
141
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
142
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=BudgetFigure_GetUnit2
143
+ # @return [Hash] The body content of the SOAP response.
144
+ def self.get_unit2
145
+ response = invoke('BudgetFigure_GetUnit2') do |message|
146
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
147
+ end
148
+ end
149
+
150
+ # Gets the quantity1 of a budget figure. The quantity1 is only accessible when there is access to the Dimension add-on module.
151
+ # Parameters: budgetfigureHandle: Handle for the budget figure.
152
+ #
153
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
154
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=BudgetFigure_GetQuantity1
155
+ # @return [Hash] The body content of the SOAP response.
156
+ def self.get_quantity1
157
+ response = invoke('BudgetFigure_GetQuantity1') do |message|
158
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
159
+ end
160
+ end
161
+
162
+ # Gets the quantity2 of a budget figure. The quantity2 is only accessible when there is access to the Dimension add-on module.
163
+ # Parameters: budgetfigureHandle: Handle for the budget figure.
164
+ #
165
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
166
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=BudgetFigure_GetQuantity2
167
+ # @return [Hash] The body content of the SOAP response.
168
+ def self.get_quantity2
169
+ response = invoke('BudgetFigure_GetQuantity2') do |message|
170
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
171
+ end
172
+ end
173
+
174
+ # Sets the amount of a budget figure.
175
+ # Parameters: budgetfigureHandle: Handle for the budget figure. value: The new amount of the budget figure.
176
+ #
177
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
178
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=BudgetFigure_SetAmountDefaultCurrency
179
+ # @return [Hash] The body content of the SOAP response.
180
+ def self.set_amount_default_currency
181
+ response = invoke('BudgetFigure_SetAmountDefaultCurrency') do |message|
182
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
183
+ end
184
+ end
185
+
186
+ # Sets the department of a budget figure. The department is only accessible when there is access to the Dimension add-on module. The department cannot be set when the distribution key is set.
187
+ # Parameters: budgetfigureHandle: Handle for the budget figure. value: Handle for the new department of the budget figure.
188
+ #
189
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
190
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=BudgetFigure_SetDepartment
191
+ # @return [Hash] The body content of the SOAP response.
192
+ def self.set_department
193
+ response = invoke('BudgetFigure_SetDepartment') do |message|
194
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
195
+ end
196
+ end
197
+
198
+ # Gets a handle for the department of a budget figure. The department is only accessible when there is access to the Dimension add-on module.
199
+ # Parameters: budgetfigureHandle: Handle for the budget figure.
200
+ #
201
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
202
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=BudgetFigure_GetDepartment
203
+ # @return [Hash] The body content of the SOAP response.
204
+ def self.get_department
205
+ response = invoke('BudgetFigure_GetDepartment') do |message|
206
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
207
+ end
208
+ end
209
+
210
+ # Sets the distribution key of a budget figure. The distribution key is only accessible when there is access to the Dimension add-on module. The distribution key cannot be set when the department is set.
211
+ # Parameters: budgetfigureHandle: Handle for the budget figure. value: Handle for the new distribution key of the budget figure.
212
+ #
213
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
214
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=BudgetFigure_SetDistributionKey
215
+ # @return [Hash] The body content of the SOAP response.
216
+ def self.set_distribution_key
217
+ response = invoke('BudgetFigure_SetDistributionKey') do |message|
218
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
219
+ end
220
+ end
221
+
222
+ # Gets a handle for the distribution key of a budget figure. The distribution key is only accessible when there is access to the Dimension add-on module.
223
+ # Parameters: budgetfigureHandle: Handle for the budget figure.
224
+ #
225
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
226
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=BudgetFigure_GetDistributionKey
227
+ # @return [Hash] The body content of the SOAP response.
228
+ def self.get_distribution_key
229
+ response = invoke('BudgetFigure_GetDistributionKey') do |message|
230
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
231
+ end
232
+ end
233
+
234
+ # Creates a new budget figure.
235
+ # Parameters: account: The account of the budget figure text: The text of the budget figure fromDate: The start date of the budget figure. toDate: The end date of the budget figure. amountDefaultCurrency: The amount in the default currency of the budget figure.
236
+ #
237
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
238
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=BudgetFigure_Create
239
+ # @return [Hash] The body content of the SOAP response.
240
+ def self.create
241
+ response = invoke('BudgetFigure_Create') do |message|
242
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
243
+ end
244
+ end
245
+
246
+ # Deletes a budget figure.
247
+ # Parameters: budgetfigureHandle: Handle for the budget figure.
248
+ #
249
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
250
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=BudgetFigure_Delete
251
+ # @return [Hash] The body content of the SOAP response.
252
+ def self.delete
253
+ response = invoke('BudgetFigure_Delete') do |message|
254
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
255
+ end
256
+ end
257
+
258
+ # Return handles for all budget figures.
259
+ #
260
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
261
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=BudgetFigure_GetAll
262
+ # @return [Hash] The body content of the SOAP response.
263
+ def self.get_all
264
+ response = invoke('BudgetFigure_GetAll') do |message|
265
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
266
+ end
267
+ end
268
+
269
+ # Returns an array with handles for the budget figures within a time interval.
270
+ # Parameters: fromDate: First day in the interval. toDate: Last day in the interval.
271
+ #
272
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
273
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=BudgetFigure_FindByDate
274
+ # @return [Hash] The body content of the SOAP response.
275
+ def self.find_by_date
276
+ response = invoke('BudgetFigure_FindByDate') do |message|
277
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
278
+ end
279
+ end
280
+
281
+ # Creates a new budget figure from a data object.
282
+ # Parameters: data: The data object that specifies the properties of the new budget figure.
283
+ #
284
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
285
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=BudgetFigure_CreateFromData
286
+ # @return [Hash] The body content of the SOAP response.
287
+ def self.create_from_data
288
+ response = invoke('BudgetFigure_CreateFromData') do |message|
289
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
290
+ end
291
+ end
292
+
293
+ # Creates new budget figures from data objects.
294
+ # Parameters: dataArray: The array of data objects that specifies the properties of the new budget figures.
295
+ #
296
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
297
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=BudgetFigure_CreateFromDataArray
298
+ # @return [Hash] The body content of the SOAP response.
299
+ def self.create_from_data_array
300
+ response = invoke('BudgetFigure_CreateFromDataArray') do |message|
301
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
302
+ end
303
+ end
304
+
305
+ # Update budget figures from data objects.
306
+ # Parameters: dataArray: The array of data objects.
307
+ #
308
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
309
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=BudgetFigure_UpdateFromDataArray
310
+ # @return [Hash] The body content of the SOAP response.
311
+ def self.update_from_data_array
312
+ response = invoke('BudgetFigure_UpdateFromDataArray') do |message|
313
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
314
+ end
315
+ end
316
+
317
+ # Updates a budget figure from a data object.
318
+ # Parameters: data: The data object.
319
+ #
320
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
321
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=BudgetFigure_UpdateFromData
322
+ # @return [Hash] The body content of the SOAP response.
323
+ def self.update_from_data
324
+ response = invoke('BudgetFigure_UpdateFromData') do |message|
325
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
326
+ end
327
+ end
328
+
329
+ # Returns a budget figure data object for a given budgetfigure.
330
+ # Parameters: entityHandle: A handle for the budget figure.
331
+ #
332
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
333
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=BudgetFigure_GetData
334
+ # @return [Hash] The body content of the SOAP response.
335
+ def self.get_data
336
+ response = invoke('BudgetFigure_GetData') do |message|
337
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
338
+ end
339
+ end
340
+
341
+ end
342
+ end
343
+ end
@@ -0,0 +1,232 @@
1
+ module Ruconomic
2
+ module API
3
+ module CashBook
4
+ extend Ruconomic::WebService
5
+
6
+ # Update cash books from data objects.
7
+ # Parameters: dataArray: The array of data objects.
8
+ #
9
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
10
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CashBook_UpdateFromDataArray
11
+ # @return [Hash] The body content of the SOAP response.
12
+ def self.update_from_data_array
13
+ response = invoke('CashBook_UpdateFromDataArray') do |message|
14
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
15
+ end
16
+ end
17
+
18
+ # Updates a cash book from a data object.
19
+ # Parameters: data: The data object.
20
+ #
21
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
22
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CashBook_UpdateFromData
23
+ # @return [Hash] The body content of the SOAP response.
24
+ def self.update_from_data
25
+ response = invoke('CashBook_UpdateFromData') do |message|
26
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
27
+ end
28
+ end
29
+
30
+ # Returns a cash book data object for a given cash book.
31
+ # Parameters: entityHandle: A handle for the cash book.
32
+ #
33
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
34
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CashBook_GetData
35
+ # @return [Hash] The body content of the SOAP response.
36
+ def self.get_data
37
+ response = invoke('CashBook_GetData') do |message|
38
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
39
+ end
40
+ end
41
+
42
+ # Returns cash book data objects for a given set of cash book handles.
43
+ # Parameters: entityHandles: An array of the cash book handles.
44
+ #
45
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
46
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CashBook_GetDataArray
47
+ # @return [Hash] The body content of the SOAP response.
48
+ def self.get_data_array
49
+ response = invoke('CashBook_GetDataArray') do |message|
50
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
51
+ end
52
+ end
53
+
54
+ # Return handles for all cash books.
55
+ #
56
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
57
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CashBook_GetAll
58
+ # @return [Hash] The body content of the SOAP response.
59
+ def self.get_all
60
+ response = invoke('CashBook_GetAll') do |message|
61
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
62
+ end
63
+ end
64
+
65
+ # Returns a handle for the cash book with the given number.
66
+ # Parameters: number: The number to search for.
67
+ #
68
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
69
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CashBook_FindByNumber
70
+ # @return [Hash] The body content of the SOAP response.
71
+ def self.find_by_number
72
+ response = invoke('CashBook_FindByNumber') do |message|
73
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
74
+ end
75
+ end
76
+
77
+ # Returns an array with handles for the cash books corresponding to the given numbers. If a cash book with a given number does not exist then the array contains nothing at that index.
78
+ # Parameters: numbers: The numbers to search for.
79
+ #
80
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
81
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CashBook_FindByNumberList
82
+ # @return [Hash] The body content of the SOAP response.
83
+ def self.find_by_number_list
84
+ response = invoke('CashBook_FindByNumberList') do |message|
85
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
86
+ end
87
+ end
88
+
89
+ # Returns a handle for the cash book with the given name.
90
+ # Parameters: name: The name to search for.
91
+ #
92
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
93
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CashBook_FindByName
94
+ # @return [Hash] The body content of the SOAP response.
95
+ def self.find_by_name
96
+ response = invoke('CashBook_FindByName') do |message|
97
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
98
+ end
99
+ end
100
+
101
+ # Returns an array with handles for the cash books corresponding to the given names. If a cash book with a given name does not exist or if no name is given then the array contains nothing at that index.
102
+ # Parameters: names: The names to search for.
103
+ #
104
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
105
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CashBook_FindByNameList
106
+ # @return [Hash] The body content of the SOAP response.
107
+ def self.find_by_name_list
108
+ response = invoke('CashBook_FindByNameList') do |message|
109
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
110
+ end
111
+ end
112
+
113
+ # Assigns a PDF document to a voucher number.
114
+ # Parameters: data: PDF document. voucherNumber: Voucher number. entryDate: Entry date.
115
+ #
116
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
117
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CashBook_RegisterPdfVoucher
118
+ # @return [Hash] The body content of the SOAP response.
119
+ def self.register_pdf_voucher
120
+ response = invoke('CashBook_RegisterPdfVoucher') do |message|
121
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
122
+ end
123
+ end
124
+
125
+ # Get the next available voucher number for the cashbook.
126
+ #
127
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
128
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CashBook_GetNextVoucherNumber
129
+ # @return [Hash] The body content of the SOAP response.
130
+ def self.get_next_voucher_number
131
+ response = invoke('CashBook_GetNextVoucherNumber') do |message|
132
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
133
+ end
134
+ end
135
+
136
+ # Gets the entries in the cashbook.
137
+ #
138
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
139
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CashBook_GetEntries
140
+ # @return [Hash] The body content of the SOAP response.
141
+ def self.get_entries
142
+ response = invoke('CashBook_GetEntries') do |message|
143
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
144
+ end
145
+ end
146
+
147
+ # Delete all entries from a cash book. Action that cannot be undone.
148
+ # Parameters: cashBookHandle: Handle for the cash book.
149
+ #
150
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
151
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CashBook_DeleteAllEntries
152
+ # @return [Hash] The body content of the SOAP response.
153
+ def self.delete_all_entries
154
+ response = invoke('CashBook_DeleteAllEntries') do |message|
155
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
156
+ end
157
+ end
158
+
159
+ # Books all entries in the cashbook.
160
+ #
161
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
162
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CashBook_Book
163
+ # @return [Hash] The body content of the SOAP response.
164
+ def self.book
165
+ response = invoke('CashBook_Book') do |message|
166
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
167
+ end
168
+ end
169
+
170
+ # Books entries in the cashbook between fromDate and toDate.
171
+ # Parameters: fromDate: The fromDate, toDate: The toDate.
172
+ #
173
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
174
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CashBook_BookWithDate
175
+ # @return [Hash] The body content of the SOAP response.
176
+ def self.book_with_date
177
+ response = invoke('CashBook_BookWithDate') do |message|
178
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
179
+ end
180
+ end
181
+
182
+ # Books entries in the cashbook between fromDate and toDate. Some or all entries are in a closed period.
183
+ # Parameters: fromDate: The fromDate, toDate: The toDate, accrualDate: The accrualDate, accrualText: The accrualText.
184
+ #
185
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
186
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CashBook_BookWithDateClosedPeriod
187
+ # @return [Hash] The body content of the SOAP response.
188
+ def self.book_with_date_closed_period
189
+ response = invoke('CashBook_BookWithDateClosedPeriod') do |message|
190
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
191
+ end
192
+ end
193
+
194
+ # Gets the number of a cash book.
195
+ # Parameters: cashBookHandle: Handle for the cash book.
196
+ #
197
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
198
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CashBook_GetNumber
199
+ # @return [Hash] The body content of the SOAP response.
200
+ def self.get_number
201
+ response = invoke('CashBook_GetNumber') do |message|
202
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
203
+ end
204
+ end
205
+
206
+ # Gets the name of a cash book.
207
+ # Parameters: cashBookHandle: Handle for the cash book.
208
+ #
209
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
210
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CashBook_GetName
211
+ # @return [Hash] The body content of the SOAP response.
212
+ def self.get_name
213
+ response = invoke('CashBook_GetName') do |message|
214
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
215
+ end
216
+ end
217
+
218
+ # Sets the name of a cash book.
219
+ # Parameters: cashBookHandle: Handle for the cash book. value: The new name.
220
+ #
221
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
222
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CashBook_SetName
223
+ # @return [Hash] The body content of the SOAP response.
224
+ def self.set_name
225
+ response = invoke('CashBook_SetName') do |message|
226
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
227
+ end
228
+ end
229
+
230
+ end
231
+ end
232
+ end