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,533 @@
1
+ module Ruconomic
2
+ module API
3
+ module Product
4
+ extend Ruconomic::WebService
5
+
6
+ # Sets the cost price of a product.
7
+ # Parameters: productHandle: Handle for the product. value: The new cost price of the product.
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=Product_SetCostPrice
11
+ # @return [Hash] The body content of the SOAP response.
12
+ def self.set_cost_price
13
+ response = invoke('Product_SetCostPrice') 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 recommended price of a product.
19
+ # Parameters: productHandle: Handle for the product.
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=Product_GetRecommendedPrice
23
+ # @return [Hash] The body content of the SOAP response.
24
+ def self.get_recommended_price
25
+ response = invoke('Product_GetRecommendedPrice') 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 recommended price of a product.
31
+ # Parameters: productHandle: Handle for the product. value: The new recommended price of the product.
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=Product_SetRecommendedPrice
35
+ # @return [Hash] The body content of the SOAP response.
36
+ def self.set_recommended_price
37
+ response = invoke('Product_SetRecommendedPrice') 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 handle for the primary unit of a product.
43
+ # Parameters: productHandle: Handle for the product.
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=Product_GetUnit
47
+ # @return [Hash] The body content of the SOAP response.
48
+ def self.get_unit
49
+ response = invoke('Product_GetUnit') 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
+ # Sets primary unit of a product.
55
+ # Parameters: productHandle: Handle for the product. value: Handle for new primary unit of the product.
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=Product_SetUnit
59
+ # @return [Hash] The body content of the SOAP response.
60
+ def self.set_unit
61
+ response = invoke('Product_SetUnit') 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
+ # Sets whether a product is accessible.
67
+ # Parameters: productHandle: Handle for the product. value: Value that indicates whether the product should be accessible.
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=Product_SetIsAccessible
71
+ # @return [Hash] The body content of the SOAP response.
72
+ def self.set_is_accessible
73
+ response = invoke('Product_SetIsAccessible') 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
+ # Gets whether a product is accessible.
79
+ # Parameters: productHandle: Handle for the product.
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=Product_GetIsAccessible
83
+ # @return [Hash] The body content of the SOAP response.
84
+ def self.get_is_accessible
85
+ response = invoke('Product_GetIsAccessible') 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 volume of a product.
91
+ # Parameters: productHandle: Handle for the product. value: The new volume value of the product.
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=Product_SetVolume
95
+ # @return [Hash] The body content of the SOAP response.
96
+ def self.set_volume
97
+ response = invoke('Product_SetVolume') 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 volume of a product.
103
+ # Parameters: productHandle: Handle for the product.
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=Product_GetVolume
107
+ # @return [Hash] The body content of the SOAP response.
108
+ def self.get_volume
109
+ response = invoke('Product_GetVolume') 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 a handle for the department of a product. The department is only accessible when there is access to the Dimension add-on module.
115
+ # Parameters: productHandle: Handle for the product.
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=Product_GetDepartment
119
+ # @return [Hash] The body content of the SOAP response.
120
+ def self.get_department
121
+ response = invoke('Product_GetDepartment') 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
+ # Sets the department of a product. 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.
127
+ # Parameters: productHandle: Handle for the product. value: Handle for the new department of the product.
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=Product_SetDepartment
131
+ # @return [Hash] The body content of the SOAP response.
132
+ def self.set_department
133
+ response = invoke('Product_SetDepartment') 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 distribution key of a product. The distribution key is only accessible when there is access to the Dimension add-on module.
139
+ # Parameters: productHandle: Handle for the product.
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=Product_GetDistributionKey
143
+ # @return [Hash] The body content of the SOAP response.
144
+ def self.get_distribution_key
145
+ response = invoke('Product_GetDistributionKey') 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
+ # Sets the distribution key of the product. 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.
151
+ # Parameters: productHandle: Handle for the product. value: Handle for the new distribution key of the product.
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=Product_SetDistributionKey
155
+ # @return [Hash] The body content of the SOAP response.
156
+ def self.set_distribution_key
157
+ response = invoke('Product_SetDistributionKey') 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 quantity in stock of a product. InStock is only accessible when there is access to the Stock add-on module.
163
+ # Parameters: productHandle: Handle for the product.
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=Product_GetInStock
167
+ # @return [Hash] The body content of the SOAP response.
168
+ def self.get_in_stock
169
+ response = invoke('Product_GetInStock') 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
+ # Gets the quantity in stock that is already used on orders for a product. OnOrder is only accessible when there is access to the Stock add-on module.
175
+ # Parameters: productHandle: Handle for the product.
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=Product_GetOnOrder
179
+ # @return [Hash] The body content of the SOAP response.
180
+ def self.get_on_order
181
+ response = invoke('Product_GetOnOrder') 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
+ # Gets quantity ordered from suppliers for a product. Ordered is only accessible when there is access to the Stock add-on module.
187
+ # Parameters: productHandle: Handle for the product.
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=Product_GetOrdered
191
+ # @return [Hash] The body content of the SOAP response.
192
+ def self.get_ordered
193
+ response = invoke('Product_GetOrdered') 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 the quantity in stock that is not yet used on orders for a product. Available is only accessible when there is access to the Stock add-on module.
199
+ # Parameters: productHandle: Handle for the product.
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=Product_GetAvailable
203
+ # @return [Hash] The body content of the SOAP response.
204
+ def self.get_available
205
+ response = invoke('Product_GetAvailable') 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
+ # Creates a new product.
211
+ # Parameters: number: The number of the new product. productGroupHandle: The product group of the new product. name: The name of the new product.
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=Product_Create
215
+ # @return [Hash] The body content of the SOAP response.
216
+ def self.create
217
+ response = invoke('Product_Create') 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
+ # Returns handles for all products.
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=Product_GetAll
226
+ # @return [Hash] The body content of the SOAP response.
227
+ def self.get_all
228
+ response = invoke('Product_GetAll') 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
+ # Returns handles for all accessible products.
234
+ #
235
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
236
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_GetAllAccessible
237
+ # @return [Hash] The body content of the SOAP response.
238
+ def self.get_all_accessible
239
+ response = invoke('Product_GetAllAccessible') do |message|
240
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
241
+ end
242
+ end
243
+
244
+ # Return handles for all products from date. fromDate is based on CET. includeCalculatedProperties, when set to True, includes products with only stock status updated.
245
+ #
246
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
247
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_GetAllUpdated
248
+ # @return [Hash] The body content of the SOAP response.
249
+ def self.get_all_updated
250
+ response = invoke('Product_GetAllUpdated') do |message|
251
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
252
+ end
253
+ end
254
+
255
+ # Returns handle for the product with a given number.
256
+ # Parameters: name: The number to search for.
257
+ #
258
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
259
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_FindByNumber
260
+ # @return [Hash] The body content of the SOAP response.
261
+ def self.find_by_number
262
+ response = invoke('Product_FindByNumber') do |message|
263
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
264
+ end
265
+ end
266
+
267
+ # Returns an array with handles for the products corresponding to the given product numbers. If a product with a given number does not exist or if no number is given then the array contains nothing at that index.
268
+ # Parameters: numbers: The numbers to search for.
269
+ #
270
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
271
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_FindByNumberList
272
+ # @return [Hash] The body content of the SOAP response.
273
+ def self.find_by_number_list
274
+ response = invoke('Product_FindByNumberList') do |message|
275
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
276
+ end
277
+ end
278
+
279
+ # Returns handles for the products with a given name.
280
+ # Parameters: name: The name to search for.
281
+ #
282
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
283
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_FindByName
284
+ # @return [Hash] The body content of the SOAP response.
285
+ def self.find_by_name
286
+ response = invoke('Product_FindByName') do |message|
287
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
288
+ end
289
+ end
290
+
291
+ # Returns handles for the products with a given bar code.
292
+ # Parameters: barCode: The bar code to search for.
293
+ #
294
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
295
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_FindByBarCode
296
+ # @return [Hash] The body content of the SOAP response.
297
+ def self.find_by_bar_code
298
+ response = invoke('Product_FindByBarCode') do |message|
299
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
300
+ end
301
+ end
302
+
303
+ # Deletes a product.
304
+ # Parameters: productHandle: Handle for the product.
305
+ #
306
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
307
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_Delete
308
+ # @return [Hash] The body content of the SOAP response.
309
+ def self.delete
310
+ response = invoke('Product_Delete') do |message|
311
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
312
+ end
313
+ end
314
+
315
+ # Creates a new product from a data object.
316
+ # Parameters: data: The data object that specifies the properties of the new product.
317
+ #
318
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
319
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_CreateFromData
320
+ # @return [Hash] The body content of the SOAP response.
321
+ def self.create_from_data
322
+ response = invoke('Product_CreateFromData') do |message|
323
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
324
+ end
325
+ end
326
+
327
+ # Creates new products from data objects.
328
+ # Parameters: dataArray: The array of data objects that specifies the properties of the new products.
329
+ #
330
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
331
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_CreateFromDataArray
332
+ # @return [Hash] The body content of the SOAP response.
333
+ def self.create_from_data_array
334
+ response = invoke('Product_CreateFromDataArray') do |message|
335
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
336
+ end
337
+ end
338
+
339
+ # Update products from data objects.
340
+ # Parameters: dataArray: The array of data objects.
341
+ #
342
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
343
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_UpdateFromDataArray
344
+ # @return [Hash] The body content of the SOAP response.
345
+ def self.update_from_data_array
346
+ response = invoke('Product_UpdateFromDataArray') do |message|
347
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
348
+ end
349
+ end
350
+
351
+ # Updates a product from a data object.
352
+ # Parameters: data: The data object.
353
+ #
354
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
355
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_UpdateFromData
356
+ # @return [Hash] The body content of the SOAP response.
357
+ def self.update_from_data
358
+ response = invoke('Product_UpdateFromData') do |message|
359
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
360
+ end
361
+ end
362
+
363
+ # Returns an product data object for a given product.
364
+ # Parameters: entityHandle: A handle for the product.
365
+ #
366
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
367
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_GetData
368
+ # @return [Hash] The body content of the SOAP response.
369
+ def self.get_data
370
+ response = invoke('Product_GetData') do |message|
371
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
372
+ end
373
+ end
374
+
375
+ # Returns product data objects for a given set of product handles.
376
+ # Parameters: entityHandles: An array of the product handles.
377
+ #
378
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
379
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_GetDataArray
380
+ # @return [Hash] The body content of the SOAP response.
381
+ def self.get_data_array
382
+ response = invoke('Product_GetDataArray') do |message|
383
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
384
+ end
385
+ end
386
+
387
+ # Gets the number of a product.
388
+ # Parameters: productHandle: Handle for the product.
389
+ #
390
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
391
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_GetNumber
392
+ # @return [Hash] The body content of the SOAP response.
393
+ def self.get_number
394
+ response = invoke('Product_GetNumber') do |message|
395
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
396
+ end
397
+ end
398
+
399
+ # Gets a handle for the product group of a product.
400
+ # Parameters: productHandle: Handle for the product.
401
+ #
402
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
403
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_GetProductGroup
404
+ # @return [Hash] The body content of the SOAP response.
405
+ def self.get_product_group
406
+ response = invoke('Product_GetProductGroup') do |message|
407
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
408
+ end
409
+ end
410
+
411
+ # Sets the product group of a product.
412
+ # Parameters: productHandle: Handle for the product. valueHandle: Handle for new product group of the product.
413
+ #
414
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
415
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_SetProductGroup
416
+ # @return [Hash] The body content of the SOAP response.
417
+ def self.set_product_group
418
+ response = invoke('Product_SetProductGroup') do |message|
419
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
420
+ end
421
+ end
422
+
423
+ # Gets the name of a product.
424
+ # Parameters: productHandle: Handle for the product.
425
+ #
426
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
427
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_GetName
428
+ # @return [Hash] The body content of the SOAP response.
429
+ def self.get_name
430
+ response = invoke('Product_GetName') do |message|
431
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
432
+ end
433
+ end
434
+
435
+ # Sets the name of a product.
436
+ # Parameters: productHandle: Handle for the product. value: The new name of the product.
437
+ #
438
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
439
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_SetName
440
+ # @return [Hash] The body content of the SOAP response.
441
+ def self.set_name
442
+ response = invoke('Product_SetName') do |message|
443
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
444
+ end
445
+ end
446
+
447
+ # Gets the description of a product.
448
+ # Parameters: productHandle: Handle for the product.
449
+ #
450
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
451
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_GetDescription
452
+ # @return [Hash] The body content of the SOAP response.
453
+ def self.get_description
454
+ response = invoke('Product_GetDescription') do |message|
455
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
456
+ end
457
+ end
458
+
459
+ # Sets the description of a product.
460
+ # Parameters: productHandle: Handle for the product. value: The new description of the product.
461
+ #
462
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
463
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_SetDescription
464
+ # @return [Hash] The body content of the SOAP response.
465
+ def self.set_description
466
+ response = invoke('Product_SetDescription') do |message|
467
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
468
+ end
469
+ end
470
+
471
+ # Sets the bar code of a product.
472
+ # Parameters: productHandle: Handle for the product. value: The new bar code of the product.
473
+ #
474
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
475
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_SetBarCode
476
+ # @return [Hash] The body content of the SOAP response.
477
+ def self.set_bar_code
478
+ response = invoke('Product_SetBarCode') do |message|
479
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
480
+ end
481
+ end
482
+
483
+ # Gets the bar code of a product.
484
+ # Parameters: productHandle: Handle for the product.
485
+ #
486
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
487
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_GetBarCode
488
+ # @return [Hash] The body content of the SOAP response.
489
+ def self.get_bar_code
490
+ response = invoke('Product_GetBarCode') do |message|
491
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
492
+ end
493
+ end
494
+
495
+ # Sets the sales price of a product.
496
+ # Parameters: productHandle: Handle for the product. value: The new sales price of the product.
497
+ #
498
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
499
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_SetSalesPrice
500
+ # @return [Hash] The body content of the SOAP response.
501
+ def self.set_sales_price
502
+ response = invoke('Product_SetSalesPrice') do |message|
503
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
504
+ end
505
+ end
506
+
507
+ # Gets the sales price of a product.
508
+ # Parameters: productHandle: Handle for the product.
509
+ #
510
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
511
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_GetSalesPrice
512
+ # @return [Hash] The body content of the SOAP response.
513
+ def self.get_sales_price
514
+ response = invoke('Product_GetSalesPrice') do |message|
515
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
516
+ end
517
+ end
518
+
519
+ # Gets the cost price of a product.
520
+ # Parameters: productHandle: Handle for the product.
521
+ #
522
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
523
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_GetCostPrice
524
+ # @return [Hash] The body content of the SOAP response.
525
+ def self.get_cost_price
526
+ response = invoke('Product_GetCostPrice') do |message|
527
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
528
+ end
529
+ end
530
+
531
+ end
532
+ end
533
+ end