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,375 @@
1
+ module Ruconomic
2
+ module API
3
+ module Subscription
4
+ extend Ruconomic::WebService
5
+
6
+ # Creates a new subscription from a data object.
7
+ # Parameters: data: The data object that specifies the properties of the new subscription.
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=Subscription_CreateFromData
11
+ # @return [Hash] The body content of the SOAP response.
12
+ def self.create_from_data
13
+ response = invoke('Subscription_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 subscriptions from data objects.
19
+ # Parameters: dataArray: The array of data objects that specifies the properties of the new subscriptions.
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=Subscription_CreateFromDataArray
23
+ # @return [Hash] The body content of the SOAP response.
24
+ def self.create_from_data_array
25
+ response = invoke('Subscription_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 subscriptions 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=Subscription_UpdateFromDataArray
35
+ # @return [Hash] The body content of the SOAP response.
36
+ def self.update_from_data_array
37
+ response = invoke('Subscription_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 subscription 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=Subscription_UpdateFromData
47
+ # @return [Hash] The body content of the SOAP response.
48
+ def self.update_from_data
49
+ response = invoke('Subscription_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 subscription data object for a given subscripton.
55
+ # Parameters: entityHandle: A handle for the subscription.
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=Subscription_GetData
59
+ # @return [Hash] The body content of the SOAP response.
60
+ def self.get_data
61
+ response = invoke('Subscription_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 current subscriptions objects for a given set of subscription handles.
67
+ # Parameters: entityHandles: An array of the subscription 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=Subscription_GetDataArray
71
+ # @return [Hash] The body content of the SOAP response.
72
+ def self.get_data_array
73
+ response = invoke('Subscription_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
+ # Gets the number of the subscription.
79
+ # Parameters: subscriptionHandle: Handle for the subscription.
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=Subscription_GetNumber
83
+ # @return [Hash] The body content of the SOAP response.
84
+ def self.get_number
85
+ response = invoke('Subscription_GetNumber') 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 the name of the subscription.
91
+ # Parameters: subscriptionHandle: Handle for the subscription.
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=Subscription_GetName
95
+ # @return [Hash] The body content of the SOAP response.
96
+ def self.get_name
97
+ response = invoke('Subscription_GetName') 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
+ # Set the name of the subscription.
103
+ # Parameters: subscriptionHandle: Handle for the subscription. value: The new name of the subscription.
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=Subscription_SetName
107
+ # @return [Hash] The body content of the SOAP response.
108
+ def self.set_name
109
+ response = invoke('Subscription_SetName') 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 for the subscription.
115
+ # Parameters: subscriptionHandle: Handle for the subscription.
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=Subscription_GetDescription
119
+ # @return [Hash] The body content of the SOAP response.
120
+ def self.get_description
121
+ response = invoke('Subscription_GetDescription') 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 description for the subscription.
127
+ # Parameters: subscriptionHandle: Handle for the subscription. value: The new description of the subscription.
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=Subscription_SetDescription
131
+ # @return [Hash] The body content of the SOAP response.
132
+ def self.set_description
133
+ response = invoke('Subscription_SetDescription') 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 whether or not the subscription name should be included as the first product line.
139
+ # Parameters: subscriptionHandle: Handle for the subscription.
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=Subscription_GetIncludeName
143
+ # @return [Hash] The body content of the SOAP response.
144
+ def self.get_include_name
145
+ response = invoke('Subscription_GetIncludeName') 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 whether or not the subscription name should be included as the first product line.
151
+ # Parameters: subscriptionHandle: Handle for the subscription. value: The new value of the parameter.
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=Subscription_SetIncludeName
155
+ # @return [Hash] The body content of the SOAP response.
156
+ def self.set_include_name
157
+ response = invoke('Subscription_SetIncludeName') 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
+ # Sets the interval of the subscription.
163
+ # Parameters: subscriptionHandle: Handle for the subscription. value: The new interval of the subscription.
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=Subscription_SetSubscriptionInterval
167
+ # @return [Hash] The body content of the SOAP response.
168
+ def self.set_subscription_interval
169
+ response = invoke('Subscription_SetSubscriptionInterval') 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 interval of the subscription.
175
+ # Parameters: subscriptionHandle: Handle for the subscription.
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=Subscription_GetSubscriptionInterval
179
+ # @return [Hash] The body content of the SOAP response.
180
+ def self.get_subscription_interval
181
+ response = invoke('Subscription_GetSubscriptionInterval') 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 whether or not the subscripton should be created based on the calendar year.
187
+ # Parameters: subscriptionHandle: Handle for the subscription.
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=Subscription_GetCalendarYearBasis
191
+ # @return [Hash] The body content of the SOAP response.
192
+ def self.get_calendar_year_basis
193
+ response = invoke('Subscription_GetCalendarYearBasis') 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
+ # Sets whether or not the subscripton should be created based on the calendar year.
199
+ # Parameters: subscriptionHandle: Handle for the subscription. value: The new calendar year state of the subscription.
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=Subscription_SetCalendarYearBasis
203
+ # @return [Hash] The body content of the SOAP response.
204
+ def self.set_calendar_year_basis
205
+ response = invoke('Subscription_SetCalendarYearBasis') 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 whether or not there should be a Full or Proportional collection for the subscription.
211
+ # Parameters: subscriptionHandle: Handle for the subscription. value: The new collection type of the subscription.
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=Subscription_SetCollection
215
+ # @return [Hash] The body content of the SOAP response.
216
+ def self.set_collection
217
+ response = invoke('Subscription_SetCollection') 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 whether or not there should be a Full or Proportional collection for the subscription.
223
+ # Parameters: subscriptionHandle: Handle for the subscription.
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=Subscription_GetCollection
227
+ # @return [Hash] The body content of the SOAP response.
228
+ def self.get_collection
229
+ response = invoke('Subscription_GetCollection') 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
+ # Gets the status whether or not a period should be added after the subscription name.
235
+ # Parameters: subscriptionHandle: Handle for the subscription.
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=Subscription_GetAddPeriod
239
+ # @return [Hash] The body content of the SOAP response.
240
+ def self.get_add_period
241
+ response = invoke('Subscription_GetAddPeriod') 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
+ # Sets the status whether or not a period should be added after the subscription name.
247
+ # Parameters: subscriptionHandle: Handle for the subscription. value: The status whether or not a period should be added after the subscription name.
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=Subscription_SetAddPeriod
251
+ # @return [Hash] The body content of the SOAP response.
252
+ def self.set_add_period
253
+ response = invoke('Subscription_SetAddPeriod') 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
+ # Sets or sets whether more than one subscription is allowed for each debtor.
259
+ # Parameters: subscriptionHandle: Handle for the subscription. value: The new value of the property.
260
+ #
261
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
262
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Subscription_SetAllowMoreThanOneForEachDebtor
263
+ # @return [Hash] The body content of the SOAP response.
264
+ def self.set_allow_more_than_one_for_each_debtor
265
+ response = invoke('Subscription_SetAllowMoreThanOneForEachDebtor') do |message|
266
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
267
+ end
268
+ end
269
+
270
+ # Gets or sets whether more than one subscription is allowed for each debtor.
271
+ # Parameters: subscriptionHandle: Handle for the subscription.
272
+ #
273
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
274
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Subscription_GetAllowMoreThanOneForEachDebtor
275
+ # @return [Hash] The body content of the SOAP response.
276
+ def self.get_allow_more_than_one_for_each_debtor
277
+ response = invoke('Subscription_GetAllowMoreThanOneForEachDebtor') do |message|
278
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
279
+ end
280
+ end
281
+
282
+ # Creates a new subscription.
283
+ # Parameters: subscriptionNumber: subscription number for the subscription. subscriptionName: subscription name for the subscription. description: description for the subscription. includeName: Enables include name for the subscription. subscriptionInterval: subscription interval for the subscription, calendarYearBasis: Enables calendar year for the subscription. collection: Collection for the subscription. addPeriod: enables add period for the subscription. allowMoreThanOneForEachDebtor: enables to allow more than one for each debitor for the subscription.
284
+ #
285
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
286
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Subscription_Create
287
+ # @return [Hash] The body content of the SOAP response.
288
+ def self.create
289
+ response = invoke('Subscription_Create') do |message|
290
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
291
+ end
292
+ end
293
+
294
+ # Returns handle for subscription with a given number.
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=Subscription_FindByNumber
298
+ # @return [Hash] The body content of the SOAP response.
299
+ def self.find_by_number
300
+ response = invoke('Subscription_FindByNumber') 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
+ # Returns handles for the subscriptions with the given name.
306
+ # Parameters: name: The name to search for.
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=Subscription_FindByName
310
+ # @return [Hash] The body content of the SOAP response.
311
+ def self.find_by_name
312
+ response = invoke('Subscription_FindByName') 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
+ # Returns handles for the lines of the subscription
318
+ #
319
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
320
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Subscription_GetSubscriptionLines
321
+ # @return [Hash] The body content of the SOAP response.
322
+ def self.get_subscription_lines
323
+ response = invoke('Subscription_GetSubscriptionLines') do |message|
324
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
325
+ end
326
+ end
327
+
328
+ # Returns the next available subscription number.
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=Subscription_GetNextAvailableNumber
332
+ # @return [Hash] The body content of the SOAP response.
333
+ def self.get_next_available_number
334
+ response = invoke('Subscription_GetNextAvailableNumber') 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
+ # Deletes a subscription.
340
+ # Parameters: subscriptionHandle: Handle for the subscription.
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=Subscription_Delete
344
+ # @return [Hash] The body content of the SOAP response.
345
+ def self.delete
346
+ response = invoke('Subscription_Delete') 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
+ # Gets handles for the subscribers of the subscription
352
+ #
353
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
354
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Subscription_GetSubscribers
355
+ # @return [Hash] The body content of the SOAP response.
356
+ def self.get_subscribers
357
+ response = invoke('Subscription_GetSubscribers') do |message|
358
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
359
+ end
360
+ end
361
+
362
+ # Returns handles for all subscriptions.
363
+ #
364
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
365
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Subscription_GetAll
366
+ # @return [Hash] The body content of the SOAP response.
367
+ def self.get_all
368
+ response = invoke('Subscription_GetAll') do |message|
369
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
370
+ end
371
+ end
372
+
373
+ end
374
+ end
375
+ end