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,232 @@
|
|
1
|
+
module Ruconomic
|
2
|
+
module API
|
3
|
+
module DebtorGroup
|
4
|
+
extend Ruconomic::WebService
|
5
|
+
|
6
|
+
# Creates a new debtor group from a data object.
|
7
|
+
# Parameters: data: The data object that specifies the properties of the new debtor group.
|
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=DebtorGroup_CreateFromData
|
11
|
+
# @return [Hash] The body content of the SOAP response.
|
12
|
+
def self.create_from_data
|
13
|
+
response = invoke('DebtorGroup_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 groups from data objects.
|
19
|
+
# Parameters: dataArray: The array of data objects that specifies the properties of the new debtor groups.
|
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=DebtorGroup_CreateFromDataArray
|
23
|
+
# @return [Hash] The body content of the SOAP response.
|
24
|
+
def self.create_from_data_array
|
25
|
+
response = invoke('DebtorGroup_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 groups 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=DebtorGroup_UpdateFromDataArray
|
35
|
+
# @return [Hash] The body content of the SOAP response.
|
36
|
+
def self.update_from_data_array
|
37
|
+
response = invoke('DebtorGroup_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 group 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=DebtorGroup_UpdateFromData
|
47
|
+
# @return [Hash] The body content of the SOAP response.
|
48
|
+
def self.update_from_data
|
49
|
+
response = invoke('DebtorGroup_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 group data object for a given debtor group.
|
55
|
+
# Parameters: entityHandle: A handle for the debtor group.
|
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=DebtorGroup_GetData
|
59
|
+
# @return [Hash] The body content of the SOAP response.
|
60
|
+
def self.get_data
|
61
|
+
response = invoke('DebtorGroup_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 group data objects for a given set of debtor group handles.
|
67
|
+
# Parameters: entityHandles: An array of the debtor group 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=DebtorGroup_GetDataArray
|
71
|
+
# @return [Hash] The body content of the SOAP response.
|
72
|
+
def self.get_data_array
|
73
|
+
response = invoke('DebtorGroup_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
|
+
# Get the number of a debtor group.
|
79
|
+
# Parameters: debtorGroupHandle: Handle for the debtor group.
|
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=DebtorGroup_GetNumber
|
83
|
+
# @return [Hash] The body content of the SOAP response.
|
84
|
+
def self.get_number
|
85
|
+
response = invoke('DebtorGroup_GetNumber') do |message|
|
86
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
87
|
+
end
|
88
|
+
end
|
89
|
+
|
90
|
+
# Get the name of a debtor group.
|
91
|
+
# Parameters: debtorGroupHandle: Handle for the debtor group.
|
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=DebtorGroup_GetName
|
95
|
+
# @return [Hash] The body content of the SOAP response.
|
96
|
+
def self.get_name
|
97
|
+
response = invoke('DebtorGroup_GetName') do |message|
|
98
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
99
|
+
end
|
100
|
+
end
|
101
|
+
|
102
|
+
# Set the name of a debtor group.
|
103
|
+
# Parameters: debtorGroupHandle: Handle for the debtor group. value: The new name of the debtor group.
|
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=DebtorGroup_SetName
|
107
|
+
# @return [Hash] The body content of the SOAP response.
|
108
|
+
def self.set_name
|
109
|
+
response = invoke('DebtorGroup_SetName') do |message|
|
110
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
111
|
+
end
|
112
|
+
end
|
113
|
+
|
114
|
+
# Sets the layout of a debtor group. The value may be omitted.
|
115
|
+
# Parameters: debtorGroupHandle: Handle for the debtor group. valueHandle: Handle for new layout of a debtor group.
|
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=DebtorGroup_SetLayout
|
119
|
+
# @return [Hash] The body content of the SOAP response.
|
120
|
+
def self.set_layout
|
121
|
+
response = invoke('DebtorGroup_SetLayout') 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 a handle for the layout of a debtor group.
|
127
|
+
# Parameters: debtorGroupHandle: Handle for the debtor group.
|
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=DebtorGroup_GetLayout
|
131
|
+
# @return [Hash] The body content of the SOAP response.
|
132
|
+
def self.get_layout
|
133
|
+
response = invoke('DebtorGroup_GetLayout') 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
|
+
# Get handle for account of a debtor group.
|
139
|
+
# Parameters: debtorGroupHandle: Handle for the debtor group.
|
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=DebtorGroup_GetAccount
|
143
|
+
# @return [Hash] The body content of the SOAP response.
|
144
|
+
def self.get_account
|
145
|
+
response = invoke('DebtorGroup_GetAccount') 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
|
+
# Set the account of a debtor group.
|
151
|
+
# Parameters: debtorGroupHandle: Handle for the debtor group. valueHandle: New handle for new account of the debtor group.
|
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=DebtorGroup_SetAccount
|
155
|
+
# @return [Hash] The body content of the SOAP response.
|
156
|
+
def self.set_account
|
157
|
+
response = invoke('DebtorGroup_SetAccount') 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
|
+
# Creates a new debtor group.
|
163
|
+
#
|
164
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
165
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=DebtorGroup_Create
|
166
|
+
# @return [Hash] The body content of the SOAP response.
|
167
|
+
def self.create
|
168
|
+
response = invoke('DebtorGroup_Create') do |message|
|
169
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
170
|
+
end
|
171
|
+
end
|
172
|
+
|
173
|
+
# Returns handles for all debtor groups.
|
174
|
+
#
|
175
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
176
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=DebtorGroup_GetAll
|
177
|
+
# @return [Hash] The body content of the SOAP response.
|
178
|
+
def self.get_all
|
179
|
+
response = invoke('DebtorGroup_GetAll') do |message|
|
180
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
181
|
+
end
|
182
|
+
end
|
183
|
+
|
184
|
+
# Returns handles for the debtor group with a given number.
|
185
|
+
#
|
186
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
187
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=DebtorGroup_FindByNumber
|
188
|
+
# @return [Hash] The body content of the SOAP response.
|
189
|
+
def self.find_by_number
|
190
|
+
response = invoke('DebtorGroup_FindByNumber') do |message|
|
191
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
192
|
+
end
|
193
|
+
end
|
194
|
+
|
195
|
+
# Returns an array with handles for the debtor groups corresponding to the given debtor group numbers. If a debtor group with a given number does not exist then the array contains nothing at that index.
|
196
|
+
# Parameters: numbers: The numbers to search for.
|
197
|
+
#
|
198
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
199
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=DebtorGroup_FindByNumberList
|
200
|
+
# @return [Hash] The body content of the SOAP response.
|
201
|
+
def self.find_by_number_list
|
202
|
+
response = invoke('DebtorGroup_FindByNumberList') do |message|
|
203
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
204
|
+
end
|
205
|
+
end
|
206
|
+
|
207
|
+
# Returns handles for all debtor groups with a given name.
|
208
|
+
#
|
209
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
210
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=DebtorGroup_FindByName
|
211
|
+
# @return [Hash] The body content of the SOAP response.
|
212
|
+
def self.find_by_name
|
213
|
+
response = invoke('DebtorGroup_FindByName') do |message|
|
214
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
215
|
+
end
|
216
|
+
end
|
217
|
+
|
218
|
+
# Gets handles for debtors of a debtor group.
|
219
|
+
# Parameters: debtorGroupHandle: Handle for the debtor group.
|
220
|
+
#
|
221
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
222
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=DebtorGroup_GetDebtors
|
223
|
+
# @return [Hash] The body content of the SOAP response.
|
224
|
+
def self.get_debtors
|
225
|
+
response = invoke('DebtorGroup_GetDebtors') do |message|
|
226
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
227
|
+
end
|
228
|
+
end
|
229
|
+
|
230
|
+
end
|
231
|
+
end
|
232
|
+
end
|
@@ -0,0 +1,341 @@
|
|
1
|
+
module Ruconomic
|
2
|
+
module API
|
3
|
+
module DeliveryLocation
|
4
|
+
extend Ruconomic::WebService
|
5
|
+
|
6
|
+
# Gets a handle for the debtor of a delivery location.
|
7
|
+
# Parameters: deliveryLocationHandle: Handle for the delivery location.
|
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=DeliveryLocation_GetDebtor
|
11
|
+
# @return [Hash] The body content of the SOAP response.
|
12
|
+
def self.get_debtor
|
13
|
+
response = invoke('DeliveryLocation_GetDebtor') do |message|
|
14
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
# Gets the number of a delivery location.
|
19
|
+
# Parameters: deliveryLocationHandle: Handle for the delivery location.
|
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=DeliveryLocation_GetNumber
|
23
|
+
# @return [Hash] The body content of the SOAP response.
|
24
|
+
def self.get_number
|
25
|
+
response = invoke('DeliveryLocation_GetNumber') 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 address of a delivery location.
|
31
|
+
# Parameters: deliveryLocationHandle: Handle for the delivery location.
|
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=DeliveryLocation_GetAddress
|
35
|
+
# @return [Hash] The body content of the SOAP response.
|
36
|
+
def self.get_address
|
37
|
+
response = invoke('DeliveryLocation_GetAddress') do |message|
|
38
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
# Sets the address of a delivery location.
|
43
|
+
# Parameters: deliveryLocationHandle: Handle for the delivery location. value: The new address of the delivery location.
|
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=DeliveryLocation_SetAddress
|
47
|
+
# @return [Hash] The body content of the SOAP response.
|
48
|
+
def self.set_address
|
49
|
+
response = invoke('DeliveryLocation_SetAddress') do |message|
|
50
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
# Gets the postal code of a delivery location.
|
55
|
+
# Parameters: deliveryLocationHandle: Handle for the delivery location.
|
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=DeliveryLocation_GetPostalCode
|
59
|
+
# @return [Hash] The body content of the SOAP response.
|
60
|
+
def self.get_postal_code
|
61
|
+
response = invoke('DeliveryLocation_GetPostalCode') do |message|
|
62
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
63
|
+
end
|
64
|
+
end
|
65
|
+
|
66
|
+
# Sets the postal code of a delivery location.
|
67
|
+
# Parameters: deliveryLocationHandle: Handle for the delivery location. value: The new postal code of the delivery location.
|
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=DeliveryLocation_SetPostalCode
|
71
|
+
# @return [Hash] The body content of the SOAP response.
|
72
|
+
def self.set_postal_code
|
73
|
+
response = invoke('DeliveryLocation_SetPostalCode') do |message|
|
74
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
75
|
+
end
|
76
|
+
end
|
77
|
+
|
78
|
+
# Gets the city of a delivery location.
|
79
|
+
# Parameters: deliveryLocationHandle: Handle for the delivery location.
|
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=DeliveryLocation_GetCity
|
83
|
+
# @return [Hash] The body content of the SOAP response.
|
84
|
+
def self.get_city
|
85
|
+
response = invoke('DeliveryLocation_GetCity') 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 city of a delivery location.
|
91
|
+
# Parameters: deliveryLocationHandle: Handle for the delivery location. value: The new city of the delivery location.
|
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=DeliveryLocation_SetCity
|
95
|
+
# @return [Hash] The body content of the SOAP response.
|
96
|
+
def self.set_city
|
97
|
+
response = invoke('DeliveryLocation_SetCity') do |message|
|
98
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
99
|
+
end
|
100
|
+
end
|
101
|
+
|
102
|
+
# Sets the country of a delivery location.
|
103
|
+
# Parameters: deliveryLocationHandle: Handle for the delivery location. value: The new country of the delivery location.
|
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=DeliveryLocation_SetCountry
|
107
|
+
# @return [Hash] The body content of the SOAP response.
|
108
|
+
def self.set_country
|
109
|
+
response = invoke('DeliveryLocation_SetCountry') 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 country of a delivery location.
|
115
|
+
# Parameters: deliveryLocationHandle: Handle for the delivery location.
|
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=DeliveryLocation_GetCountry
|
119
|
+
# @return [Hash] The body content of the SOAP response.
|
120
|
+
def self.get_country
|
121
|
+
response = invoke('DeliveryLocation_GetCountry') do |message|
|
122
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
123
|
+
end
|
124
|
+
end
|
125
|
+
|
126
|
+
# Sets the terms of delivery of a delivery location.
|
127
|
+
# Parameters: deliveryLocationHandle: Handle for the delivery location. value: The new terms of delivery of the delivery location.
|
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=DeliveryLocation_SetTermsOfDelivery
|
131
|
+
# @return [Hash] The body content of the SOAP response.
|
132
|
+
def self.set_terms_of_delivery
|
133
|
+
response = invoke('DeliveryLocation_SetTermsOfDelivery') do |message|
|
134
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
135
|
+
end
|
136
|
+
end
|
137
|
+
|
138
|
+
# Gets the terms of delivery of a delivery location.
|
139
|
+
# Parameters: deliveryLocationHandle: Handle for the delivery location.
|
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=DeliveryLocation_GetTermsOfDelivery
|
143
|
+
# @return [Hash] The body content of the SOAP response.
|
144
|
+
def self.get_terms_of_delivery
|
145
|
+
response = invoke('DeliveryLocation_GetTermsOfDelivery') 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 whether a delivery location is accessible.
|
151
|
+
# Parameters: deliveryLocationHandle: Handle for the delivery location.
|
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=DeliveryLocation_GetIsAccessible
|
155
|
+
# @return [Hash] The body content of the SOAP response.
|
156
|
+
def self.get_is_accessible
|
157
|
+
response = invoke('DeliveryLocation_GetIsAccessible') 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 whether a delivery location is accessible.
|
163
|
+
# Parameters: deliveryLocationHandle: Handle for the delivery location. value: Value that indicates whether the delivery location should be accessible.
|
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=DeliveryLocation_SetIsAccessible
|
167
|
+
# @return [Hash] The body content of the SOAP response.
|
168
|
+
def self.set_is_accessible
|
169
|
+
response = invoke('DeliveryLocation_SetIsAccessible') 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 external ID of a delivery location.
|
175
|
+
# Parameters: deliveryLocationHandle: Handle for the delivery location.
|
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=DeliveryLocation_GetExternalId
|
179
|
+
# @return [Hash] The body content of the SOAP response.
|
180
|
+
def self.get_external_id
|
181
|
+
response = invoke('DeliveryLocation_GetExternalId') 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
|
+
# Sets the external ID of a delivery location.
|
187
|
+
# Parameters: deliveryLocationHandle: Handle for the delivery location. value: The new external ID of the delivery location.
|
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=DeliveryLocation_SetExternalId
|
191
|
+
# @return [Hash] The body content of the SOAP response.
|
192
|
+
def self.set_external_id
|
193
|
+
response = invoke('DeliveryLocation_SetExternalId') 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 County of a delivery location. (UK only)
|
199
|
+
# Parameters: deliveryLocationHandle: Handle for the deliveryLocation.
|
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=DeliveryLocation_GetCounty
|
203
|
+
# @return [Hash] The body content of the SOAP response.
|
204
|
+
def self.get_county
|
205
|
+
response = invoke('DeliveryLocation_GetCounty') 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 County of a delivery location. (UK only)
|
211
|
+
# Parameters: deliveryLocationHandle: Handle for the deliveryLocation. value: The new County of the deliveryLocation.
|
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=DeliveryLocation_SetCounty
|
215
|
+
# @return [Hash] The body content of the SOAP response.
|
216
|
+
def self.set_county
|
217
|
+
response = invoke('DeliveryLocation_SetCounty') 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
|
+
# Creates a new delivery location.
|
223
|
+
#
|
224
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
225
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=DeliveryLocation_Create
|
226
|
+
# @return [Hash] The body content of the SOAP response.
|
227
|
+
def self.create
|
228
|
+
response = invoke('DeliveryLocation_Create') do |message|
|
229
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
230
|
+
end
|
231
|
+
end
|
232
|
+
|
233
|
+
# Returns handles for all delivery locations.
|
234
|
+
#
|
235
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
236
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=DeliveryLocation_GetAll
|
237
|
+
# @return [Hash] The body content of the SOAP response.
|
238
|
+
def self.get_all
|
239
|
+
response = invoke('DeliveryLocation_GetAll') do |message|
|
240
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
241
|
+
end
|
242
|
+
end
|
243
|
+
|
244
|
+
# Returns handles for all delivery location with a given external ID.
|
245
|
+
# Parameters: externalId: The external ID to search for.
|
246
|
+
#
|
247
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
248
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=DeliveryLocation_FindByExternalId
|
249
|
+
# @return [Hash] The body content of the SOAP response.
|
250
|
+
def self.find_by_external_id
|
251
|
+
response = invoke('DeliveryLocation_FindByExternalId') do |message|
|
252
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
253
|
+
end
|
254
|
+
end
|
255
|
+
|
256
|
+
# Deletes a delivery location
|
257
|
+
#
|
258
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
259
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=DeliveryLocation_Delete
|
260
|
+
# @return [Hash] The body content of the SOAP response.
|
261
|
+
def self.delete
|
262
|
+
response = invoke('DeliveryLocation_Delete') do |message|
|
263
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
264
|
+
end
|
265
|
+
end
|
266
|
+
|
267
|
+
# Creates a new delivery location contact from a data object.
|
268
|
+
# Parameters: data: The data object that specifies the properties of the new delivery location.
|
269
|
+
#
|
270
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
271
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=DeliveryLocation_CreateFromData
|
272
|
+
# @return [Hash] The body content of the SOAP response.
|
273
|
+
def self.create_from_data
|
274
|
+
response = invoke('DeliveryLocation_CreateFromData') do |message|
|
275
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
276
|
+
end
|
277
|
+
end
|
278
|
+
|
279
|
+
# Creates new delivery locations from data objects.
|
280
|
+
# Parameters: dataArray: The array of data objects that specifies the properties of the new delivery locations.
|
281
|
+
#
|
282
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
283
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=DeliveryLocation_CreateFromDataArray
|
284
|
+
# @return [Hash] The body content of the SOAP response.
|
285
|
+
def self.create_from_data_array
|
286
|
+
response = invoke('DeliveryLocation_CreateFromDataArray') do |message|
|
287
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
288
|
+
end
|
289
|
+
end
|
290
|
+
|
291
|
+
# Update delivery locations from data objects.
|
292
|
+
# Parameters: dataArray: The array of data objects.
|
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=DeliveryLocation_UpdateFromDataArray
|
296
|
+
# @return [Hash] The body content of the SOAP response.
|
297
|
+
def self.update_from_data_array
|
298
|
+
response = invoke('DeliveryLocation_UpdateFromDataArray') 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
|
+
# Updates a delivery location from a data object.
|
304
|
+
# Parameters: data: The data object.
|
305
|
+
#
|
306
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
307
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=DeliveryLocation_UpdateFromData
|
308
|
+
# @return [Hash] The body content of the SOAP response.
|
309
|
+
def self.update_from_data
|
310
|
+
response = invoke('DeliveryLocation_UpdateFromData') do |message|
|
311
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
312
|
+
end
|
313
|
+
end
|
314
|
+
|
315
|
+
# Returns a delivery location data object for a given delivery location.
|
316
|
+
# Parameters: entityHandle: A handle for the delivery location.
|
317
|
+
#
|
318
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
319
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=DeliveryLocation_GetData
|
320
|
+
# @return [Hash] The body content of the SOAP response.
|
321
|
+
def self.get_data
|
322
|
+
response = invoke('DeliveryLocation_GetData') do |message|
|
323
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
324
|
+
end
|
325
|
+
end
|
326
|
+
|
327
|
+
# Returns delivery location data objects for a given set of delivery location handles.
|
328
|
+
# Parameters: entityHandles: An array of the delivery location handles.
|
329
|
+
#
|
330
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
331
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=DeliveryLocation_GetDataArray
|
332
|
+
# @return [Hash] The body content of the SOAP response.
|
333
|
+
def self.get_data_array
|
334
|
+
response = invoke('DeliveryLocation_GetDataArray') do |message|
|
335
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
336
|
+
end
|
337
|
+
end
|
338
|
+
|
339
|
+
end
|
340
|
+
end
|
341
|
+
end
|