ruconomic 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
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,319 @@
1
+ module Ruconomic
2
+ module API
3
+ module MileageEntry
4
+ extend Ruconomic::WebService
5
+
6
+ # Sets the end location of a mileage entry.
7
+ # Parameters: mileageEntryHandle: Handle for the mileage entry. value: new end location value.
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=MileageEntry_SetEndLocation
11
+ # @return [Hash] The body content of the SOAP response.
12
+ def self.set_end_location
13
+ response = invoke('MileageEntry_SetEndLocation') 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
+ # Gets the distance of a mileage entry.
19
+ # Parameters: mileageEntryHandle: Handle for the mileage entry.
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=MileageEntry_GetDistance
23
+ # @return [Hash] The body content of the SOAP response.
24
+ def self.get_distance
25
+ response = invoke('MileageEntry_GetDistance') 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
+ # Sets the distance of a mileage entry.
31
+ # Parameters: mileageEntryHandle: Handle for the mileage entry. value: new distance value.
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=MileageEntry_SetDistance
35
+ # @return [Hash] The body content of the SOAP response.
36
+ def self.set_distance
37
+ response = invoke('MileageEntry_SetDistance') 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
+ # Gets whether the mileage entry is approved.
43
+ # Parameters: mileageEntryHandle: Handle for the mileage entry.
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=MileageEntry_GetApproved
47
+ # @return [Hash] The body content of the SOAP response.
48
+ def self.get_approved
49
+ response = invoke('MileageEntry_GetApproved') 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
+ # Creates a new mileage entry from a data object.
55
+ # Parameters: data: The data object that specifies the properties of the new mileage entry.
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=MileageEntry_CreateFromData
59
+ # @return [Hash] The body content of the SOAP response.
60
+ def self.create_from_data
61
+ response = invoke('MileageEntry_CreateFromData') 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
+ # Creates new mileage entries from data objects.
67
+ # Parameters: dataArray: The array of data objects that specifies the properties of the new mileage entries.
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=MileageEntry_CreateFromDataArray
71
+ # @return [Hash] The body content of the SOAP response.
72
+ def self.create_from_data_array
73
+ response = invoke('MileageEntry_CreateFromDataArray') 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
+ # Update mileage entries from data objects.
79
+ # Parameters: dataArray: The array of data objects.
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=MileageEntry_UpdateFromDataArray
83
+ # @return [Hash] The body content of the SOAP response.
84
+ def self.update_from_data_array
85
+ response = invoke('MileageEntry_UpdateFromDataArray') 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
+ # Updates a mileage entry from a data object.
91
+ # Parameters: data: The data object.
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=MileageEntry_UpdateFromData
95
+ # @return [Hash] The body content of the SOAP response.
96
+ def self.update_from_data
97
+ response = invoke('MileageEntry_UpdateFromData') 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
+ # Returns a mileage entry data object for a given mileage entry.
103
+ # Parameters: entityHandle: A handle for the mileage entry.
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=MileageEntry_GetData
107
+ # @return [Hash] The body content of the SOAP response.
108
+ def self.get_data
109
+ response = invoke('MileageEntry_GetData') 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
+ # Returns mileage entries data objects for a given set of mileage entry handles.
115
+ # Parameters: entityHandles: An array of the mileage entries handles.
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=MileageEntry_GetDataArray
119
+ # @return [Hash] The body content of the SOAP response.
120
+ def self.get_data_array
121
+ response = invoke('MileageEntry_GetDataArray') 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
+ # Creates a new mileage entry.
127
+ # Parameters: project: The project of the new mileage entry. activity: The activity of the new mileage entry. employee: The employee of the new mileage entry. date: The date of the new mileage entry. text: The text of the new mileage entry. numberOfHours: The number of hours of the new mileage entry.
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=MileageEntry_Create
131
+ # @return [Hash] The body content of the SOAP response.
132
+ def self.create
133
+ response = invoke('MileageEntry_Create') 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
+ # Returns handles for all mileage entries.
139
+ #
140
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
141
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=MileageEntry_GetAll
142
+ # @return [Hash] The body content of the SOAP response.
143
+ def self.get_all
144
+ response = invoke('MileageEntry_GetAll') do |message|
145
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
146
+ end
147
+ end
148
+
149
+ # Deletes a mileage entry.
150
+ # Parameters: mileageEntryHandle: Handle for the mileage entry.
151
+ #
152
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
153
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=MileageEntry_Delete
154
+ # @return [Hash] The body content of the SOAP response.
155
+ def self.delete
156
+ response = invoke('MileageEntry_Delete') do |message|
157
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
158
+ end
159
+ end
160
+
161
+ # Gets handle for the project of a mileage entry.
162
+ # Parameters: mileageEntryHandle: Handle for the mileage entry.
163
+ #
164
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
165
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=MileageEntry_GetProject
166
+ # @return [Hash] The body content of the SOAP response.
167
+ def self.get_project
168
+ response = invoke('MileageEntry_GetProject') do |message|
169
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
170
+ end
171
+ end
172
+
173
+ # Sets the project of a mileage entry.
174
+ # Parameters: mileageEntryHandle: Handle for the mileage entry. value: new project value.
175
+ #
176
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
177
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=MileageEntry_SetProject
178
+ # @return [Hash] The body content of the SOAP response.
179
+ def self.set_project
180
+ response = invoke('MileageEntry_SetProject') do |message|
181
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
182
+ end
183
+ end
184
+
185
+ # Gets a handle for the employee of a mileage entry.
186
+ # Parameters: mileageEntryHandle: Handle for the mileage entry.
187
+ #
188
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
189
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=MileageEntry_GetEmployee
190
+ # @return [Hash] The body content of the SOAP response.
191
+ def self.get_employee
192
+ response = invoke('MileageEntry_GetEmployee') do |message|
193
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
194
+ end
195
+ end
196
+
197
+ # Sets the employee of a mileage entry.
198
+ # Parameters: mileageEntryHandle: Handle for the mileage entry. value: new employee value.
199
+ #
200
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
201
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=MileageEntry_SetEmployee
202
+ # @return [Hash] The body content of the SOAP response.
203
+ def self.set_employee
204
+ response = invoke('MileageEntry_SetEmployee') do |message|
205
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
206
+ end
207
+ end
208
+
209
+ # Gets the date of a mileage entry.
210
+ # Parameters: mileageEntryHandle: Handle for the mileage entry.
211
+ #
212
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
213
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=MileageEntry_GetDate
214
+ # @return [Hash] The body content of the SOAP response.
215
+ def self.get_date
216
+ response = invoke('MileageEntry_GetDate') do |message|
217
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
218
+ end
219
+ end
220
+
221
+ # Gets the sales price of the mileage entry.
222
+ # Parameters: mileageEntryHandle: Handle for the mileage entry.
223
+ #
224
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
225
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=MileageEntry_GetSalesPrice
226
+ # @return [Hash] The body content of the SOAP response.
227
+ def self.get_sales_price
228
+ response = invoke('MileageEntry_GetSalesPrice') do |message|
229
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
230
+ end
231
+ end
232
+
233
+ # Gets the cost price of the mileage entry.
234
+ # Parameters: mileageEntryHandle: Handle for the mileage entry.
235
+ #
236
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
237
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=MileageEntry_GetCostPrice
238
+ # @return [Hash] The body content of the SOAP response.
239
+ def self.get_cost_price
240
+ response = invoke('MileageEntry_GetCostPrice') do |message|
241
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
242
+ end
243
+ end
244
+
245
+ # Gets the cost rate used by a mileage entry.
246
+ # Parameters: mileageEntryHandle: Handle for the mileage entry.
247
+ #
248
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
249
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=MileageEntry_GetCostRate
250
+ # @return [Hash] The body content of the SOAP response.
251
+ def self.get_cost_rate
252
+ response = invoke('MileageEntry_GetCostRate') do |message|
253
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
254
+ end
255
+ end
256
+
257
+ # Gets the sales rate used by a mileage entry.
258
+ # Parameters: mileageEntryHandle: Handle for the mileage entry.
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=MileageEntry_GetSalesRate
262
+ # @return [Hash] The body content of the SOAP response.
263
+ def self.get_sales_rate
264
+ response = invoke('MileageEntry_GetSalesRate') 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
+ # Sets the date of a mileage entry.
270
+ # Parameters: mileageEntryHandle: Handle for the mileage entry. value: new date value.
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=MileageEntry_SetDate
274
+ # @return [Hash] The body content of the SOAP response.
275
+ def self.set_date
276
+ response = invoke('MileageEntry_SetDate') 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
+ # Gets the start location of a mileage entry.
282
+ # Parameters: mileageEntryHandle: Handle for the mileage entry.
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=MileageEntry_GetStartLocation
286
+ # @return [Hash] The body content of the SOAP response.
287
+ def self.get_start_location
288
+ response = invoke('MileageEntry_GetStartLocation') 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
+ # Sets the start location of a mileage entry.
294
+ # Parameters: mileageEntryHandle: Handle for the mileage entry. value: new start location value.
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=MileageEntry_SetStartLocation
298
+ # @return [Hash] The body content of the SOAP response.
299
+ def self.set_start_location
300
+ response = invoke('MileageEntry_SetStartLocation') 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
+ # Gets the end location of a mileage entry.
306
+ # Parameters: mileageEntryHandle: Handle for the mileage entry.
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=MileageEntry_GetEndLocation
310
+ # @return [Hash] The body content of the SOAP response.
311
+ def self.get_end_location
312
+ response = invoke('MileageEntry_GetEndLocation') 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
+ end
318
+ end
319
+ end