ruconomic 0.9.1 → 0.9.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/lib/ruconomic/api/account.rb +86 -86
- data/lib/ruconomic/api/accounting_period.rb +18 -18
- data/lib/ruconomic/api/accounting_year.rb +26 -26
- data/lib/ruconomic/api/activity.rb +14 -14
- data/lib/ruconomic/api/bank_payment_type.rb +16 -16
- data/lib/ruconomic/api/budget_figure.rb +56 -56
- data/lib/ruconomic/api/cash_book.rb +38 -38
- data/lib/ruconomic/api/cash_book_entry.rb +118 -118
- data/lib/ruconomic/api/company.rb +48 -48
- data/lib/ruconomic/api/cost_type.rb +22 -22
- data/lib/ruconomic/api/cost_type_group.rb +18 -18
- data/lib/ruconomic/api/creditor.rb +114 -114
- data/lib/ruconomic/api/creditor_contact.rb +44 -44
- data/lib/ruconomic/api/creditor_entry.rb +40 -40
- data/lib/ruconomic/api/creditor_group.rb +34 -34
- data/lib/ruconomic/api/currency.rb +10 -10
- data/lib/ruconomic/api/current_invoice.rb +184 -184
- data/lib/ruconomic/api/current_invoice_line.rb +72 -72
- data/lib/ruconomic/api/current_supplier_invoice.rb +18 -18
- data/lib/ruconomic/api/current_supplier_invoice_line.rb +14 -14
- data/lib/ruconomic/api/debtor.rb +152 -152
- data/lib/ruconomic/api/debtor_contact.rb +54 -54
- data/lib/ruconomic/api/debtor_entry.rb +38 -38
- data/lib/ruconomic/api/debtor_group.rb +38 -38
- data/lib/ruconomic/api/delivery_location.rb +56 -56
- data/lib/ruconomic/api/department.rb +32 -32
- data/lib/ruconomic/api/distribution_key.rb +30 -30
- data/lib/ruconomic/api/document_archive_category.rb +26 -26
- data/lib/ruconomic/api/employee.rb +70 -70
- data/lib/ruconomic/api/employee_group.rb +32 -32
- data/lib/ruconomic/api/entry.rb +52 -52
- data/lib/ruconomic/api/extended_vat_zone.rb +12 -12
- data/lib/ruconomic/api/inventory_location.rb +14 -14
- data/lib/ruconomic/api/invoice.rb +115 -111
- data/lib/ruconomic/api/invoice_line.rb +40 -40
- data/lib/ruconomic/api/key_figure_code.rb +16 -16
- data/lib/ruconomic/api/mileage_entry.rb +52 -52
- data/lib/ruconomic/api/order.rb +194 -194
- data/lib/ruconomic/api/order_line.rb +74 -74
- data/lib/ruconomic/api/price_group.rb +32 -32
- data/lib/ruconomic/api/product.rb +88 -88
- data/lib/ruconomic/api/product_group.rb +44 -44
- data/lib/ruconomic/api/product_price.rb +26 -26
- data/lib/ruconomic/api/project.rb +74 -74
- data/lib/ruconomic/api/project_group.rb +18 -18
- data/lib/ruconomic/api/quotation.rb +190 -190
- data/lib/ruconomic/api/quotation_line.rb +74 -74
- data/lib/ruconomic/api/report_code.rb +12 -12
- data/lib/ruconomic/api/report_code_set.rb +14 -14
- data/lib/ruconomic/api/scanned_document.rb +28 -28
- data/lib/ruconomic/api/subscriber.rb +78 -78
- data/lib/ruconomic/api/subscription.rb +62 -62
- data/lib/ruconomic/api/subscription_line.rb +50 -50
- data/lib/ruconomic/api/sum_interval.rb +26 -26
- data/lib/ruconomic/api/template_collection.rb +12 -12
- data/lib/ruconomic/api/term_of_payment.rb +50 -50
- data/lib/ruconomic/api/time_entry.rb +42 -42
- data/lib/ruconomic/api/unit.rb +30 -30
- data/lib/ruconomic/api/vat_account.rb +24 -24
- data/lib/ruconomic/api.rb +12 -13
- data/lib/ruconomic/version.rb +1 -1
- data/ruconomic.gemspec +1 -1
- metadata +20 -21
@@ -6,263 +6,263 @@ module Ruconomic
|
|
6
6
|
# Creates a new product group from a data object.
|
7
7
|
# Parameters: data: The data object that specifies the properties of the new product group.
|
8
8
|
#
|
9
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
9
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
10
10
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=ProductGroup_CreateFromData
|
11
11
|
# @return [Hash] The body content of the SOAP response.
|
12
12
|
def self.create_from_data
|
13
13
|
response = invoke('ProductGroup_CreateFromData') do |message|
|
14
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
14
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
15
15
|
end
|
16
16
|
end
|
17
17
|
|
18
18
|
# Creates new product groups from data objects.
|
19
19
|
# Parameters: dataArray: The array of data objects that specifies the properties of the new product groups.
|
20
20
|
#
|
21
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
21
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
22
22
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=ProductGroup_CreateFromDataArray
|
23
23
|
# @return [Hash] The body content of the SOAP response.
|
24
24
|
def self.create_from_data_array
|
25
25
|
response = invoke('ProductGroup_CreateFromDataArray') do |message|
|
26
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
26
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
27
27
|
end
|
28
28
|
end
|
29
29
|
|
30
30
|
# Update product groups from data objects.
|
31
31
|
# Parameters: dataArray: The array of data objects.
|
32
32
|
#
|
33
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
33
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
34
34
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=ProductGroup_UpdateFromDataArray
|
35
35
|
# @return [Hash] The body content of the SOAP response.
|
36
36
|
def self.update_from_data_array
|
37
37
|
response = invoke('ProductGroup_UpdateFromDataArray') do |message|
|
38
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
38
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
39
39
|
end
|
40
40
|
end
|
41
41
|
|
42
42
|
# Updates a product group from a data object.
|
43
43
|
# Parameters: data: The data object.
|
44
44
|
#
|
45
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
45
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
46
46
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=ProductGroup_UpdateFromData
|
47
47
|
# @return [Hash] The body content of the SOAP response.
|
48
48
|
def self.update_from_data
|
49
49
|
response = invoke('ProductGroup_UpdateFromData') do |message|
|
50
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
50
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
51
51
|
end
|
52
52
|
end
|
53
53
|
|
54
54
|
# Returns an product group data object for a given product group.
|
55
55
|
# Parameters: entityHandle: A handle for the product group.
|
56
56
|
#
|
57
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
57
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
58
58
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=ProductGroup_GetData
|
59
59
|
# @return [Hash] The body content of the SOAP response.
|
60
60
|
def self.get_data
|
61
61
|
response = invoke('ProductGroup_GetData') do |message|
|
62
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
62
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
63
63
|
end
|
64
64
|
end
|
65
65
|
|
66
66
|
# Returns product group data objects for a given set of product group handles.
|
67
67
|
# Parameters: entityHandles: An array of the product group handles.
|
68
68
|
#
|
69
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
69
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
70
70
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=ProductGroup_GetDataArray
|
71
71
|
# @return [Hash] The body content of the SOAP response.
|
72
72
|
def self.get_data_array
|
73
73
|
response = invoke('ProductGroup_GetDataArray') do |message|
|
74
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
74
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
75
75
|
end
|
76
76
|
end
|
77
77
|
|
78
78
|
# Gets the number of a product group.
|
79
79
|
# Parameters: productGroupHandle: Handle for the product group.
|
80
80
|
#
|
81
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
81
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
82
82
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=ProductGroup_GetNumber
|
83
83
|
# @return [Hash] The body content of the SOAP response.
|
84
84
|
def self.get_number
|
85
85
|
response = invoke('ProductGroup_GetNumber') do |message|
|
86
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
86
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
87
87
|
end
|
88
88
|
end
|
89
89
|
|
90
90
|
# Gets the name of a product group.
|
91
91
|
# Parameters: productGroupHandle: Handle for the product group.
|
92
92
|
#
|
93
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
93
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
94
94
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=ProductGroup_GetName
|
95
95
|
# @return [Hash] The body content of the SOAP response.
|
96
96
|
def self.get_name
|
97
97
|
response = invoke('ProductGroup_GetName') do |message|
|
98
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
98
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
99
99
|
end
|
100
100
|
end
|
101
101
|
|
102
102
|
# Sets the name of a product group.
|
103
103
|
# Parameters: productGroupHandle: Handle for the product group. value: The new name of the product group.
|
104
104
|
#
|
105
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
105
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
106
106
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=ProductGroup_SetName
|
107
107
|
# @return [Hash] The body content of the SOAP response.
|
108
108
|
def self.set_name
|
109
109
|
response = invoke('ProductGroup_SetName') do |message|
|
110
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
110
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
111
111
|
end
|
112
112
|
end
|
113
113
|
|
114
114
|
# Gets a handle for the account to use for products of the product group on invoices for VAT liable debtors.
|
115
115
|
# Parameters: productGroupHandle: Handle for the product group.
|
116
116
|
#
|
117
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
117
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
118
118
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=ProductGroup_GetAccountForVatLiableDebtorInvoicesCurrent
|
119
119
|
# @return [Hash] The body content of the SOAP response.
|
120
120
|
def self.get_account_for_vat_liable_debtor_invoices_current
|
121
121
|
response = invoke('ProductGroup_GetAccountForVatLiableDebtorInvoicesCurrent') do |message|
|
122
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
122
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
123
123
|
end
|
124
124
|
end
|
125
125
|
|
126
126
|
# Sets the the account to use for products of the product group on invoices for VAT liable debtors.
|
127
127
|
# Parameters: productGroupHandle: Handle for the product group. valueHandle: Handle for account.
|
128
128
|
#
|
129
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
129
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
130
130
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=ProductGroup_SetAccountForVatLiableDebtorInvoicesCurrent
|
131
131
|
# @return [Hash] The body content of the SOAP response.
|
132
132
|
def self.set_account_for_vat_liable_debtor_invoices_current
|
133
133
|
response = invoke('ProductGroup_SetAccountForVatLiableDebtorInvoicesCurrent') do |message|
|
134
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
134
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
135
135
|
end
|
136
136
|
end
|
137
137
|
|
138
138
|
# Gets a handle for the account to use for products of the product group on invoices for VAT exempt debtors.
|
139
139
|
# Parameters: productGroupHandle: Handle for the product group.
|
140
140
|
#
|
141
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
141
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
142
142
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=ProductGroup_GetAccountForVatExemptDebtorInvoicesCurrent
|
143
143
|
# @return [Hash] The body content of the SOAP response.
|
144
144
|
def self.get_account_for_vat_exempt_debtor_invoices_current
|
145
145
|
response = invoke('ProductGroup_GetAccountForVatExemptDebtorInvoicesCurrent') do |message|
|
146
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
146
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
147
147
|
end
|
148
148
|
end
|
149
149
|
|
150
150
|
# Sets the the account to use for products of the product group on invoices for VAT exempt debtors.
|
151
151
|
# Parameters: productGroupHandle: Handle for the product group. valueHandle: Handle for account.
|
152
152
|
#
|
153
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
153
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
154
154
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=ProductGroup_SetAccountForVatExemptDebtorInvoicesCurrent
|
155
155
|
# @return [Hash] The body content of the SOAP response.
|
156
156
|
def self.set_account_for_vat_exempt_debtor_invoices_current
|
157
157
|
response = invoke('ProductGroup_SetAccountForVatExemptDebtorInvoicesCurrent') do |message|
|
158
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
158
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
159
159
|
end
|
160
160
|
end
|
161
161
|
|
162
162
|
# Sets the accrual account of a product group.
|
163
163
|
# Parameters: productGroupHandle: Handle for the product group. valueHandle: Handle for new accrual account of the product group.
|
164
164
|
#
|
165
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
165
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
166
166
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=ProductGroup_SetAccrual
|
167
167
|
# @return [Hash] The body content of the SOAP response.
|
168
168
|
def self.set_accrual
|
169
169
|
response = invoke('ProductGroup_SetAccrual') do |message|
|
170
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
170
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
171
171
|
end
|
172
172
|
end
|
173
173
|
|
174
174
|
# Gets a handle for the accrual account of a product group.
|
175
175
|
# Parameters: productGroupHandle: Handle for the product group.
|
176
176
|
#
|
177
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
177
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
178
178
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=ProductGroup_GetAccrual
|
179
179
|
# @return [Hash] The body content of the SOAP response.
|
180
180
|
def self.get_accrual
|
181
181
|
response = invoke('ProductGroup_GetAccrual') do |message|
|
182
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
182
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
183
183
|
end
|
184
184
|
end
|
185
185
|
|
186
186
|
# Creates a new product group.
|
187
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
188
|
#
|
189
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
189
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
190
190
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=ProductGroup_Create
|
191
191
|
# @return [Hash] The body content of the SOAP response.
|
192
192
|
def self.create
|
193
193
|
response = invoke('ProductGroup_Create') do |message|
|
194
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
194
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
195
195
|
end
|
196
196
|
end
|
197
197
|
|
198
198
|
# Returns handles for all product groups.
|
199
199
|
#
|
200
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
200
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
201
201
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=ProductGroup_GetAll
|
202
202
|
# @return [Hash] The body content of the SOAP response.
|
203
203
|
def self.get_all
|
204
204
|
response = invoke('ProductGroup_GetAll') do |message|
|
205
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
205
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
206
206
|
end
|
207
207
|
end
|
208
208
|
|
209
209
|
# Returns a handle for the product group with a given number.
|
210
210
|
# Parameters: number: The number to search for.
|
211
211
|
#
|
212
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
212
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
213
213
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=ProductGroup_FindByNumber
|
214
214
|
# @return [Hash] The body content of the SOAP response.
|
215
215
|
def self.find_by_number
|
216
216
|
response = invoke('ProductGroup_FindByNumber') do |message|
|
217
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
217
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
218
218
|
end
|
219
219
|
end
|
220
220
|
|
221
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
222
|
# Parameters: numbers: The numbers to search for.
|
223
223
|
#
|
224
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
224
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
225
225
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=ProductGroup_FindByNumberList
|
226
226
|
# @return [Hash] The body content of the SOAP response.
|
227
227
|
def self.find_by_number_list
|
228
228
|
response = invoke('ProductGroup_FindByNumberList') do |message|
|
229
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
229
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
230
230
|
end
|
231
231
|
end
|
232
232
|
|
233
233
|
# Returns handles for the product groups with a given name.
|
234
234
|
# Parameter: name: The name to search for.
|
235
235
|
#
|
236
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
236
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
237
237
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=ProductGroup_FindByName
|
238
238
|
# @return [Hash] The body content of the SOAP response.
|
239
239
|
def self.find_by_name
|
240
240
|
response = invoke('ProductGroup_FindByName') do |message|
|
241
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
241
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
242
242
|
end
|
243
243
|
end
|
244
244
|
|
245
245
|
# Gets handles for products of a product group.
|
246
246
|
# Parameters: productGroupHandle: Handle for the product group.
|
247
247
|
#
|
248
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
248
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
249
249
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=ProductGroup_GetProducts
|
250
250
|
# @return [Hash] The body content of the SOAP response.
|
251
251
|
def self.get_products
|
252
252
|
response = invoke('ProductGroup_GetProducts') do |message|
|
253
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
253
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
254
254
|
end
|
255
255
|
end
|
256
256
|
|
257
257
|
# Deletes a product group.
|
258
258
|
# Parameters: productGroupHandle: Handle for the product group.
|
259
259
|
#
|
260
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
260
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
261
261
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=ProductGroup_Delete
|
262
262
|
# @return [Hash] The body content of the SOAP response.
|
263
263
|
def self.delete
|
264
264
|
response = invoke('ProductGroup_Delete') do |message|
|
265
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
265
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
266
266
|
end
|
267
267
|
end
|
268
268
|
|
@@ -6,156 +6,156 @@ module Ruconomic
|
|
6
6
|
# Creates a new product price from a data object.
|
7
7
|
# Parameters: data: The data object that specifies the properties of the new product price.
|
8
8
|
#
|
9
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
9
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
10
10
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=ProductPrice_CreateFromData
|
11
11
|
# @return [Hash] The body content of the SOAP response.
|
12
12
|
def self.create_from_data
|
13
13
|
response = invoke('ProductPrice_CreateFromData') do |message|
|
14
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
14
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
15
15
|
end
|
16
16
|
end
|
17
17
|
|
18
18
|
# Creates new product prices from data objects.
|
19
19
|
# Parameters: dataArray: The array of data objects that specifies the properties of the new product prices.
|
20
20
|
#
|
21
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
21
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
22
22
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=ProductPrice_CreateFromDataArray
|
23
23
|
# @return [Hash] The body content of the SOAP response.
|
24
24
|
def self.create_from_data_array
|
25
25
|
response = invoke('ProductPrice_CreateFromDataArray') do |message|
|
26
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
26
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
27
27
|
end
|
28
28
|
end
|
29
29
|
|
30
30
|
# Update product price entities from data objects.
|
31
31
|
# Parameters: dataArray: The array of data objects.
|
32
32
|
#
|
33
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
33
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
34
34
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=ProductPrice_UpdateFromDataArray
|
35
35
|
# @return [Hash] The body content of the SOAP response.
|
36
36
|
def self.update_from_data_array
|
37
37
|
response = invoke('ProductPrice_UpdateFromDataArray') do |message|
|
38
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
38
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
39
39
|
end
|
40
40
|
end
|
41
41
|
|
42
42
|
# Updates a product price from a data object.
|
43
43
|
# Parameters: data: The data object.
|
44
44
|
#
|
45
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
45
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
46
46
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=ProductPrice_UpdateFromData
|
47
47
|
# @return [Hash] The body content of the SOAP response.
|
48
48
|
def self.update_from_data
|
49
49
|
response = invoke('ProductPrice_UpdateFromData') do |message|
|
50
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
50
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
51
51
|
end
|
52
52
|
end
|
53
53
|
|
54
54
|
# Returns an product price data object for a given product price.
|
55
55
|
# Parameters: entityHandle: A handle for the product price.
|
56
56
|
#
|
57
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
57
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
58
58
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=ProductPrice_GetData
|
59
59
|
# @return [Hash] The body content of the SOAP response.
|
60
60
|
def self.get_data
|
61
61
|
response = invoke('ProductPrice_GetData') do |message|
|
62
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
62
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
63
63
|
end
|
64
64
|
end
|
65
65
|
|
66
66
|
# Returns product price data objects for a given set of product price handles.
|
67
67
|
# Parameters: entityHandles: An array of the product price handles.
|
68
68
|
#
|
69
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
69
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
70
70
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=ProductPrice_GetDataArray
|
71
71
|
# @return [Hash] The body content of the SOAP response.
|
72
72
|
def self.get_data_array
|
73
73
|
response = invoke('ProductPrice_GetDataArray') do |message|
|
74
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
74
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
75
75
|
end
|
76
76
|
end
|
77
77
|
|
78
78
|
# Creates a new product price.
|
79
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
80
|
#
|
81
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
81
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
82
82
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=ProductPrice_Create
|
83
83
|
# @return [Hash] The body content of the SOAP response.
|
84
84
|
def self.create
|
85
85
|
response = invoke('ProductPrice_Create') do |message|
|
86
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
86
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
87
87
|
end
|
88
88
|
end
|
89
89
|
|
90
90
|
# Returns a handle for the product price for a given product and currency.
|
91
91
|
# Parameters: product: Product to search for. currency: Currency to search for.
|
92
92
|
#
|
93
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
93
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
94
94
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=ProductPrice_FindByProductAndCurrency
|
95
95
|
# @return [Hash] The body content of the SOAP response.
|
96
96
|
def self.find_by_product_and_currency
|
97
97
|
response = invoke('ProductPrice_FindByProductAndCurrency') do |message|
|
98
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
98
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
99
99
|
end
|
100
100
|
end
|
101
101
|
|
102
102
|
# Deletes a product price.
|
103
103
|
# Parameters: productPriceHandle: Handle for the product price.
|
104
104
|
#
|
105
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
105
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
106
106
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=ProductPrice_Delete
|
107
107
|
# @return [Hash] The body content of the SOAP response.
|
108
108
|
def self.delete
|
109
109
|
response = invoke('ProductPrice_Delete') do |message|
|
110
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
110
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
111
111
|
end
|
112
112
|
end
|
113
113
|
|
114
114
|
# Gets a handle for the product of a product price.
|
115
115
|
# Parameters: productPriceHandle: Handle for the product price.
|
116
116
|
#
|
117
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
117
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
118
118
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=ProductPrice_GetProduct
|
119
119
|
# @return [Hash] The body content of the SOAP response.
|
120
120
|
def self.get_product
|
121
121
|
response = invoke('ProductPrice_GetProduct') do |message|
|
122
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
122
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
123
123
|
end
|
124
124
|
end
|
125
125
|
|
126
126
|
# Gets a handle for the currency of a product price.
|
127
127
|
# Parameters: productPriceHandle: Handle for the product price.
|
128
128
|
#
|
129
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
129
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
130
130
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=ProductPrice_GetCurrency
|
131
131
|
# @return [Hash] The body content of the SOAP response.
|
132
132
|
def self.get_currency
|
133
133
|
response = invoke('ProductPrice_GetCurrency') do |message|
|
134
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
134
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
135
135
|
end
|
136
136
|
end
|
137
137
|
|
138
138
|
# Gets the price of a product price.
|
139
139
|
# Parameters: productPriceHandle: Handle for the product price.
|
140
140
|
#
|
141
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
141
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
142
142
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=ProductPrice_GetPrice
|
143
143
|
# @return [Hash] The body content of the SOAP response.
|
144
144
|
def self.get_price
|
145
145
|
response = invoke('ProductPrice_GetPrice') do |message|
|
146
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
146
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
147
147
|
end
|
148
148
|
end
|
149
149
|
|
150
150
|
# Sets the price of a product price.
|
151
151
|
# Parameters: productPriceHandle: Handle for the product price. value: The new price of the product price.
|
152
152
|
#
|
153
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
153
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
154
154
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=ProductPrice_SetPrice
|
155
155
|
# @return [Hash] The body content of the SOAP response.
|
156
156
|
def self.set_price
|
157
157
|
response = invoke('ProductPrice_SetPrice') do |message|
|
158
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
158
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
159
159
|
end
|
160
160
|
end
|
161
161
|
|