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,271 @@
|
|
1
|
+
module Ruconomic
|
2
|
+
module API
|
3
|
+
module ProductGroup
|
4
|
+
extend Ruconomic::WebService
|
5
|
+
|
6
|
+
# Creates a new product group from a data object.
|
7
|
+
# Parameters: data: The data object that specifies the properties of the new product 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=ProductGroup_CreateFromData
|
11
|
+
# @return [Hash] The body content of the SOAP response.
|
12
|
+
def self.create_from_data
|
13
|
+
response = invoke('ProductGroup_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 product groups from data objects.
|
19
|
+
# Parameters: dataArray: The array of data objects that specifies the properties of the new product 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=ProductGroup_CreateFromDataArray
|
23
|
+
# @return [Hash] The body content of the SOAP response.
|
24
|
+
def self.create_from_data_array
|
25
|
+
response = invoke('ProductGroup_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 product 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=ProductGroup_UpdateFromDataArray
|
35
|
+
# @return [Hash] The body content of the SOAP response.
|
36
|
+
def self.update_from_data_array
|
37
|
+
response = invoke('ProductGroup_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 product 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=ProductGroup_UpdateFromData
|
47
|
+
# @return [Hash] The body content of the SOAP response.
|
48
|
+
def self.update_from_data
|
49
|
+
response = invoke('ProductGroup_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 an product group data object for a given product group.
|
55
|
+
# Parameters: entityHandle: A handle for the product 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=ProductGroup_GetData
|
59
|
+
# @return [Hash] The body content of the SOAP response.
|
60
|
+
def self.get_data
|
61
|
+
response = invoke('ProductGroup_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 product group data objects for a given set of product group handles.
|
67
|
+
# Parameters: entityHandles: An array of the product 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=ProductGroup_GetDataArray
|
71
|
+
# @return [Hash] The body content of the SOAP response.
|
72
|
+
def self.get_data_array
|
73
|
+
response = invoke('ProductGroup_GetDataArray') do |message|
|
74
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
75
|
+
end
|
76
|
+
end
|
77
|
+
|
78
|
+
# Gets the number of a product group.
|
79
|
+
# Parameters: productGroupHandle: Handle for the product 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=ProductGroup_GetNumber
|
83
|
+
# @return [Hash] The body content of the SOAP response.
|
84
|
+
def self.get_number
|
85
|
+
response = invoke('ProductGroup_GetNumber') do |message|
|
86
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
87
|
+
end
|
88
|
+
end
|
89
|
+
|
90
|
+
# Gets the name of a product group.
|
91
|
+
# Parameters: productGroupHandle: Handle for the product 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=ProductGroup_GetName
|
95
|
+
# @return [Hash] The body content of the SOAP response.
|
96
|
+
def self.get_name
|
97
|
+
response = invoke('ProductGroup_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
|
+
# Sets the name of a product group.
|
103
|
+
# Parameters: productGroupHandle: Handle for the product group. value: The new name of the product 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=ProductGroup_SetName
|
107
|
+
# @return [Hash] The body content of the SOAP response.
|
108
|
+
def self.set_name
|
109
|
+
response = invoke('ProductGroup_SetName') do |message|
|
110
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
111
|
+
end
|
112
|
+
end
|
113
|
+
|
114
|
+
# Gets a handle for the account to use for products of the product group on invoices for VAT liable debtors.
|
115
|
+
# Parameters: productGroupHandle: Handle for the product 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=ProductGroup_GetAccountForVatLiableDebtorInvoicesCurrent
|
119
|
+
# @return [Hash] The body content of the SOAP response.
|
120
|
+
def self.get_account_for_vat_liable_debtor_invoices_current
|
121
|
+
response = invoke('ProductGroup_GetAccountForVatLiableDebtorInvoicesCurrent') 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 the account to use for products of the product group on invoices for VAT liable debtors.
|
127
|
+
# Parameters: productGroupHandle: Handle for the product group. valueHandle: Handle for account.
|
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=ProductGroup_SetAccountForVatLiableDebtorInvoicesCurrent
|
131
|
+
# @return [Hash] The body content of the SOAP response.
|
132
|
+
def self.set_account_for_vat_liable_debtor_invoices_current
|
133
|
+
response = invoke('ProductGroup_SetAccountForVatLiableDebtorInvoicesCurrent') 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 a handle for the account to use for products of the product group on invoices for VAT exempt debtors.
|
139
|
+
# Parameters: productGroupHandle: Handle for the product 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=ProductGroup_GetAccountForVatExemptDebtorInvoicesCurrent
|
143
|
+
# @return [Hash] The body content of the SOAP response.
|
144
|
+
def self.get_account_for_vat_exempt_debtor_invoices_current
|
145
|
+
response = invoke('ProductGroup_GetAccountForVatExemptDebtorInvoicesCurrent') do |message|
|
146
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
147
|
+
end
|
148
|
+
end
|
149
|
+
|
150
|
+
# Sets the the account to use for products of the product group on invoices for VAT exempt debtors.
|
151
|
+
# Parameters: productGroupHandle: Handle for the product group. valueHandle: Handle for account.
|
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=ProductGroup_SetAccountForVatExemptDebtorInvoicesCurrent
|
155
|
+
# @return [Hash] The body content of the SOAP response.
|
156
|
+
def self.set_account_for_vat_exempt_debtor_invoices_current
|
157
|
+
response = invoke('ProductGroup_SetAccountForVatExemptDebtorInvoicesCurrent') 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 accrual account of a product group.
|
163
|
+
# Parameters: productGroupHandle: Handle for the product group. valueHandle: Handle for new accrual account of the product group.
|
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=ProductGroup_SetAccrual
|
167
|
+
# @return [Hash] The body content of the SOAP response.
|
168
|
+
def self.set_accrual
|
169
|
+
response = invoke('ProductGroup_SetAccrual') 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 a handle for the accrual account of a product group.
|
175
|
+
# Parameters: productGroupHandle: Handle for the product group.
|
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=ProductGroup_GetAccrual
|
179
|
+
# @return [Hash] The body content of the SOAP response.
|
180
|
+
def self.get_accrual
|
181
|
+
response = invoke('ProductGroup_GetAccrual') 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
|
+
# Creates a new product group.
|
187
|
+
# Parameters: number: The number of the new product group. name: The name of the new product group. accountForVatLiableDebtorInvoicesCurrent : The account to use for products on invoices with VAT liable debtors.
|
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=ProductGroup_Create
|
191
|
+
# @return [Hash] The body content of the SOAP response.
|
192
|
+
def self.create
|
193
|
+
response = invoke('ProductGroup_Create') do |message|
|
194
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
195
|
+
end
|
196
|
+
end
|
197
|
+
|
198
|
+
# Returns handles for all product groups.
|
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=ProductGroup_GetAll
|
202
|
+
# @return [Hash] The body content of the SOAP response.
|
203
|
+
def self.get_all
|
204
|
+
response = invoke('ProductGroup_GetAll') 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
|
+
# Returns a handle for the product group with a given number.
|
210
|
+
# Parameters: number: The number to search for.
|
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=ProductGroup_FindByNumber
|
214
|
+
# @return [Hash] The body content of the SOAP response.
|
215
|
+
def self.find_by_number
|
216
|
+
response = invoke('ProductGroup_FindByNumber') 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
|
+
# Returns an array with handles for the product groups corresponding to the given product group numbers. If a product group with a given number does not exist then the array contains nothing at that index.
|
222
|
+
# Parameters: numbers: The numbers to search for.
|
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=ProductGroup_FindByNumberList
|
226
|
+
# @return [Hash] The body content of the SOAP response.
|
227
|
+
def self.find_by_number_list
|
228
|
+
response = invoke('ProductGroup_FindByNumberList') 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 the product groups with a given name.
|
234
|
+
# Parameter: name: The name to search for.
|
235
|
+
#
|
236
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
237
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=ProductGroup_FindByName
|
238
|
+
# @return [Hash] The body content of the SOAP response.
|
239
|
+
def self.find_by_name
|
240
|
+
response = invoke('ProductGroup_FindByName') do |message|
|
241
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
242
|
+
end
|
243
|
+
end
|
244
|
+
|
245
|
+
# Gets handles for products of a product group.
|
246
|
+
# Parameters: productGroupHandle: Handle for the product group.
|
247
|
+
#
|
248
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
249
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=ProductGroup_GetProducts
|
250
|
+
# @return [Hash] The body content of the SOAP response.
|
251
|
+
def self.get_products
|
252
|
+
response = invoke('ProductGroup_GetProducts') do |message|
|
253
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
254
|
+
end
|
255
|
+
end
|
256
|
+
|
257
|
+
# Deletes a product group.
|
258
|
+
# Parameters: productGroupHandle: Handle for the product group.
|
259
|
+
#
|
260
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
261
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=ProductGroup_Delete
|
262
|
+
# @return [Hash] The body content of the SOAP response.
|
263
|
+
def self.delete
|
264
|
+
response = invoke('ProductGroup_Delete') do |message|
|
265
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
266
|
+
end
|
267
|
+
end
|
268
|
+
|
269
|
+
end
|
270
|
+
end
|
271
|
+
end
|
@@ -0,0 +1,164 @@
|
|
1
|
+
module Ruconomic
|
2
|
+
module API
|
3
|
+
module ProductPrice
|
4
|
+
extend Ruconomic::WebService
|
5
|
+
|
6
|
+
# Creates a new product price from a data object.
|
7
|
+
# Parameters: data: The data object that specifies the properties of the new product price.
|
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=ProductPrice_CreateFromData
|
11
|
+
# @return [Hash] The body content of the SOAP response.
|
12
|
+
def self.create_from_data
|
13
|
+
response = invoke('ProductPrice_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 product prices from data objects.
|
19
|
+
# Parameters: dataArray: The array of data objects that specifies the properties of the new product prices.
|
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=ProductPrice_CreateFromDataArray
|
23
|
+
# @return [Hash] The body content of the SOAP response.
|
24
|
+
def self.create_from_data_array
|
25
|
+
response = invoke('ProductPrice_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 product price entities from data objects.
|
31
|
+
# Parameters: dataArray: The array of data objects.
|
32
|
+
#
|
33
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
34
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=ProductPrice_UpdateFromDataArray
|
35
|
+
# @return [Hash] The body content of the SOAP response.
|
36
|
+
def self.update_from_data_array
|
37
|
+
response = invoke('ProductPrice_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 product price 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=ProductPrice_UpdateFromData
|
47
|
+
# @return [Hash] The body content of the SOAP response.
|
48
|
+
def self.update_from_data
|
49
|
+
response = invoke('ProductPrice_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 an product price data object for a given product price.
|
55
|
+
# Parameters: entityHandle: A handle for the product price.
|
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=ProductPrice_GetData
|
59
|
+
# @return [Hash] The body content of the SOAP response.
|
60
|
+
def self.get_data
|
61
|
+
response = invoke('ProductPrice_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 product price data objects for a given set of product price handles.
|
67
|
+
# Parameters: entityHandles: An array of the product price 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=ProductPrice_GetDataArray
|
71
|
+
# @return [Hash] The body content of the SOAP response.
|
72
|
+
def self.get_data_array
|
73
|
+
response = invoke('ProductPrice_GetDataArray') do |message|
|
74
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
75
|
+
end
|
76
|
+
end
|
77
|
+
|
78
|
+
# Creates a new product price.
|
79
|
+
# Parameters: product: Handle for the product of the new product price. currency: Handle for the currency of the new product price. price: The price of the new product price.
|
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=ProductPrice_Create
|
83
|
+
# @return [Hash] The body content of the SOAP response.
|
84
|
+
def self.create
|
85
|
+
response = invoke('ProductPrice_Create') do |message|
|
86
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
87
|
+
end
|
88
|
+
end
|
89
|
+
|
90
|
+
# Returns a handle for the product price for a given product and currency.
|
91
|
+
# Parameters: product: Product to search for. currency: Currency to search for.
|
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=ProductPrice_FindByProductAndCurrency
|
95
|
+
# @return [Hash] The body content of the SOAP response.
|
96
|
+
def self.find_by_product_and_currency
|
97
|
+
response = invoke('ProductPrice_FindByProductAndCurrency') 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
|
+
# Deletes a product price.
|
103
|
+
# Parameters: productPriceHandle: Handle for the product price.
|
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=ProductPrice_Delete
|
107
|
+
# @return [Hash] The body content of the SOAP response.
|
108
|
+
def self.delete
|
109
|
+
response = invoke('ProductPrice_Delete') 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 a handle for the product of a product price.
|
115
|
+
# Parameters: productPriceHandle: Handle for the product price.
|
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=ProductPrice_GetProduct
|
119
|
+
# @return [Hash] The body content of the SOAP response.
|
120
|
+
def self.get_product
|
121
|
+
response = invoke('ProductPrice_GetProduct') 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 currency of a product price.
|
127
|
+
# Parameters: productPriceHandle: Handle for the product price.
|
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=ProductPrice_GetCurrency
|
131
|
+
# @return [Hash] The body content of the SOAP response.
|
132
|
+
def self.get_currency
|
133
|
+
response = invoke('ProductPrice_GetCurrency') 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 price of a product price.
|
139
|
+
# Parameters: productPriceHandle: Handle for the product price.
|
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=ProductPrice_GetPrice
|
143
|
+
# @return [Hash] The body content of the SOAP response.
|
144
|
+
def self.get_price
|
145
|
+
response = invoke('ProductPrice_GetPrice') do |message|
|
146
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
147
|
+
end
|
148
|
+
end
|
149
|
+
|
150
|
+
# Sets the price of a product price.
|
151
|
+
# Parameters: productPriceHandle: Handle for the product price. value: The new price of the product price.
|
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=ProductPrice_SetPrice
|
155
|
+
# @return [Hash] The body content of the SOAP response.
|
156
|
+
def self.set_price
|
157
|
+
response = invoke('ProductPrice_SetPrice') do |message|
|
158
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
159
|
+
end
|
160
|
+
end
|
161
|
+
|
162
|
+
end
|
163
|
+
end
|
164
|
+
end
|