ruconomic 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +5 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +100 -0
- data/Rakefile +2 -0
- data/lib/ruconomic/api/account.rb +520 -0
- data/lib/ruconomic/api/accounting_period.rb +113 -0
- data/lib/ruconomic/api/accounting_year.rb +161 -0
- data/lib/ruconomic/api/activity.rb +90 -0
- data/lib/ruconomic/api/bank_payment_type.rb +103 -0
- data/lib/ruconomic/api/budget_figure.rb +343 -0
- data/lib/ruconomic/api/cash_book.rb +232 -0
- data/lib/ruconomic/api/cash_book_entry.rb +716 -0
- data/lib/ruconomic/api/company.rb +294 -0
- data/lib/ruconomic/api/cost_type.rb +138 -0
- data/lib/ruconomic/api/cost_type_group.rb +115 -0
- data/lib/ruconomic/api/creditor.rb +688 -0
- data/lib/ruconomic/api/creditor_contact.rb +269 -0
- data/lib/ruconomic/api/creditor_entry.rb +235 -0
- data/lib/ruconomic/api/creditor_group.rb +208 -0
- data/lib/ruconomic/api/currency.rb +67 -0
- data/lib/ruconomic/api/current_invoice.rb +1110 -0
- data/lib/ruconomic/api/current_invoice_line.rb +440 -0
- data/lib/ruconomic/api/current_supplier_invoice.rb +115 -0
- data/lib/ruconomic/api/current_supplier_invoice_line.rb +92 -0
- data/lib/ruconomic/api/debtor.rb +978 -0
- data/lib/ruconomic/api/debtor_contact.rb +328 -0
- data/lib/ruconomic/api/debtor_entry.rb +223 -0
- data/lib/ruconomic/api/debtor_group.rb +232 -0
- data/lib/ruconomic/api/delivery_location.rb +341 -0
- data/lib/ruconomic/api/department.rb +197 -0
- data/lib/ruconomic/api/distribution_key.rb +187 -0
- data/lib/ruconomic/api/document_archive_category.rb +163 -0
- data/lib/ruconomic/api/employee.rb +421 -0
- data/lib/ruconomic/api/employee_group.rb +199 -0
- data/lib/ruconomic/api/entry.rb +318 -0
- data/lib/ruconomic/api/extended_vat_zone.rb +79 -0
- data/lib/ruconomic/api/inventory_location.rb +91 -0
- data/lib/ruconomic/api/invoice.rb +655 -0
- data/lib/ruconomic/api/invoice_line.rb +248 -0
- data/lib/ruconomic/api/key_figure_code.rb +103 -0
- data/lib/ruconomic/api/mileage_entry.rb +319 -0
- data/lib/ruconomic/api/order.rb +1169 -0
- data/lib/ruconomic/api/order_line.rb +451 -0
- data/lib/ruconomic/api/price_group.rb +200 -0
- data/lib/ruconomic/api/product.rb +533 -0
- data/lib/ruconomic/api/product_group.rb +271 -0
- data/lib/ruconomic/api/product_price.rb +164 -0
- data/lib/ruconomic/api/project.rb +449 -0
- data/lib/ruconomic/api/project_group.rb +113 -0
- data/lib/ruconomic/api/quotation.rb +1145 -0
- data/lib/ruconomic/api/quotation_line.rb +451 -0
- data/lib/ruconomic/api/report_code.rb +78 -0
- data/lib/ruconomic/api/report_code_set.rb +89 -0
- data/lib/ruconomic/api/scanned_document.rb +175 -0
- data/lib/ruconomic/api/subscriber.rb +475 -0
- data/lib/ruconomic/api/subscription.rb +375 -0
- data/lib/ruconomic/api/subscription_line.rb +307 -0
- data/lib/ruconomic/api/sum_interval.rb +164 -0
- data/lib/ruconomic/api/template_collection.rb +78 -0
- data/lib/ruconomic/api/term_of_payment.rb +307 -0
- data/lib/ruconomic/api/time_entry.rb +258 -0
- data/lib/ruconomic/api/unit.rb +187 -0
- data/lib/ruconomic/api/vat_account.rb +151 -0
- data/lib/ruconomic/api.rb +79 -0
- data/lib/ruconomic/fault.rb +17 -0
- data/lib/ruconomic/soap/document.rb +79 -0
- data/lib/ruconomic/soap/node.rb +24 -0
- data/lib/ruconomic/soap.rb +7 -0
- data/lib/ruconomic/version.rb +3 -0
- data/lib/ruconomic/web_service.rb +50 -0
- data/lib/ruconomic.rb +42 -0
- data/ruconomic.gemspec +27 -0
- metadata +202 -0
@@ -0,0 +1,978 @@
|
|
1
|
+
module Ruconomic
|
2
|
+
module API
|
3
|
+
module Debtor
|
4
|
+
extend Ruconomic::WebService
|
5
|
+
|
6
|
+
# Gets the extended VAT zone of the given debitor.
|
7
|
+
# Parameters: debtorHandle: Handle for the debtor.
|
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=Debtor_GetExtendedVatZone
|
11
|
+
# @return [Hash] The body content of the SOAP response.
|
12
|
+
def self.get_extended_vat_zone
|
13
|
+
response = invoke('Debtor_GetExtendedVatZone') 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
|
+
# Sets extended VAT zone of a debtor.
|
19
|
+
# Parameters: debtorHandle: Handle for the debtor. value: Handle for new extended vat zone of the debtor.
|
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=Debtor_SetExtendedVatZone
|
23
|
+
# @return [Hash] The body content of the SOAP response.
|
24
|
+
def self.set_extended_vat_zone
|
25
|
+
response = invoke('Debtor_SetExtendedVatZone') 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 handle for debtors with a given email.
|
31
|
+
# Parameters: The email to search for.
|
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=Debtor_FindByEmail
|
35
|
+
# @return [Hash] The body content of the SOAP response.
|
36
|
+
def self.find_by_email
|
37
|
+
response = invoke('Debtor_FindByEmail') do |message|
|
38
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
# Returns handles for debtors with a given EAN.
|
43
|
+
# Parameters: The EAN to search for.
|
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=Debtor_FindByEan
|
47
|
+
# @return [Hash] The body content of the SOAP response.
|
48
|
+
def self.find_by_ean
|
49
|
+
response = invoke('Debtor_FindByEan') 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 handles for debtors with a given Corporate Identification Number.
|
55
|
+
# Parameters: The Corporate Identification Number to search for.
|
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=Debtor_FindByCINumber
|
59
|
+
# @return [Hash] The body content of the SOAP response.
|
60
|
+
def self.find_by_ci_number
|
61
|
+
response = invoke('Debtor_FindByCINumber') 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 handle for debtors with a given telephone and fax number.
|
67
|
+
# Parameters: The telephone and fax number to search for.
|
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=Debtor_FindByTelephoneAndFaxNumber
|
71
|
+
# @return [Hash] The body content of the SOAP response.
|
72
|
+
def self.find_by_telephone_and_fax_number
|
73
|
+
response = invoke('Debtor_FindByTelephoneAndFaxNumber') 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 handles for delivery locations of a debtor.
|
79
|
+
# Parameters: debtorHandle: Handle for the debtor.
|
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=Debtor_GetDeliveryLocations
|
83
|
+
# @return [Hash] The body content of the SOAP response.
|
84
|
+
def self.get_delivery_locations
|
85
|
+
response = invoke('Debtor_GetDeliveryLocations') 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 handles for debtor contacts of a debtor.
|
91
|
+
# Parameters: debtorHandle: Handle for the debtor.
|
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=Debtor_GetDebtorContacts
|
95
|
+
# @return [Hash] The body content of the SOAP response.
|
96
|
+
def self.get_debtor_contacts
|
97
|
+
response = invoke('Debtor_GetDebtorContacts') 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 handles for the invoices of a debtor.
|
103
|
+
# Parameters: debtorHandle: Handle for the debtor.
|
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=Debtor_GetInvoices
|
107
|
+
# @return [Hash] The body content of the SOAP response.
|
108
|
+
def self.get_invoices
|
109
|
+
response = invoke('Debtor_GetInvoices') 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 handles for the orders of a debtor.
|
115
|
+
# Parameters: debtorHandle: Handle for the debtor.
|
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=Debtor_GetOrders
|
119
|
+
# @return [Hash] The body content of the SOAP response.
|
120
|
+
def self.get_orders
|
121
|
+
response = invoke('Debtor_GetOrders') 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 handles for the current invoices of a debtor.
|
127
|
+
# Parameters: debtorHandle: Handle for the debtor.
|
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=Debtor_GetCurrentInvoices
|
131
|
+
# @return [Hash] The body content of the SOAP response.
|
132
|
+
def self.get_current_invoices
|
133
|
+
response = invoke('Debtor_GetCurrentInvoices') 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 handles for the quotations of a debtor.
|
139
|
+
# Parameters: debtorHandle: Handle for the debtor.
|
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=Debtor_GetQuotations
|
143
|
+
# @return [Hash] The body content of the SOAP response.
|
144
|
+
def self.get_quotations
|
145
|
+
response = invoke('Debtor_GetQuotations') do |message|
|
146
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
147
|
+
end
|
148
|
+
end
|
149
|
+
|
150
|
+
# Gets handles for the entries of the debtor.
|
151
|
+
# Parameters: debtorHandle: Handle for the debtor.
|
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=Debtor_GetEntries
|
155
|
+
# @return [Hash] The body content of the SOAP response.
|
156
|
+
def self.get_entries
|
157
|
+
response = invoke('Debtor_GetEntries') 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 handles for the open entries of the debtor.
|
163
|
+
# Parameters: debtorHandle: Handle for the debtor.
|
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=Debtor_GetOpenEntries
|
167
|
+
# @return [Hash] The body content of the SOAP response.
|
168
|
+
def self.get_open_entries
|
169
|
+
response = invoke('Debtor_GetOpenEntries') 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 handles for the subscribers of the debtor.
|
175
|
+
# Parameters: debtorHandle: Handle for the debtor.
|
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=Debtor_GetSubscribers
|
179
|
+
# @return [Hash] The body content of the SOAP response.
|
180
|
+
def self.get_subscribers
|
181
|
+
response = invoke('Debtor_GetSubscribers') 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
|
+
# Deletes a debtor.
|
187
|
+
#
|
188
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Debtor_Delete
|
189
|
+
# @param handle [String] Handle for debtor.
|
190
|
+
# @return [Nil]
|
191
|
+
def self.delete(handle)
|
192
|
+
response = invoke('Debtor_Delete') do |message|
|
193
|
+
message.add 'debtorHandle' do |number|
|
194
|
+
number.add 'Number', handle
|
195
|
+
end
|
196
|
+
end
|
197
|
+
|
198
|
+
nil
|
199
|
+
end
|
200
|
+
|
201
|
+
# Creates a new debtor from a data object.
|
202
|
+
# Parameters: data: The data object that specifies the properties of the new debtor.
|
203
|
+
#
|
204
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
205
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Debtor_CreateFromData
|
206
|
+
# @return [Hash] The body content of the SOAP response.
|
207
|
+
def self.create_from_data
|
208
|
+
response = invoke('Debtor_CreateFromData') do |message|
|
209
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
210
|
+
end
|
211
|
+
end
|
212
|
+
|
213
|
+
# Creates new debtors from data objects.
|
214
|
+
# Parameters: dataArray: The array of data objects that specifies the properties of the new debtors.
|
215
|
+
#
|
216
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
217
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Debtor_CreateFromDataArray
|
218
|
+
# @return [Hash] The body content of the SOAP response.
|
219
|
+
def self.create_from_data_array
|
220
|
+
response = invoke('Debtor_CreateFromDataArray') do |message|
|
221
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
222
|
+
end
|
223
|
+
end
|
224
|
+
|
225
|
+
# Update debtors from data objects.
|
226
|
+
# Parameters: dataArray: The array of data objects.
|
227
|
+
#
|
228
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
229
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Debtor_UpdateFromDataArray
|
230
|
+
# @return [Hash] The body content of the SOAP response.
|
231
|
+
def self.update_from_data_array
|
232
|
+
response = invoke('Debtor_UpdateFromDataArray') do |message|
|
233
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
234
|
+
end
|
235
|
+
end
|
236
|
+
|
237
|
+
# Updates a debtor from a data object.
|
238
|
+
# Parameters: data: The data object.
|
239
|
+
#
|
240
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
241
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Debtor_UpdateFromData
|
242
|
+
# @return [Hash] The body content of the SOAP response.
|
243
|
+
def self.update_from_data
|
244
|
+
response = invoke('Debtor_UpdateFromData') do |message|
|
245
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
246
|
+
end
|
247
|
+
end
|
248
|
+
|
249
|
+
# Returns a debtor data object for a given debtor.
|
250
|
+
#
|
251
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Debtor_GetData
|
252
|
+
# @param entityHandle [String] A handle for the debtor.
|
253
|
+
# @return [Hash] The debtor data.
|
254
|
+
def self.get_data(entityHandle)
|
255
|
+
response = invoke('Debtor_GetData') do |message|
|
256
|
+
message.add 'entityHandle' do |number|
|
257
|
+
number.add 'Number', entityHandle
|
258
|
+
end
|
259
|
+
end
|
260
|
+
|
261
|
+
response.to_hash[:debtor_get_data_response][:debtor_get_data_result]
|
262
|
+
end
|
263
|
+
|
264
|
+
# Returns debtor data objects for a given set of debtor handles.
|
265
|
+
# Parameters: entityHandles: An array of the debtor handles.
|
266
|
+
#
|
267
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
268
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Debtor_GetDataArray
|
269
|
+
# @return [Hash] The body content of the SOAP response.
|
270
|
+
def self.get_data_array
|
271
|
+
response = invoke('Debtor_GetDataArray') do |message|
|
272
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
273
|
+
end
|
274
|
+
end
|
275
|
+
|
276
|
+
# Gets the number of a debtor.
|
277
|
+
# Parameters: debtorHandle: Handle for the debtor.
|
278
|
+
#
|
279
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
280
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Debtor_GetNumber
|
281
|
+
# @return [Hash] The body content of the SOAP response.
|
282
|
+
def self.get_number
|
283
|
+
response = invoke('Debtor_GetNumber') do |message|
|
284
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
285
|
+
end
|
286
|
+
end
|
287
|
+
|
288
|
+
# Sets the debtor group of a debtor.
|
289
|
+
# Parameters: debtorHandle: Handle for the debtor. valueHandle: Handle for new debtor group of the debtor.
|
290
|
+
#
|
291
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
292
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Debtor_SetDebtorGroup
|
293
|
+
# @return [Hash] The body content of the SOAP response.
|
294
|
+
def self.set_debtor_group
|
295
|
+
response = invoke('Debtor_SetDebtorGroup') do |message|
|
296
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
297
|
+
end
|
298
|
+
end
|
299
|
+
|
300
|
+
# Gets handle for debtor group of a debtor.
|
301
|
+
# Parameters: debtorHandle: Handle for the debtor.
|
302
|
+
#
|
303
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
304
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Debtor_GetDebtorGroup
|
305
|
+
# @return [Hash] The body content of the SOAP response.
|
306
|
+
def self.get_debtor_group
|
307
|
+
response = invoke('Debtor_GetDebtorGroup') do |message|
|
308
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
309
|
+
end
|
310
|
+
end
|
311
|
+
|
312
|
+
# Gets the name of a debtor.
|
313
|
+
# Parameters: debtorHandle: Handle for the debtor.
|
314
|
+
#
|
315
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
316
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Debtor_GetName
|
317
|
+
# @return [Hash] The body content of the SOAP response.
|
318
|
+
def self.get_name
|
319
|
+
response = invoke('Debtor_GetName') do |message|
|
320
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
321
|
+
end
|
322
|
+
end
|
323
|
+
|
324
|
+
# Sets the name of a debtor.
|
325
|
+
# Parameters: debtorHandle: Handle for the debtor. value: The new name of the debtor.
|
326
|
+
#
|
327
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
328
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Debtor_SetName
|
329
|
+
# @return [Hash] The body content of the SOAP response.
|
330
|
+
def self.set_name
|
331
|
+
response = invoke('Debtor_SetName') do |message|
|
332
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
333
|
+
end
|
334
|
+
end
|
335
|
+
|
336
|
+
# Sets vat zone of a debtor.
|
337
|
+
# Parameters: debtorHandle: Handle for the debtor. value: Handle for new vat zone of the debtor.
|
338
|
+
#
|
339
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
340
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Debtor_SetVatZone
|
341
|
+
# @return [Hash] The body content of the SOAP response.
|
342
|
+
def self.set_vat_zone
|
343
|
+
response = invoke('Debtor_SetVatZone') do |message|
|
344
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
345
|
+
end
|
346
|
+
end
|
347
|
+
|
348
|
+
# Gets handle for vat zone of a debtor.
|
349
|
+
# Parameters: debtorHandle: Handle for the debtor.
|
350
|
+
#
|
351
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
352
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Debtor_GetVatZone
|
353
|
+
# @return [Hash] The body content of the SOAP response.
|
354
|
+
def self.get_vat_zone
|
355
|
+
response = invoke('Debtor_GetVatZone') do |message|
|
356
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
357
|
+
end
|
358
|
+
end
|
359
|
+
|
360
|
+
# Gets currency of a debtor.
|
361
|
+
# Parameters: debtorHandle: Handle for the debtor.
|
362
|
+
#
|
363
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
364
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Debtor_GetCurrency
|
365
|
+
# @return [Hash] The body content of the SOAP response.
|
366
|
+
def self.get_currency
|
367
|
+
response = invoke('Debtor_GetCurrency') do |message|
|
368
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
369
|
+
end
|
370
|
+
end
|
371
|
+
|
372
|
+
# Sets currency of a debtor.
|
373
|
+
# Parameters: debtorHandle: Handle for the debtor. value: Handle for new currency of the debtor.
|
374
|
+
#
|
375
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
376
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Debtor_SetCurrency
|
377
|
+
# @return [Hash] The body content of the SOAP response.
|
378
|
+
def self.set_currency
|
379
|
+
response = invoke('Debtor_SetCurrency') do |message|
|
380
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
381
|
+
end
|
382
|
+
end
|
383
|
+
|
384
|
+
# Sets the price group of a debtor.
|
385
|
+
# Parameters: debtorHandle: Handle for the debtor. value: Handle for the new price group of the debtor.
|
386
|
+
#
|
387
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
388
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Debtor_SetPriceGroup
|
389
|
+
# @return [Hash] The body content of the SOAP response.
|
390
|
+
def self.set_price_group
|
391
|
+
response = invoke('Debtor_SetPriceGroup') do |message|
|
392
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
393
|
+
end
|
394
|
+
end
|
395
|
+
|
396
|
+
# Gets the price group of a debtor.
|
397
|
+
# Parameters: debtorHandle: Handle for the debtor.
|
398
|
+
#
|
399
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
400
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Debtor_GetPriceGroup
|
401
|
+
# @return [Hash] The body content of the SOAP response.
|
402
|
+
def self.get_price_group
|
403
|
+
response = invoke('Debtor_GetPriceGroup') do |message|
|
404
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
405
|
+
end
|
406
|
+
end
|
407
|
+
|
408
|
+
# Sets whether a debtor is accessible.
|
409
|
+
# Parameters: debtorHandle: Handle for the debtor. value: Value that indicates whether the debtor should be accessible.
|
410
|
+
#
|
411
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
412
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Debtor_SetIsAccessible
|
413
|
+
# @return [Hash] The body content of the SOAP response.
|
414
|
+
def self.set_is_accessible
|
415
|
+
response = invoke('Debtor_SetIsAccessible') do |message|
|
416
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
417
|
+
end
|
418
|
+
end
|
419
|
+
|
420
|
+
# Gets whether a debtor is accessible.
|
421
|
+
# Parameters: debtorHandle: Handle for the debtor.
|
422
|
+
#
|
423
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
424
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Debtor_GetIsAccessible
|
425
|
+
# @return [Hash] The body content of the SOAP response.
|
426
|
+
def self.get_is_accessible
|
427
|
+
response = invoke('Debtor_GetIsAccessible') do |message|
|
428
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
429
|
+
end
|
430
|
+
end
|
431
|
+
|
432
|
+
# Gets EAN of a debtor.
|
433
|
+
# Parameters: debtorHandle: Handle for the debtor.
|
434
|
+
#
|
435
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
436
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Debtor_GetEan
|
437
|
+
# @return [Hash] The body content of the SOAP response.
|
438
|
+
def self.get_ean
|
439
|
+
response = invoke('Debtor_GetEan') do |message|
|
440
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
441
|
+
end
|
442
|
+
end
|
443
|
+
|
444
|
+
# Sets EAN of a debtor.
|
445
|
+
# Parameters: debtorHandle: Handle for the debtor. value: The new EAN of the debtor.
|
446
|
+
#
|
447
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
448
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Debtor_SetEan
|
449
|
+
# @return [Hash] The body content of the SOAP response.
|
450
|
+
def self.set_ean
|
451
|
+
response = invoke('Debtor_SetEan') do |message|
|
452
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
453
|
+
end
|
454
|
+
end
|
455
|
+
|
456
|
+
# Gets the public entry number of a debtor.
|
457
|
+
# Parameters: debtorHandle: Handle for the debtor.
|
458
|
+
#
|
459
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
460
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Debtor_GetPublicEntryNumber
|
461
|
+
# @return [Hash] The body content of the SOAP response.
|
462
|
+
def self.get_public_entry_number
|
463
|
+
response = invoke('Debtor_GetPublicEntryNumber') do |message|
|
464
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
465
|
+
end
|
466
|
+
end
|
467
|
+
|
468
|
+
# Sets the public entry number of a debtor.
|
469
|
+
# Parameters: debtorHandle: Handle for the debtor. value: The new public entry number of the debtor.
|
470
|
+
#
|
471
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
472
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Debtor_SetPublicEntryNumber
|
473
|
+
# @return [Hash] The body content of the SOAP response.
|
474
|
+
def self.set_public_entry_number
|
475
|
+
response = invoke('Debtor_SetPublicEntryNumber') do |message|
|
476
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
477
|
+
end
|
478
|
+
end
|
479
|
+
|
480
|
+
# Get the email of a debtor.
|
481
|
+
# Parameters: debtorHandle: Handle for the debtor.
|
482
|
+
#
|
483
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
484
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Debtor_GetEmail
|
485
|
+
# @return [Hash] The body content of the SOAP response.
|
486
|
+
def self.get_email
|
487
|
+
response = invoke('Debtor_GetEmail') do |message|
|
488
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
489
|
+
end
|
490
|
+
end
|
491
|
+
|
492
|
+
# Set the email of a debtor.
|
493
|
+
# Parameters: debtorHandle: Handle for the debtor. value: The new email of the debtor.
|
494
|
+
#
|
495
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
496
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Debtor_SetEmail
|
497
|
+
# @return [Hash] The body content of the SOAP response.
|
498
|
+
def self.set_email
|
499
|
+
response = invoke('Debtor_SetEmail') do |message|
|
500
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
501
|
+
end
|
502
|
+
end
|
503
|
+
|
504
|
+
# Sets the telephone and fax number of a debtor.
|
505
|
+
# Parameters: debtorHandle: Handle for the debtor. value: The new telephone and fax number of the debtor.
|
506
|
+
#
|
507
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
508
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Debtor_SetTelephoneAndFaxNumber
|
509
|
+
# @return [Hash] The body content of the SOAP response.
|
510
|
+
def self.set_telephone_and_fax_number
|
511
|
+
response = invoke('Debtor_SetTelephoneAndFaxNumber') do |message|
|
512
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
513
|
+
end
|
514
|
+
end
|
515
|
+
|
516
|
+
# Gets the telephone and fax number of a debtor.
|
517
|
+
# Parameters: debtorHandle: Handle for the debtor.
|
518
|
+
#
|
519
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
520
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Debtor_GetTelephoneAndFaxNumber
|
521
|
+
# @return [Hash] The body content of the SOAP response.
|
522
|
+
def self.get_telephone_and_fax_number
|
523
|
+
response = invoke('Debtor_GetTelephoneAndFaxNumber') do |message|
|
524
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
525
|
+
end
|
526
|
+
end
|
527
|
+
|
528
|
+
# Sets the website of a debtor.
|
529
|
+
# Parameters: debtorHandle: Handle for the debtor. value: The new website of the debtor.
|
530
|
+
#
|
531
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
532
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Debtor_SetWebsite
|
533
|
+
# @return [Hash] The body content of the SOAP response.
|
534
|
+
def self.set_website
|
535
|
+
response = invoke('Debtor_SetWebsite') do |message|
|
536
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
537
|
+
end
|
538
|
+
end
|
539
|
+
|
540
|
+
# Gets the website of a debtor.
|
541
|
+
# Parameters: debtorHandle: Handle for the debtor.
|
542
|
+
#
|
543
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
544
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Debtor_GetWebsite
|
545
|
+
# @return [Hash] The body content of the SOAP response.
|
546
|
+
def self.get_website
|
547
|
+
response = invoke('Debtor_GetWebsite') do |message|
|
548
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
549
|
+
end
|
550
|
+
end
|
551
|
+
|
552
|
+
# Gets the address of a debtor.
|
553
|
+
# Parameters: debtorHandle: Handle for the debtor.
|
554
|
+
#
|
555
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
556
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Debtor_GetAddress
|
557
|
+
# @return [Hash] The body content of the SOAP response.
|
558
|
+
def self.get_address
|
559
|
+
response = invoke('Debtor_GetAddress') do |message|
|
560
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
561
|
+
end
|
562
|
+
end
|
563
|
+
|
564
|
+
# Sets the address of a debtor.
|
565
|
+
# Parameters: debtorHandle: Handle for the debtor. value: The new address of the debtor.
|
566
|
+
#
|
567
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
568
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Debtor_SetAddress
|
569
|
+
# @return [Hash] The body content of the SOAP response.
|
570
|
+
def self.set_address
|
571
|
+
response = invoke('Debtor_SetAddress') do |message|
|
572
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
573
|
+
end
|
574
|
+
end
|
575
|
+
|
576
|
+
# Gets the postal code of a debtor.
|
577
|
+
# Parameters: debtorHandle: Handle for the debtor.
|
578
|
+
#
|
579
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
580
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Debtor_GetPostalCode
|
581
|
+
# @return [Hash] The body content of the SOAP response.
|
582
|
+
def self.get_postal_code
|
583
|
+
response = invoke('Debtor_GetPostalCode') do |message|
|
584
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
585
|
+
end
|
586
|
+
end
|
587
|
+
|
588
|
+
# Sets the postal code of a debtor.
|
589
|
+
# Parameters: debtorHandle: Handle for the debtor. value: The new postal code of the debtor.
|
590
|
+
#
|
591
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
592
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Debtor_SetPostalCode
|
593
|
+
# @return [Hash] The body content of the SOAP response.
|
594
|
+
def self.set_postal_code
|
595
|
+
response = invoke('Debtor_SetPostalCode') do |message|
|
596
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
597
|
+
end
|
598
|
+
end
|
599
|
+
|
600
|
+
# Gets the city of a debtor.
|
601
|
+
# Parameters: debtorHandle: Handle for the debtor.
|
602
|
+
#
|
603
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
604
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Debtor_GetCity
|
605
|
+
# @return [Hash] The body content of the SOAP response.
|
606
|
+
def self.get_city
|
607
|
+
response = invoke('Debtor_GetCity') do |message|
|
608
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
609
|
+
end
|
610
|
+
end
|
611
|
+
|
612
|
+
# Sets the city of a debtor.
|
613
|
+
# Parameters: debtorHandle: Handle for the debtor. value: The new city of the debtor.
|
614
|
+
#
|
615
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
616
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Debtor_SetCity
|
617
|
+
# @return [Hash] The body content of the SOAP response.
|
618
|
+
def self.set_city
|
619
|
+
response = invoke('Debtor_SetCity') do |message|
|
620
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
621
|
+
end
|
622
|
+
end
|
623
|
+
|
624
|
+
# Sets the country of a debtor.
|
625
|
+
# Parameters: debtorHandle: Handle for the debtor. value: The new country of the debtor.
|
626
|
+
#
|
627
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
628
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Debtor_SetCountry
|
629
|
+
# @return [Hash] The body content of the SOAP response.
|
630
|
+
def self.set_country
|
631
|
+
response = invoke('Debtor_SetCountry') do |message|
|
632
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
633
|
+
end
|
634
|
+
end
|
635
|
+
|
636
|
+
# Gets the country of a debtor.
|
637
|
+
# Parameters: debtorHandle: Handle for the debtor.
|
638
|
+
#
|
639
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
640
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Debtor_GetCountry
|
641
|
+
# @return [Hash] The body content of the SOAP response.
|
642
|
+
def self.get_country
|
643
|
+
response = invoke('Debtor_GetCountry') do |message|
|
644
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
645
|
+
end
|
646
|
+
end
|
647
|
+
|
648
|
+
# Sets the credit maximum of a debtor.
|
649
|
+
# Parameters: debtorHandle: Handle for the debtor. value: The new credit maximum of the debtor.
|
650
|
+
#
|
651
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
652
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Debtor_SetCreditMaximum
|
653
|
+
# @return [Hash] The body content of the SOAP response.
|
654
|
+
def self.set_credit_maximum
|
655
|
+
response = invoke('Debtor_SetCreditMaximum') do |message|
|
656
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
657
|
+
end
|
658
|
+
end
|
659
|
+
|
660
|
+
# Gets the credit maximum of a debtor.
|
661
|
+
# Parameters: debtorHandle: Handle for the debtor.
|
662
|
+
#
|
663
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
664
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Debtor_GetCreditMaximum
|
665
|
+
# @return [Hash] The body content of the SOAP response.
|
666
|
+
def self.get_credit_maximum
|
667
|
+
response = invoke('Debtor_GetCreditMaximum') do |message|
|
668
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
669
|
+
end
|
670
|
+
end
|
671
|
+
|
672
|
+
# Gets the VatNumber of a debtor. (SE,UK only)
|
673
|
+
# Parameters: debtorHandle: Handle for the debtor.
|
674
|
+
#
|
675
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
676
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Debtor_GetVatNumber
|
677
|
+
# @return [Hash] The body content of the SOAP response.
|
678
|
+
def self.get_vat_number
|
679
|
+
response = invoke('Debtor_GetVatNumber') do |message|
|
680
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
681
|
+
end
|
682
|
+
end
|
683
|
+
|
684
|
+
# Sets the VatNumber of a debtor. (SE,UK only)
|
685
|
+
# Parameters: debtorHandle: Handle for the debtor. value: The new VatNumber of the debtor.
|
686
|
+
#
|
687
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
688
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Debtor_SetVatNumber
|
689
|
+
# @return [Hash] The body content of the SOAP response.
|
690
|
+
def self.set_vat_number
|
691
|
+
response = invoke('Debtor_SetVatNumber') do |message|
|
692
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
693
|
+
end
|
694
|
+
end
|
695
|
+
|
696
|
+
# Gets the County of a debtor. (UK only)
|
697
|
+
# Parameters: debtorHandle: Handle for the debtor.
|
698
|
+
#
|
699
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
700
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Debtor_GetCounty
|
701
|
+
# @return [Hash] The body content of the SOAP response.
|
702
|
+
def self.get_county
|
703
|
+
response = invoke('Debtor_GetCounty') do |message|
|
704
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
705
|
+
end
|
706
|
+
end
|
707
|
+
|
708
|
+
# Sets the County of a debtor. (UK only)
|
709
|
+
# Parameters: debtorHandle: Handle for the debtor. value: The new County of the debtor.
|
710
|
+
#
|
711
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
712
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Debtor_SetCounty
|
713
|
+
# @return [Hash] The body content of the SOAP response.
|
714
|
+
def self.set_county
|
715
|
+
response = invoke('Debtor_SetCounty') do |message|
|
716
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
717
|
+
end
|
718
|
+
end
|
719
|
+
|
720
|
+
# Gets the Corporate Identification Number of a debtor.
|
721
|
+
# Parameters: debtorHandle: Handle for the debtor.
|
722
|
+
#
|
723
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
724
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Debtor_GetCINumber
|
725
|
+
# @return [Hash] The body content of the SOAP response.
|
726
|
+
def self.get_ci_number
|
727
|
+
response = invoke('Debtor_GetCINumber') do |message|
|
728
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
729
|
+
end
|
730
|
+
end
|
731
|
+
|
732
|
+
# Sets the Corporate Identification Number of a debtor.
|
733
|
+
# Parameters: debtorHandle: Handle for the debtor. value: The new Corporate Identification Number of the debtor.
|
734
|
+
#
|
735
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
736
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Debtor_SetCINumber
|
737
|
+
# @return [Hash] The body content of the SOAP response.
|
738
|
+
def self.set_ci_number
|
739
|
+
response = invoke('Debtor_SetCINumber') do |message|
|
740
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
741
|
+
end
|
742
|
+
end
|
743
|
+
|
744
|
+
# Sets the term of payment of a debtor. The value may not be omitted.
|
745
|
+
# Parameters: debtorHandle: Handle for the debtor. value: Handle for new term of payment of a debtor.
|
746
|
+
#
|
747
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
748
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Debtor_SetTermOfPayment
|
749
|
+
# @return [Hash] The body content of the SOAP response.
|
750
|
+
def self.set_term_of_payment
|
751
|
+
response = invoke('Debtor_SetTermOfPayment') do |message|
|
752
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
753
|
+
end
|
754
|
+
end
|
755
|
+
|
756
|
+
# Gets a handle for the term of payment of a debtor.
|
757
|
+
# Parameters: debtorHandle: Handle for the debtor.
|
758
|
+
#
|
759
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
760
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Debtor_GetTermOfPayment
|
761
|
+
# @return [Hash] The body content of the SOAP response.
|
762
|
+
def self.get_term_of_payment
|
763
|
+
response = invoke('Debtor_GetTermOfPayment') do |message|
|
764
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
765
|
+
end
|
766
|
+
end
|
767
|
+
|
768
|
+
# Sets the layout of a debtor. The value may be omitted.
|
769
|
+
# Parameters: debtorHandle: Handle for the debtor. valueHandle: Handle for new layout of a debtor.
|
770
|
+
#
|
771
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
772
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Debtor_SetLayout
|
773
|
+
# @return [Hash] The body content of the SOAP response.
|
774
|
+
def self.set_layout
|
775
|
+
response = invoke('Debtor_SetLayout') do |message|
|
776
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
777
|
+
end
|
778
|
+
end
|
779
|
+
|
780
|
+
# Gets a handle for the layout of a debtor.
|
781
|
+
# Parameters: debtorHandle: Handle for the debtor.
|
782
|
+
#
|
783
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
784
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Debtor_GetLayout
|
785
|
+
# @return [Hash] The body content of the SOAP response.
|
786
|
+
def self.get_layout
|
787
|
+
response = invoke('Debtor_GetLayout') do |message|
|
788
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
789
|
+
end
|
790
|
+
end
|
791
|
+
|
792
|
+
# Gets a handle for the attention of a debtor.
|
793
|
+
# Parameters: debtorHandle: Handle for the debtor.
|
794
|
+
#
|
795
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
796
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Debtor_GetAttention
|
797
|
+
# @return [Hash] The body content of the SOAP response.
|
798
|
+
def self.get_attention
|
799
|
+
response = invoke('Debtor_GetAttention') do |message|
|
800
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
801
|
+
end
|
802
|
+
end
|
803
|
+
|
804
|
+
# Sets attention of a debtor.
|
805
|
+
# Parameters: debtorHandle: Handle for the debtor. valueHandle: Handle for new attention of the debtor.
|
806
|
+
#
|
807
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
808
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Debtor_SetAttention
|
809
|
+
# @return [Hash] The body content of the SOAP response.
|
810
|
+
def self.set_attention
|
811
|
+
response = invoke('Debtor_SetAttention') do |message|
|
812
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
813
|
+
end
|
814
|
+
end
|
815
|
+
|
816
|
+
# Sets 'your reference' of a debtor.
|
817
|
+
# Parameters: debtorHandle: Handle for the debtor. valueHandle: Handle for 'your reference' of the debtor.
|
818
|
+
#
|
819
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
820
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Debtor_SetYourReference
|
821
|
+
# @return [Hash] The body content of the SOAP response.
|
822
|
+
def self.set_your_reference
|
823
|
+
response = invoke('Debtor_SetYourReference') do |message|
|
824
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
825
|
+
end
|
826
|
+
end
|
827
|
+
|
828
|
+
# Gets a handle for 'your reference' of a debtor.
|
829
|
+
# Parameters: debtorHandle: Handle for the debtor.
|
830
|
+
#
|
831
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
832
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Debtor_GetYourReference
|
833
|
+
# @return [Hash] The body content of the SOAP response.
|
834
|
+
def self.get_your_reference
|
835
|
+
response = invoke('Debtor_GetYourReference') do |message|
|
836
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
837
|
+
end
|
838
|
+
end
|
839
|
+
|
840
|
+
# Gets a handle for 'our reference' of a debtor.
|
841
|
+
# Parameters: debtorHandle: Handle for the debtor.
|
842
|
+
#
|
843
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
844
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Debtor_GetOurReference
|
845
|
+
# @return [Hash] The body content of the SOAP response.
|
846
|
+
def self.get_our_reference
|
847
|
+
response = invoke('Debtor_GetOurReference') do |message|
|
848
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
849
|
+
end
|
850
|
+
end
|
851
|
+
|
852
|
+
# Sets 'our reference' of a debtor.
|
853
|
+
# Parameters: debtorHandle: Handle for the debtor. valueHandle: Handle for 'our reference' of the debtor.
|
854
|
+
#
|
855
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
856
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Debtor_SetOurReference
|
857
|
+
# @return [Hash] The body content of the SOAP response.
|
858
|
+
def self.set_our_reference
|
859
|
+
response = invoke('Debtor_SetOurReference') do |message|
|
860
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
861
|
+
end
|
862
|
+
end
|
863
|
+
|
864
|
+
# Gets the current balance of the debtor.
|
865
|
+
# Parameters: debtorHandle: Handle for the Debtor.
|
866
|
+
#
|
867
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
868
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Debtor_GetBalance
|
869
|
+
# @return [Hash] The body content of the SOAP response.
|
870
|
+
def self.get_balance
|
871
|
+
response = invoke('Debtor_GetBalance') do |message|
|
872
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
873
|
+
end
|
874
|
+
end
|
875
|
+
|
876
|
+
# Returns the next available debtor number.
|
877
|
+
#
|
878
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
879
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Debtor_GetNextAvailableNumber
|
880
|
+
# @return [Hash] The body content of the SOAP response.
|
881
|
+
def self.get_next_available_number
|
882
|
+
response = invoke('Debtor_GetNextAvailableNumber') do |message|
|
883
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
884
|
+
end
|
885
|
+
end
|
886
|
+
|
887
|
+
# Creates a new debtor.
|
888
|
+
#
|
889
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Debtor_Create
|
890
|
+
# @param number [String] Debtor number
|
891
|
+
# @param debtor_group_handle [String] Debtor group handle
|
892
|
+
# @param name [String] Name of debtor
|
893
|
+
# @param vat_zone [String] "HomeCountry" or "EU" or "Abroad"
|
894
|
+
# @return [String] The created debtor's handle
|
895
|
+
def self.create(number, debtor_group_handle, name, vat_zone)
|
896
|
+
response = invoke('Debtor_Create') do |message|
|
897
|
+
message.add 'number', number
|
898
|
+
message.add 'debtorGroupHandle' do |number|
|
899
|
+
number.add 'Number', debtor_group_handle
|
900
|
+
end
|
901
|
+
message.add 'name', name
|
902
|
+
message.add 'vatZone', vat_zone
|
903
|
+
end
|
904
|
+
|
905
|
+
response.to_hash[:debtor_create_response][:debtor_create_result][:number]
|
906
|
+
end
|
907
|
+
|
908
|
+
# Return handles for all debtors
|
909
|
+
#
|
910
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Debtor_GetAll
|
911
|
+
# @return [Array] List of debtor handles
|
912
|
+
def self.get_all
|
913
|
+
response = invoke('Debtor_GetAll')
|
914
|
+
|
915
|
+
response.find('//dns:Number/text()').to_a.map{|x| x.to_s}
|
916
|
+
end
|
917
|
+
|
918
|
+
# Return handles for all debtors from date. fromDate is based on CET. includeCalculatedProperties is reserved for future usage and should be set to false for now.
|
919
|
+
#
|
920
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
921
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Debtor_GetAllUpdated
|
922
|
+
# @return [Hash] The body content of the SOAP response.
|
923
|
+
def self.get_all_updated
|
924
|
+
response = invoke('Debtor_GetAllUpdated') do |message|
|
925
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
926
|
+
end
|
927
|
+
end
|
928
|
+
|
929
|
+
# Returns handle for debtor with a given number.
|
930
|
+
#
|
931
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
932
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Debtor_FindByNumber
|
933
|
+
# @return [Hash] The body content of the SOAP response.
|
934
|
+
def self.find_by_number
|
935
|
+
response = invoke('Debtor_FindByNumber') do |message|
|
936
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
937
|
+
end
|
938
|
+
end
|
939
|
+
|
940
|
+
# Returns an array with handles for the debtors corresponding to the given debtor numbers. If a debtort with a given number does not exist or if no number is given then the array contains nothing at that index.
|
941
|
+
# Parameters: numbers: The numbers to search for.
|
942
|
+
#
|
943
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
944
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Debtor_FindByNumberList
|
945
|
+
# @return [Hash] The body content of the SOAP response.
|
946
|
+
def self.find_by_number_list
|
947
|
+
response = invoke('Debtor_FindByNumberList') do |message|
|
948
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
949
|
+
end
|
950
|
+
end
|
951
|
+
|
952
|
+
# Returns handles for debtors with a given name.
|
953
|
+
# Parameters: The name to search for.
|
954
|
+
#
|
955
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
956
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Debtor_FindByName
|
957
|
+
# @return [Hash] The body content of the SOAP response.
|
958
|
+
def self.find_by_name
|
959
|
+
response = invoke('Debtor_FindByName') do |message|
|
960
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
961
|
+
end
|
962
|
+
end
|
963
|
+
|
964
|
+
# Returns handles for debtors with a given partial name.
|
965
|
+
# Parameters: The partial name to search for. Asterisks (*) may be used as wildcards.
|
966
|
+
#
|
967
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
968
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Debtor_FindByPartialName
|
969
|
+
# @return [Hash] The body content of the SOAP response.
|
970
|
+
def self.find_by_partial_name
|
971
|
+
response = invoke('Debtor_FindByPartialName') do |message|
|
972
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
973
|
+
end
|
974
|
+
end
|
975
|
+
|
976
|
+
end
|
977
|
+
end
|
978
|
+
end
|