ruconomic 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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,328 @@
|
|
1
|
+
module Ruconomic
|
2
|
+
module API
|
3
|
+
module DebtorContact
|
4
|
+
extend Ruconomic::WebService
|
5
|
+
|
6
|
+
# Creates a new debtor contact from a data object.
|
7
|
+
# Parameters: data: The data object that specifies the properties of the new debtor contact.
|
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=DebtorContact_CreateFromData
|
11
|
+
# @return [Hash] The body content of the SOAP response.
|
12
|
+
def self.create_from_data
|
13
|
+
response = invoke('DebtorContact_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 debtor contacts from data objects.
|
19
|
+
# Parameters: dataArray: The array of data objects that specifies the properties of the new debtor contacts.
|
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=DebtorContact_CreateFromDataArray
|
23
|
+
# @return [Hash] The body content of the SOAP response.
|
24
|
+
def self.create_from_data_array
|
25
|
+
response = invoke('DebtorContact_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 debtor contacts 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=DebtorContact_UpdateFromDataArray
|
35
|
+
# @return [Hash] The body content of the SOAP response.
|
36
|
+
def self.update_from_data_array
|
37
|
+
response = invoke('DebtorContact_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 debtor contact 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=DebtorContact_UpdateFromData
|
47
|
+
# @return [Hash] The body content of the SOAP response.
|
48
|
+
def self.update_from_data
|
49
|
+
response = invoke('DebtorContact_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 debtor contact data object for a given debtor contact.
|
55
|
+
# Parameters: entityHandle: A handle for the debtor contact.
|
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=DebtorContact_GetData
|
59
|
+
# @return [Hash] The body content of the SOAP response.
|
60
|
+
def self.get_data
|
61
|
+
response = invoke('DebtorContact_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 debtor contact data objects for a given set of debtor contact handles.
|
67
|
+
# Parameters: entityHandles: An array of the debtor contact 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=DebtorContact_GetDataArray
|
71
|
+
# @return [Hash] The body content of the SOAP response.
|
72
|
+
def self.get_data_array
|
73
|
+
response = invoke('DebtorContact_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 a handle for the debtor of a debtor contact.
|
79
|
+
# Parameters: debtorContactHandle: Handle for the debtor contact.
|
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=DebtorContact_GetDebtor
|
83
|
+
# @return [Hash] The body content of the SOAP response.
|
84
|
+
def self.get_debtor
|
85
|
+
response = invoke('DebtorContact_GetDebtor') do |message|
|
86
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
87
|
+
end
|
88
|
+
end
|
89
|
+
|
90
|
+
# Sets the name of a debtor contact.
|
91
|
+
# Parameters: debtorContactHandle: Handle for the debtor contact. value: The new name of the debtor contact.
|
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=DebtorContact_SetName
|
95
|
+
# @return [Hash] The body content of the SOAP response.
|
96
|
+
def self.set_name
|
97
|
+
response = invoke('DebtorContact_SetName') do |message|
|
98
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
99
|
+
end
|
100
|
+
end
|
101
|
+
|
102
|
+
# Gets the name of a debtor contact.
|
103
|
+
# Parameters: debtorContactHandle: Handle for the debtor contact.
|
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=DebtorContact_GetName
|
107
|
+
# @return [Hash] The body content of the SOAP response.
|
108
|
+
def self.get_name
|
109
|
+
response = invoke('DebtorContact_GetName') 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 number of a debtor contact.
|
115
|
+
# Parameters: debtorContactHandle: Handle for the debtor contact.
|
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=DebtorContact_GetNumber
|
119
|
+
# @return [Hash] The body content of the SOAP response.
|
120
|
+
def self.get_number
|
121
|
+
response = invoke('DebtorContact_GetNumber') 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 telephone number of a debtor contact.
|
127
|
+
# Parameters: debtorContactHandle: Handle for the debtor contact.
|
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=DebtorContact_GetTelephoneNumber
|
131
|
+
# @return [Hash] The body content of the SOAP response.
|
132
|
+
def self.get_telephone_number
|
133
|
+
response = invoke('DebtorContact_GetTelephoneNumber') 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 telephone number of a debtor contact.
|
139
|
+
# Parameters: debtorContactHandle: Handle for the debtor contact. value: The new telephone number of the debtor contact.
|
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=DebtorContact_SetTelephoneNumber
|
143
|
+
# @return [Hash] The body content of the SOAP response.
|
144
|
+
def self.set_telephone_number
|
145
|
+
response = invoke('DebtorContact_SetTelephoneNumber') 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 the email of a debtor contact.
|
151
|
+
# Parameters: debtorContactHandle: Handle for the debtor contact.
|
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=DebtorContact_GetEmail
|
155
|
+
# @return [Hash] The body content of the SOAP response.
|
156
|
+
def self.get_email
|
157
|
+
response = invoke('DebtorContact_GetEmail') 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 email of a debtor contact.
|
163
|
+
# Parameters: debtorContactHandle: Handle for the debtor contact. value: The new email of the debtor contact.
|
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=DebtorContact_SetEmail
|
167
|
+
# @return [Hash] The body content of the SOAP response.
|
168
|
+
def self.set_email
|
169
|
+
response = invoke('DebtorContact_SetEmail') 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
|
+
# Sets the comments of a debtor contact.
|
175
|
+
# Parameters: debtorContactHandle: Handle for the debtor contact. value: The new comments of the debtor contact.
|
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=DebtorContact_SetComments
|
179
|
+
# @return [Hash] The body content of the SOAP response.
|
180
|
+
def self.set_comments
|
181
|
+
response = invoke('DebtorContact_SetComments') 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 the comments of a debtor contact.
|
187
|
+
# Parameters: debtorContactHandle: Handle for the debtor contact.
|
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=DebtorContact_GetComments
|
191
|
+
# @return [Hash] The body content of the SOAP response.
|
192
|
+
def self.get_comments
|
193
|
+
response = invoke('DebtorContact_GetComments') do |message|
|
194
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
195
|
+
end
|
196
|
+
end
|
197
|
+
|
198
|
+
# Gets the external ID of a debtor contact.
|
199
|
+
# Parameters: debtorContactHandle: Handle for the debtor contact.
|
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=DebtorContact_GetExternalId
|
203
|
+
# @return [Hash] The body content of the SOAP response.
|
204
|
+
def self.get_external_id
|
205
|
+
response = invoke('DebtorContact_GetExternalId') 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 the external ID of a debtor contact.
|
211
|
+
# Parameters: debtorContactHandle: Handle for the debtor contact. value: The new external ID of the debtor contact.
|
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=DebtorContact_SetExternalId
|
215
|
+
# @return [Hash] The body content of the SOAP response.
|
216
|
+
def self.set_external_id
|
217
|
+
response = invoke('DebtorContact_SetExternalId') 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
|
+
# Sets whether the debtor contact is to receive a copy of orders by email.
|
223
|
+
# Parameters: debtorContactHandle: Handle for the debtor contact. value: The new value indicating whether the debtor contact is to receive a copy of orders by email.
|
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=DebtorContact_SetIsToReceiveEmailCopyOfOrder
|
227
|
+
# @return [Hash] The body content of the SOAP response.
|
228
|
+
def self.set_is_to_receive_email_copy_of_order
|
229
|
+
response = invoke('DebtorContact_SetIsToReceiveEmailCopyOfOrder') 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 whether the debtor contact is to receive a copy of orders by email.
|
235
|
+
# Parameters: debtorContactHandle: Handle for the debtor contact.
|
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=DebtorContact_GetIsToReceiveEmailCopyOfOrder
|
239
|
+
# @return [Hash] The body content of the SOAP response.
|
240
|
+
def self.get_is_to_receive_email_copy_of_order
|
241
|
+
response = invoke('DebtorContact_GetIsToReceiveEmailCopyOfOrder') 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
|
+
# Gets whether the debtor contact is to receive a copy of invoices by email.
|
247
|
+
# Parameters: debtorContactHandle: Handle for the debtor contact.
|
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=DebtorContact_GetIsToReceiveEmailCopyOfInvoice
|
251
|
+
# @return [Hash] The body content of the SOAP response.
|
252
|
+
def self.get_is_to_receive_email_copy_of_invoice
|
253
|
+
response = invoke('DebtorContact_GetIsToReceiveEmailCopyOfInvoice') 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 whether the debtor contact is to receive a copy of invoices by email.
|
259
|
+
# Parameters: debtorContactHandle: Handle for the debtor contact. value: The new value indicating whether the debtor contact is to receive a copy of invoices by email.
|
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=DebtorContact_SetIsToReceiveEmailCopyOfInvoice
|
263
|
+
# @return [Hash] The body content of the SOAP response.
|
264
|
+
def self.set_is_to_receive_email_copy_of_invoice
|
265
|
+
response = invoke('DebtorContact_SetIsToReceiveEmailCopyOfInvoice') 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
|
+
# Creates a new debtor contact.
|
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=DebtorContact_Create
|
274
|
+
# @return [Hash] The body content of the SOAP response.
|
275
|
+
def self.create
|
276
|
+
response = invoke('DebtorContact_Create') 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 handles for all debtor contacts.
|
282
|
+
#
|
283
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
284
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=DebtorContact_GetAll
|
285
|
+
# @return [Hash] The body content of the SOAP response.
|
286
|
+
def self.get_all
|
287
|
+
response = invoke('DebtorContact_GetAll') do |message|
|
288
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
289
|
+
end
|
290
|
+
end
|
291
|
+
|
292
|
+
# Returns handles for debtor contacts with a given name.
|
293
|
+
#
|
294
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
295
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=DebtorContact_FindByName
|
296
|
+
# @return [Hash] The body content of the SOAP response.
|
297
|
+
def self.find_by_name
|
298
|
+
response = invoke('DebtorContact_FindByName') do |message|
|
299
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
300
|
+
end
|
301
|
+
end
|
302
|
+
|
303
|
+
# Returns handles for debtor contacts with a external ID.
|
304
|
+
#
|
305
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
306
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=DebtorContact_FindByExternalId
|
307
|
+
# @return [Hash] The body content of the SOAP response.
|
308
|
+
def self.find_by_external_id
|
309
|
+
response = invoke('DebtorContact_FindByExternalId') do |message|
|
310
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
311
|
+
end
|
312
|
+
end
|
313
|
+
|
314
|
+
# Deletes adebtor contact.
|
315
|
+
# Parameters: debtorContactHandle: Handle for the debtor contact.
|
316
|
+
#
|
317
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
318
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=DebtorContact_Delete
|
319
|
+
# @return [Hash] The body content of the SOAP response.
|
320
|
+
def self.delete
|
321
|
+
response = invoke('DebtorContact_Delete') do |message|
|
322
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
323
|
+
end
|
324
|
+
end
|
325
|
+
|
326
|
+
end
|
327
|
+
end
|
328
|
+
end
|
@@ -0,0 +1,223 @@
|
|
1
|
+
module Ruconomic
|
2
|
+
module API
|
3
|
+
module DebtorEntry
|
4
|
+
extend Ruconomic::WebService
|
5
|
+
|
6
|
+
# Returns a debtor entry data object for a given debtor entry.
|
7
|
+
# Parameters: entityHandle: A handle for the debtor entry.
|
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=DebtorEntry_GetData
|
11
|
+
# @return [Hash] The body content of the SOAP response.
|
12
|
+
def self.get_data
|
13
|
+
response = invoke('DebtorEntry_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 debtor entry data objects for a given set of debtor entry handles.
|
19
|
+
# Parameters: entityHandles: An array of the debtor entry 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=DebtorEntry_GetDataArray
|
23
|
+
# @return [Hash] The body content of the SOAP response.
|
24
|
+
def self.get_data_array
|
25
|
+
response = invoke('DebtorEntry_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
|
+
# Gets the number of the debtor entry.
|
31
|
+
# Parameters: debtorentryHandle: Handle for the debtor entry.
|
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=DebtorEntry_GetSerialNumber
|
35
|
+
# @return [Hash] The body content of the SOAP response.
|
36
|
+
def self.get_serial_number
|
37
|
+
response = invoke('DebtorEntry_GetSerialNumber') do |message|
|
38
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
# Gets the entry type of the debtor entry.
|
43
|
+
#
|
44
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
45
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=DebtorEntry_GetType
|
46
|
+
# @return [Hash] The body content of the SOAP response.
|
47
|
+
def self.get_type
|
48
|
+
response = invoke('DebtorEntry_GetType') do |message|
|
49
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
# Gets the date of the debtor entry.
|
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=DebtorEntry_GetDate
|
57
|
+
# @return [Hash] The body content of the SOAP response.
|
58
|
+
def self.get_date
|
59
|
+
response = invoke('DebtorEntry_GetDate') 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
|
+
# Gets the debtor of the debtor entry.
|
65
|
+
#
|
66
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
67
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=DebtorEntry_GetDebtor
|
68
|
+
# @return [Hash] The body content of the SOAP response.
|
69
|
+
def self.get_debtor
|
70
|
+
response = invoke('DebtorEntry_GetDebtor') do |message|
|
71
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
72
|
+
end
|
73
|
+
end
|
74
|
+
|
75
|
+
# Gets the account of the debtor entry.
|
76
|
+
#
|
77
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
78
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=DebtorEntry_GetAccount
|
79
|
+
# @return [Hash] The body content of the SOAP response.
|
80
|
+
def self.get_account
|
81
|
+
response = invoke('DebtorEntry_GetAccount') do |message|
|
82
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
83
|
+
end
|
84
|
+
end
|
85
|
+
|
86
|
+
# Gets the voucher number of the debtor entry.
|
87
|
+
#
|
88
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
89
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=DebtorEntry_GetVoucherNumber
|
90
|
+
# @return [Hash] The body content of the SOAP response.
|
91
|
+
def self.get_voucher_number
|
92
|
+
response = invoke('DebtorEntry_GetVoucherNumber') do |message|
|
93
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
94
|
+
end
|
95
|
+
end
|
96
|
+
|
97
|
+
# Gets the text of the debtor entry.
|
98
|
+
#
|
99
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
100
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=DebtorEntry_GetText
|
101
|
+
# @return [Hash] The body content of the SOAP response.
|
102
|
+
def self.get_text
|
103
|
+
response = invoke('DebtorEntry_GetText') do |message|
|
104
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
105
|
+
end
|
106
|
+
end
|
107
|
+
|
108
|
+
# Gets the amount of the debtor entry in the default currency.
|
109
|
+
#
|
110
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
111
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=DebtorEntry_GetAmountDefaultCurrency
|
112
|
+
# @return [Hash] The body content of the SOAP response.
|
113
|
+
def self.get_amount_default_currency
|
114
|
+
response = invoke('DebtorEntry_GetAmountDefaultCurrency') do |message|
|
115
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
116
|
+
end
|
117
|
+
end
|
118
|
+
|
119
|
+
# Gets the currency of the debtor entry.
|
120
|
+
#
|
121
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
122
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=DebtorEntry_GetCurrency
|
123
|
+
# @return [Hash] The body content of the SOAP response.
|
124
|
+
def self.get_currency
|
125
|
+
response = invoke('DebtorEntry_GetCurrency') do |message|
|
126
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
127
|
+
end
|
128
|
+
end
|
129
|
+
|
130
|
+
# Gets the currency amount of the debtor entry.
|
131
|
+
#
|
132
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
133
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=DebtorEntry_GetAmount
|
134
|
+
# @return [Hash] The body content of the SOAP response.
|
135
|
+
def self.get_amount
|
136
|
+
response = invoke('DebtorEntry_GetAmount') do |message|
|
137
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
138
|
+
end
|
139
|
+
end
|
140
|
+
|
141
|
+
# Gets the invoice number of the debtor entry.
|
142
|
+
#
|
143
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
144
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=DebtorEntry_GetInvoiceNumber
|
145
|
+
# @return [Hash] The body content of the SOAP response.
|
146
|
+
def self.get_invoice_number
|
147
|
+
response = invoke('DebtorEntry_GetInvoiceNumber') do |message|
|
148
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
149
|
+
end
|
150
|
+
end
|
151
|
+
|
152
|
+
# Gets the due date of the debtor entry.
|
153
|
+
#
|
154
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
155
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=DebtorEntry_GetDueDate
|
156
|
+
# @return [Hash] The body content of the SOAP response.
|
157
|
+
def self.get_due_date
|
158
|
+
response = invoke('DebtorEntry_GetDueDate') do |message|
|
159
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
160
|
+
end
|
161
|
+
end
|
162
|
+
|
163
|
+
# Gets the currency remainder of the debtor entry.
|
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=DebtorEntry_GetRemainder
|
167
|
+
# @return [Hash] The body content of the SOAP response.
|
168
|
+
def self.get_remainder
|
169
|
+
response = invoke('DebtorEntry_GetRemainder') 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 remainder of the debtor entry in the default currency.
|
175
|
+
#
|
176
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
177
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=DebtorEntry_GetRemainderDefaultCurrency
|
178
|
+
# @return [Hash] The body content of the SOAP response.
|
179
|
+
def self.get_remainder_default_currency
|
180
|
+
response = invoke('DebtorEntry_GetRemainderDefaultCurrency') do |message|
|
181
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
182
|
+
end
|
183
|
+
end
|
184
|
+
|
185
|
+
# Returns an array of handles for the debtor entries with numbers in the given interval.
|
186
|
+
# Parameters: from: The beginning of the interval. to: the end of the interval.
|
187
|
+
#
|
188
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
189
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=DebtorEntry_FindBySerialNumber
|
190
|
+
# @return [Hash] The body content of the SOAP response.
|
191
|
+
def self.find_by_serial_number
|
192
|
+
response = invoke('DebtorEntry_FindBySerialNumber') do |message|
|
193
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
194
|
+
end
|
195
|
+
end
|
196
|
+
|
197
|
+
# Returns handles for debtor entries for a given invoice number interval.
|
198
|
+
# Parameters: from: The minimum invoice number to search for. to: The maximum invoice number to search for.
|
199
|
+
#
|
200
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
201
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=DebtorEntry_FindByInvoiceNumber
|
202
|
+
# @return [Hash] The body content of the SOAP response.
|
203
|
+
def self.find_by_invoice_number
|
204
|
+
response = invoke('DebtorEntry_FindByInvoiceNumber') do |message|
|
205
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
206
|
+
end
|
207
|
+
end
|
208
|
+
|
209
|
+
# Matches the entries passed to the function. No return value.
|
210
|
+
# Parameters: entries: The debtor entries to be matched.
|
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=DebtorEntry_MatchEntries
|
214
|
+
# @return [Hash] The body content of the SOAP response.
|
215
|
+
def self.match_entries
|
216
|
+
response = invoke('DebtorEntry_MatchEntries') 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
|
+
end
|
222
|
+
end
|
223
|
+
end
|