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,307 @@
1
+ module Ruconomic
2
+ module API
3
+ module SubscriptionLine
4
+ extend Ruconomic::WebService
5
+
6
+ # Gets the number of a subscription line.
7
+ # Parameters: SubscriptionLineHandle: Handle for the subscription line.
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=SubscriptionLine_GetNumber
11
+ # @return [Hash] The body content of the SOAP response.
12
+ def self.get_number
13
+ response = invoke('SubscriptionLine_GetNumber') 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 a handle for the subscription of a subscription line.
19
+ # Parameters: SubscriptionLineHandle: Handle for the subscription line.
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=SubscriptionLine_GetSubscription
23
+ # @return [Hash] The body content of the SOAP response.
24
+ def self.get_subscription
25
+ response = invoke('SubscriptionLine_GetSubscription') 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
+ # Gets a handle for the product of a subscription line.
31
+ # Parameters: SubscriptionLineHandle: Handle for the subscription line.
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=SubscriptionLine_GetProduct
35
+ # @return [Hash] The body content of the SOAP response.
36
+ def self.get_product
37
+ response = invoke('SubscriptionLine_GetProduct') 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 product of a subscription line. Setting the product also sets the unit cost price to the cost price of the product. The product must be set before setting the quantity and the unit net price.
43
+ # Parameters: SubscriptionLineHandle: Handle for the subscription line. valueHandle: Handle for the new product of the subscription line.
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=SubscriptionLine_SetProduct
47
+ # @return [Hash] The body content of the SOAP response.
48
+ def self.set_product
49
+ response = invoke('SubscriptionLine_SetProduct') 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 primary quantity of a subscription line.
55
+ # Parameters: subscriptionLineHandle: Handle for the subscription line.
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=SubscriptionLine_GetQuantity
59
+ # @return [Hash] The body content of the SOAP response.
60
+ def self.get_quantity
61
+ response = invoke('SubscriptionLine_GetQuantity') 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 the primary quantity of a subscription line. The product of the subscription line must be set before setting this property.
67
+ # Parameters: subscriptionLineHandle: Handle for the subscription line. value: The new primary quantity of the subscription line.
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=SubscriptionLine_SetQuantity
71
+ # @return [Hash] The body content of the SOAP response.
72
+ def self.set_quantity
73
+ response = invoke('SubscriptionLine_SetQuantity') 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 department of a subscription line. 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.
79
+ # Parameters: subscriptionLineHandle: Handle for the subscription line. value: Handle for the new department of the subscription line.
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=SubscriptionLine_SetDepartment
83
+ # @return [Hash] The body content of the SOAP response.
84
+ def self.set_department
85
+ response = invoke('SubscriptionLine_SetDepartment') 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
+ # Gets a handle for the department of a subscription line. The department is only accessible when there is access to the Dimension add-on module.
91
+ # Parameters: subscriptionLineHandle: Handle for the subscription line.
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=SubscriptionLine_GetDepartment
95
+ # @return [Hash] The body content of the SOAP response.
96
+ def self.get_department
97
+ response = invoke('SubscriptionLine_GetDepartment') 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
+ # Sets the description of a subscription line.
103
+ # Parameters: subscriptionLineHandle: Handle for the subscription line. value: The new description of the subscription line.
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=SubscriptionLine_SetProductName
107
+ # @return [Hash] The body content of the SOAP response.
108
+ def self.set_product_name
109
+ response = invoke('SubscriptionLine_SetProductName') 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 description of a subscription line.
115
+ # Parameters: subscriptionLineHandle: Handle for the subscription line.
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=SubscriptionLine_GetProductName
119
+ # @return [Hash] The body content of the SOAP response.
120
+ def self.get_product_name
121
+ response = invoke('SubscriptionLine_GetProductName') 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 the special price of a product.
127
+ # Parameters: subscriptionLineHandle: Handle for the current subscription line.
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=SubscriptionLine_GetSpecialPrice
131
+ # @return [Hash] The body content of the SOAP response.
132
+ def self.get_special_price
133
+ response = invoke('SubscriptionLine_GetSpecialPrice') 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
+ # Sets the special price of a product.
139
+ # Parameters: subscriptionLineHandle: Handle for the current subscription line.
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=SubscriptionLine_SetSpecialPrice
143
+ # @return [Hash] The body content of the SOAP response.
144
+ def self.set_special_price
145
+ response = invoke('SubscriptionLine_SetSpecialPrice') 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
+ # Creates a new subscription line.
151
+ # Parameters: subscriptionHandle: Handle for a subscription line.
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=SubscriptionLine_Create
155
+ # @return [Hash] The body content of the SOAP response.
156
+ def self.create
157
+ response = invoke('SubscriptionLine_Create') 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
+ # Returns handles for subscription lines that use a given products.
163
+ # Parameters: product: The product to search for.
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=SubscriptionLine_FindByProduct
167
+ # @return [Hash] The body content of the SOAP response.
168
+ def self.find_by_product
169
+ response = invoke('SubscriptionLine_FindByProduct') 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
+ # Returns handles for subscription lines that use a given set of products.
175
+ # Parameters: products: The products to search for.
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=SubscriptionLine_FindByProductList
179
+ # @return [Hash] The body content of the SOAP response.
180
+ def self.find_by_product_list
181
+ response = invoke('SubscriptionLine_FindByProductList') 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
+ # Returns handles for subscription lines that use a given subscriptions.
187
+ # Parameters: subscription: The subscription to search for.
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=SubscriptionLine_FindBySubscription
191
+ # @return [Hash] The body content of the SOAP response.
192
+ def self.find_by_subscription
193
+ response = invoke('SubscriptionLine_FindBySubscription') 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
+ # Returns handles for subscription lines that use a given set of subscriptions.
199
+ # Parameters: subscriptions: The subscriptions to search for.
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=SubscriptionLine_FindBySubscriptonList
203
+ # @return [Hash] The body content of the SOAP response.
204
+ def self.find_by_subscripton_list
205
+ response = invoke('SubscriptionLine_FindBySubscriptonList') 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
+ # Returns handles for all current subsciption lines.
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=SubscriptionLine_GetAll
214
+ # @return [Hash] The body content of the SOAP response.
215
+ def self.get_all
216
+ response = invoke('SubscriptionLine_GetAll') 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
+ # Deletes a subscription line.
222
+ # Parameters: SubscriptionLineHandle: Handle for the subscription line.
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=SubscriptionLine_Delete
226
+ # @return [Hash] The body content of the SOAP response.
227
+ def self.delete
228
+ response = invoke('SubscriptionLine_Delete') 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
+ # Creates a new subscription line from a data object.
234
+ # Parameters: data: The data object that specifies the properties of the new subscription line.
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=SubscriptionLine_CreateFromData
238
+ # @return [Hash] The body content of the SOAP response.
239
+ def self.create_from_data
240
+ response = invoke('SubscriptionLine_CreateFromData') 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
+ # Creates new subscription lines from data objects.
246
+ # Parameters: dataArray: The array of data objects that specifies the properties of the new subscription lines.
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=SubscriptionLine_CreateFromDataArray
250
+ # @return [Hash] The body content of the SOAP response.
251
+ def self.create_from_data_array
252
+ response = invoke('SubscriptionLine_CreateFromDataArray') 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
+ # Update subscription lines from data objects.
258
+ # Parameters: dataArray: The array of data objects.
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=SubscriptionLine_UpdateFromDataArray
262
+ # @return [Hash] The body content of the SOAP response.
263
+ def self.update_from_data_array
264
+ response = invoke('SubscriptionLine_UpdateFromDataArray') 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
+ # Updates a subscription line from a data object.
270
+ # Parameters: data: The data object.
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=SubscriptionLine_UpdateFromData
274
+ # @return [Hash] The body content of the SOAP response.
275
+ def self.update_from_data
276
+ response = invoke('SubscriptionLine_UpdateFromData') 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
+ # Returns a subscription line data object for a given subscription line.
282
+ # Parameters: entityHandle: A handle for the subscription line.
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=SubscriptionLine_GetData
286
+ # @return [Hash] The body content of the SOAP response.
287
+ def self.get_data
288
+ response = invoke('SubscriptionLine_GetData') 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
+ # Returns subscription line data objects for subscription lines.
294
+ # Parameters: entityHandles: The array of subscription line handles.
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=SubscriptionLine_GetDataArray
298
+ # @return [Hash] The body content of the SOAP response.
299
+ def self.get_data_array
300
+ response = invoke('SubscriptionLine_GetDataArray') 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
+ end
306
+ end
307
+ end
@@ -0,0 +1,164 @@
1
+ module Ruconomic
2
+ module API
3
+ module SumInterval
4
+ extend Ruconomic::WebService
5
+
6
+ # Creates a new sum interval from a data object.
7
+ # Parameters: data: The data object that specifies the properties of the new sum interval.
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=SumInterval_CreateFromData
11
+ # @return [Hash] The body content of the SOAP response.
12
+ def self.create_from_data
13
+ response = invoke('SumInterval_CreateFromData') 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
+ # Creates new sum interval from data objects.
19
+ # Parameters: dataArray: The array of data objects that specifies the properties of the new sum interval.
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=SumInterval_CreateFromDataArray
23
+ # @return [Hash] The body content of the SOAP response.
24
+ def self.create_from_data_array
25
+ response = invoke('SumInterval_CreateFromDataArray') 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
+ # Update sum interval entities from data objects.
31
+ # Parameters: dataArray: The array of data objects.
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=SumInterval_UpdateFromDataArray
35
+ # @return [Hash] The body content of the SOAP response.
36
+ def self.update_from_data_array
37
+ response = invoke('SumInterval_UpdateFromDataArray') 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
+ # Updates a sum interval from a data object.
43
+ # Parameters: data: The data object.
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=SumInterval_UpdateFromData
47
+ # @return [Hash] The body content of the SOAP response.
48
+ def self.update_from_data
49
+ response = invoke('SumInterval_UpdateFromData') 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
+ # Returns a sum interval data object for a given sum interval.
55
+ # Parameters: entityHandle: A handle for the sum interval.
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=SumInterval_GetData
59
+ # @return [Hash] The body content of the SOAP response.
60
+ def self.get_data
61
+ response = invoke('SumInterval_GetData') 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
+ # Returns sum interval data objects for a given set of sum interval handles.
67
+ # Parameters: entityHandles: An array of the sum interval handles.
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=SumInterval_GetDataArray
71
+ # @return [Hash] The body content of the SOAP response.
72
+ def self.get_data_array
73
+ response = invoke('SumInterval_GetDataArray') 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
+ # Creates a new sum interval.
79
+ # Parameters: account: The account the sum interval is for. fromAccount: The from-account of the sum interval. toAccount: The to-account of the sum interval.
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=SumInterval_Create
83
+ # @return [Hash] The body content of the SOAP response.
84
+ def self.create
85
+ response = invoke('SumInterval_Create') 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
+ # Deletes a sum interval.
91
+ # Parameters: sumIntervalHandle: Handle for the sum interval.
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=SumInterval_Delete
95
+ # @return [Hash] The body content of the SOAP response.
96
+ def self.delete
97
+ response = invoke('SumInterval_Delete') 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 a handle for the account of a sum interval.
103
+ # Parameters: sumIntervalHandle: Handle for the sum interval.
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=SumInterval_GetAccount
107
+ # @return [Hash] The body content of the SOAP response.
108
+ def self.get_account
109
+ response = invoke('SumInterval_GetAccount') 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 from-account of a sum interval.
115
+ # Parameters: sumIntervalHandle: Handle for the sum interval.
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=SumInterval_GetFromAccount
119
+ # @return [Hash] The body content of the SOAP response.
120
+ def self.get_from_account
121
+ response = invoke('SumInterval_GetFromAccount') 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 from-account of a sum interval.
127
+ # Parameters: sumIntervalHandle: Handle for the sum interval. value: The new from-account of the sum interval.
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=SumInterval_SetFromAccount
131
+ # @return [Hash] The body content of the SOAP response.
132
+ def self.set_from_account
133
+ response = invoke('SumInterval_SetFromAccount') 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 the to-account of a sum interval.
139
+ # Parameters: sumIntervalHandle: Handle for the sum interval.
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=SumInterval_GetToAccount
143
+ # @return [Hash] The body content of the SOAP response.
144
+ def self.get_to_account
145
+ response = invoke('SumInterval_GetToAccount') 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 to-account of a sum interval.
151
+ # Parameters: sumIntervalHandle: Handle for the sum interval. value: The new to-account of the sum interval.
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=SumInterval_SetToAccount
155
+ # @return [Hash] The body content of the SOAP response.
156
+ def self.set_to_account
157
+ response = invoke('SumInterval_SetToAccount') 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
+ end
163
+ end
164
+ end
@@ -0,0 +1,78 @@
1
+ module Ruconomic
2
+ module API
3
+ module TemplateCollection
4
+ extend Ruconomic::WebService
5
+
6
+ # Returns an template collection data object for a given template collection.
7
+ # Parameters: entityHandle: A handle for the template collection.
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=TemplateCollection_GetData
11
+ # @return [Hash] The body content of the SOAP response.
12
+ def self.get_data
13
+ response = invoke('TemplateCollection_GetData') 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
+ # Returns template collection data objects for a given set of template collection handles.
19
+ # Parameters: entityHandles: An array of the template collection handles.
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=TemplateCollection_GetDataArray
23
+ # @return [Hash] The body content of the SOAP response.
24
+ def self.get_data_array
25
+ response = invoke('TemplateCollection_GetDataArray') 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 handles for all template collections.
31
+ #
32
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
33
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=TemplateCollection_GetAll
34
+ # @return [Hash] The body content of the SOAP response.
35
+ def self.get_all
36
+ response = invoke('TemplateCollection_GetAll') do |message|
37
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
38
+ end
39
+ end
40
+
41
+ # Returns handles for the template collections with the given name.
42
+ #
43
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
44
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=TemplateCollection_FindByName
45
+ # @return [Hash] The body content of the SOAP response.
46
+ def self.find_by_name
47
+ response = invoke('TemplateCollection_FindByName') do |message|
48
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
49
+ end
50
+ end
51
+
52
+ # Gets name of the template collection.
53
+ # Parameters: templateCollectionHandle: Handle for the template collection.
54
+ #
55
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
56
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=TemplateCollection_GetName
57
+ # @return [Hash] The body content of the SOAP response.
58
+ def self.get_name
59
+ response = invoke('TemplateCollection_GetName') do |message|
60
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
61
+ end
62
+ end
63
+
64
+ # Sets name of the template collection.
65
+ # Parameters: templateCollectionHandle: Handle for the template collection. name: New name of the template collection.
66
+ #
67
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
68
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=TemplateCollection_SetName
69
+ # @return [Hash] The body content of the SOAP response.
70
+ def self.set_name
71
+ response = invoke('TemplateCollection_SetName') do |message|
72
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
73
+ end
74
+ end
75
+
76
+ end
77
+ end
78
+ end