ruconomic 0.9.1 → 0.9.2
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 +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,179 +6,179 @@ module Ruconomic
|
|
6
6
|
# Creates a new PriceGroup from a data object.
|
7
7
|
# Parameters: data: The data object that specifies the properties of the new PriceGroup.
|
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=PriceGroup_CreateFromData
|
11
11
|
# @return [Hash] The body content of the SOAP response.
|
12
12
|
def self.create_from_data
|
13
13
|
response = invoke('PriceGroup_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 PriceGroups from data objects.
|
19
19
|
# Parameters: dataArray: The array of data objects that specifies the properties of the new PriceGroups.
|
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=PriceGroup_CreateFromDataArray
|
23
23
|
# @return [Hash] The body content of the SOAP response.
|
24
24
|
def self.create_from_data_array
|
25
25
|
response = invoke('PriceGroup_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 PriceGroups 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=PriceGroup_UpdateFromDataArray
|
35
35
|
# @return [Hash] The body content of the SOAP response.
|
36
36
|
def self.update_from_data_array
|
37
37
|
response = invoke('PriceGroup_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 PriceGroup 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=PriceGroup_UpdateFromData
|
47
47
|
# @return [Hash] The body content of the SOAP response.
|
48
48
|
def self.update_from_data
|
49
49
|
response = invoke('PriceGroup_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 PriceGroup data object for a given PriceGroup.
|
55
55
|
# Parameters: entityHandle: A handle for the PriceGroup.
|
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=PriceGroup_GetData
|
59
59
|
# @return [Hash] The body content of the SOAP response.
|
60
60
|
def self.get_data
|
61
61
|
response = invoke('PriceGroup_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 PriceGroup data objects for a given set of PriceGroup handles.
|
67
67
|
# Parameters: entityHandles: An array of the PriceGroup 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=PriceGroup_GetDataArray
|
71
71
|
# @return [Hash] The body content of the SOAP response.
|
72
72
|
def self.get_data_array
|
73
73
|
response = invoke('PriceGroup_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 PriceGroup.
|
79
79
|
# Parameters: name: The name of the new PriceGroup.
|
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=PriceGroup_Create
|
83
83
|
# @return [Hash] The body content of the SOAP response.
|
84
84
|
def self.create
|
85
85
|
response = invoke('PriceGroup_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
|
# Gets the number of a price group.
|
91
91
|
# Parameters: PriceGroupHandle: Handle for the price 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=PriceGroup_GetNumber
|
95
95
|
# @return [Hash] The body content of the SOAP response.
|
96
96
|
def self.get_number
|
97
97
|
response = invoke('PriceGroup_GetNumber') 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
|
# Gets the name of a price group.
|
103
103
|
# Parameters: priceGroupHandle: Handle for the price 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=PriceGroup_GetName
|
107
107
|
# @return [Hash] The body content of the SOAP response.
|
108
108
|
def self.get_name
|
109
109
|
response = invoke('PriceGroup_GetName') 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
|
# Sets the name of a price group.
|
115
115
|
# Parameters: priceGroupHandle: Handle for the price group. value: The new name of the price 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=PriceGroup_SetName
|
119
119
|
# @return [Hash] The body content of the SOAP response.
|
120
120
|
def self.set_name
|
121
121
|
response = invoke('PriceGroup_SetName') 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
|
# Return handles for all price groups.
|
127
127
|
#
|
128
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
128
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
129
129
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=PriceGroup_GetAll
|
130
130
|
# @return [Hash] The body content of the SOAP response.
|
131
131
|
def self.get_all
|
132
132
|
response = invoke('PriceGroup_GetAll') do |message|
|
133
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
133
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
134
134
|
end
|
135
135
|
end
|
136
136
|
|
137
137
|
# Returns a handle for the price group with the given number.
|
138
138
|
# Parameters: number: The number to search for.
|
139
139
|
#
|
140
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
140
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
141
141
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=PriceGroup_FindByNumber
|
142
142
|
# @return [Hash] The body content of the SOAP response.
|
143
143
|
def self.find_by_number
|
144
144
|
response = invoke('PriceGroup_FindByNumber') do |message|
|
145
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
145
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
146
146
|
end
|
147
147
|
end
|
148
148
|
|
149
149
|
# Returns an array with handles for price groups corresponding to the given price group numbers. If a price group with a given number does not exist or if no number is given then the array contains nothing at that index.
|
150
150
|
# Parameters: numbers: The numbers to search for.
|
151
151
|
#
|
152
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
152
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
153
153
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=PriceGroup_FindByNumberList
|
154
154
|
# @return [Hash] The body content of the SOAP response.
|
155
155
|
def self.find_by_number_list
|
156
156
|
response = invoke('PriceGroup_FindByNumberList') do |message|
|
157
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
157
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
158
158
|
end
|
159
159
|
end
|
160
160
|
|
161
161
|
# Returns handles for the price groups with the given name.
|
162
162
|
# Parameters: name: The name to search for.
|
163
163
|
#
|
164
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
164
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
165
165
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=PriceGroup_FindByName
|
166
166
|
# @return [Hash] The body content of the SOAP response.
|
167
167
|
def self.find_by_name
|
168
168
|
response = invoke('PriceGroup_FindByName') do |message|
|
169
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
169
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
170
170
|
end
|
171
171
|
end
|
172
172
|
|
173
173
|
# Deletes a PriceGroup.
|
174
174
|
# Parameters: priceGroupHandle: Handle for the PriceGroup.
|
175
175
|
#
|
176
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
176
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
177
177
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=PriceGroup_Delete
|
178
178
|
# @return [Hash] The body content of the SOAP response.
|
179
179
|
def self.delete
|
180
180
|
response = invoke('PriceGroup_Delete') do |message|
|
181
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
181
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
182
182
|
end
|
183
183
|
end
|
184
184
|
|
@@ -186,12 +186,12 @@ module Ruconomic
|
|
186
186
|
# If no special price is found then the sales price is returned instead.
|
187
187
|
# Parameters: productHandle: The product to return the price for.
|
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=PriceGroup_GetPrice
|
191
191
|
# @return [Hash] The body content of the SOAP response.
|
192
192
|
def self.get_price
|
193
193
|
response = invoke('PriceGroup_GetPrice') 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
|
|