ruconomic 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (75) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +5 -0
  3. data/Gemfile +4 -0
  4. data/LICENSE.txt +22 -0
  5. data/README.md +100 -0
  6. data/Rakefile +2 -0
  7. data/lib/ruconomic/api/account.rb +520 -0
  8. data/lib/ruconomic/api/accounting_period.rb +113 -0
  9. data/lib/ruconomic/api/accounting_year.rb +161 -0
  10. data/lib/ruconomic/api/activity.rb +90 -0
  11. data/lib/ruconomic/api/bank_payment_type.rb +103 -0
  12. data/lib/ruconomic/api/budget_figure.rb +343 -0
  13. data/lib/ruconomic/api/cash_book.rb +232 -0
  14. data/lib/ruconomic/api/cash_book_entry.rb +716 -0
  15. data/lib/ruconomic/api/company.rb +294 -0
  16. data/lib/ruconomic/api/cost_type.rb +138 -0
  17. data/lib/ruconomic/api/cost_type_group.rb +115 -0
  18. data/lib/ruconomic/api/creditor.rb +688 -0
  19. data/lib/ruconomic/api/creditor_contact.rb +269 -0
  20. data/lib/ruconomic/api/creditor_entry.rb +235 -0
  21. data/lib/ruconomic/api/creditor_group.rb +208 -0
  22. data/lib/ruconomic/api/currency.rb +67 -0
  23. data/lib/ruconomic/api/current_invoice.rb +1110 -0
  24. data/lib/ruconomic/api/current_invoice_line.rb +440 -0
  25. data/lib/ruconomic/api/current_supplier_invoice.rb +115 -0
  26. data/lib/ruconomic/api/current_supplier_invoice_line.rb +92 -0
  27. data/lib/ruconomic/api/debtor.rb +978 -0
  28. data/lib/ruconomic/api/debtor_contact.rb +328 -0
  29. data/lib/ruconomic/api/debtor_entry.rb +223 -0
  30. data/lib/ruconomic/api/debtor_group.rb +232 -0
  31. data/lib/ruconomic/api/delivery_location.rb +341 -0
  32. data/lib/ruconomic/api/department.rb +197 -0
  33. data/lib/ruconomic/api/distribution_key.rb +187 -0
  34. data/lib/ruconomic/api/document_archive_category.rb +163 -0
  35. data/lib/ruconomic/api/employee.rb +421 -0
  36. data/lib/ruconomic/api/employee_group.rb +199 -0
  37. data/lib/ruconomic/api/entry.rb +318 -0
  38. data/lib/ruconomic/api/extended_vat_zone.rb +79 -0
  39. data/lib/ruconomic/api/inventory_location.rb +91 -0
  40. data/lib/ruconomic/api/invoice.rb +655 -0
  41. data/lib/ruconomic/api/invoice_line.rb +248 -0
  42. data/lib/ruconomic/api/key_figure_code.rb +103 -0
  43. data/lib/ruconomic/api/mileage_entry.rb +319 -0
  44. data/lib/ruconomic/api/order.rb +1169 -0
  45. data/lib/ruconomic/api/order_line.rb +451 -0
  46. data/lib/ruconomic/api/price_group.rb +200 -0
  47. data/lib/ruconomic/api/product.rb +533 -0
  48. data/lib/ruconomic/api/product_group.rb +271 -0
  49. data/lib/ruconomic/api/product_price.rb +164 -0
  50. data/lib/ruconomic/api/project.rb +449 -0
  51. data/lib/ruconomic/api/project_group.rb +113 -0
  52. data/lib/ruconomic/api/quotation.rb +1145 -0
  53. data/lib/ruconomic/api/quotation_line.rb +451 -0
  54. data/lib/ruconomic/api/report_code.rb +78 -0
  55. data/lib/ruconomic/api/report_code_set.rb +89 -0
  56. data/lib/ruconomic/api/scanned_document.rb +175 -0
  57. data/lib/ruconomic/api/subscriber.rb +475 -0
  58. data/lib/ruconomic/api/subscription.rb +375 -0
  59. data/lib/ruconomic/api/subscription_line.rb +307 -0
  60. data/lib/ruconomic/api/sum_interval.rb +164 -0
  61. data/lib/ruconomic/api/template_collection.rb +78 -0
  62. data/lib/ruconomic/api/term_of_payment.rb +307 -0
  63. data/lib/ruconomic/api/time_entry.rb +258 -0
  64. data/lib/ruconomic/api/unit.rb +187 -0
  65. data/lib/ruconomic/api/vat_account.rb +151 -0
  66. data/lib/ruconomic/api.rb +79 -0
  67. data/lib/ruconomic/fault.rb +17 -0
  68. data/lib/ruconomic/soap/document.rb +79 -0
  69. data/lib/ruconomic/soap/node.rb +24 -0
  70. data/lib/ruconomic/soap.rb +7 -0
  71. data/lib/ruconomic/version.rb +3 -0
  72. data/lib/ruconomic/web_service.rb +50 -0
  73. data/lib/ruconomic.rb +42 -0
  74. data/ruconomic.gemspec +27 -0
  75. metadata +202 -0
@@ -0,0 +1,175 @@
1
+ module Ruconomic
2
+ module API
3
+ module ScannedDocument
4
+ extend Ruconomic::WebService
5
+
6
+ # Gets the document as a PDF-file.
7
+ # Parameters: invoiceHandle: Handle for the ScannedDocument.
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=ScannedDocument_GetPdf
11
+ # @return [Hash] The body content of the SOAP response.
12
+ def self.get_pdf
13
+ response = invoke('ScannedDocument_GetPdf') 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 ScannedDocument.
19
+ # Parameters: ScannedDocumentHandle: Handle for the ScannedDocument.
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=ScannedDocument_GetNumber
23
+ # @return [Hash] The body content of the SOAP response.
24
+ def self.get_number
25
+ response = invoke('ScannedDocument_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 status of a ScannedDocument.
31
+ # Parameters: ScannedDocumentHandle: Handle for the ScannedDocument.
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=ScannedDocument_GetStatus
35
+ # @return [Hash] The body content of the SOAP response.
36
+ def self.get_status
37
+ response = invoke('ScannedDocument_GetStatus') do |message|
38
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
39
+ end
40
+ end
41
+
42
+ # Gets the category of a ScannedDocument.
43
+ # Parameters: ScannedDocumentHandle: Handle for the ScannedDocument.
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=ScannedDocument_GetCategory
47
+ # @return [Hash] The body content of the SOAP response.
48
+ def self.get_category
49
+ response = invoke('ScannedDocument_GetCategory') 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 note of a ScannedDocument.
55
+ # Parameters: ScannedDocumentHandle: Handle for the ScannedDocument.
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=ScannedDocument_GetNote
59
+ # @return [Hash] The body content of the SOAP response.
60
+ def self.get_note
61
+ response = invoke('ScannedDocument_GetNote') 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
+ # Gets the pagecount of a ScannedDocument.
67
+ # Parameters: ScannedDocumentHandle: Handle for the ScannedDocument.
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=ScannedDocument_GetPageCount
71
+ # @return [Hash] The body content of the SOAP response.
72
+ def self.get_page_count
73
+ response = invoke('ScannedDocument_GetPageCount') 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 vouchernumber of a ScannedDocument.
79
+ # Parameters: ScannedDocumentHandle: Handle for the ScannedDocument.
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=ScannedDocument_GetVoucherNumber
83
+ # @return [Hash] The body content of the SOAP response.
84
+ def self.get_voucher_number
85
+ response = invoke('ScannedDocument_GetVoucherNumber') 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 fromdate of a ScannedDocument.
91
+ # Parameters: ScannedDocumentHandle: Handle for the ScannedDocument.
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=ScannedDocument_GetFromDate
95
+ # @return [Hash] The body content of the SOAP response.
96
+ def self.get_from_date
97
+ response = invoke('ScannedDocument_GetFromDate') do |message|
98
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
99
+ end
100
+ end
101
+
102
+ # Gets the todate of a ScannedDocument.
103
+ # Parameters: ScannedDocumentHandle: Handle for the ScannedDocument.
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=ScannedDocument_GetToDate
107
+ # @return [Hash] The body content of the SOAP response.
108
+ def self.get_to_date
109
+ response = invoke('ScannedDocument_GetToDate') 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
+ # Returns a ScannedDocument data object for a given ScannedDocument.
115
+ # Parameters: entityHandle: A handle for the ScannedDocument.
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=ScannedDocument_GetData
119
+ # @return [Hash] The body content of the SOAP response.
120
+ def self.get_data
121
+ response = invoke('ScannedDocument_GetData') 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
+ # Returns ScannedDocument data objects for a given set of ScannedDocument handles.
127
+ # Parameters: entityHandles: An array of the ScannedDocument handles.
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=ScannedDocument_GetDataArray
131
+ # @return [Hash] The body content of the SOAP response.
132
+ def self.get_data_array
133
+ response = invoke('ScannedDocument_GetDataArray') 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
+ # Returns handles for all ScannedDocuments.
139
+ #
140
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
141
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=ScannedDocument_GetAll
142
+ # @return [Hash] The body content of the SOAP response.
143
+ def self.get_all
144
+ response = invoke('ScannedDocument_GetAll') do |message|
145
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
146
+ end
147
+ end
148
+
149
+ # Returns a handle for the scanned document with a given voucher number.
150
+ # Parameters: voucherNumber: The number to search for.
151
+ #
152
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
153
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=ScannedDocument_FindByVoucherNumber
154
+ # @return [Hash] The body content of the SOAP response.
155
+ def self.find_by_voucher_number
156
+ response = invoke('ScannedDocument_FindByVoucherNumber') do |message|
157
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
158
+ end
159
+ end
160
+
161
+ # Returns an array with handles for scanned documents with voucher numbers in the given interval.
162
+ # Parameters: minNumber: The start of the interval. maxNumber: The end of the interval.
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=ScannedDocument_FindByVoucherNumberInterval
166
+ # @return [Hash] The body content of the SOAP response.
167
+ def self.find_by_voucher_number_interval
168
+ response = invoke('ScannedDocument_FindByVoucherNumberInterval') 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
+ end
174
+ end
175
+ end
@@ -0,0 +1,475 @@
1
+ module Ruconomic
2
+ module API
3
+ module Subscriber
4
+ extend Ruconomic::WebService
5
+
6
+ # Creates a new subscriber from a data object.
7
+ # Parameters: data: The data object that specifies the properties of the new subscriber.
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=Subscriber_CreateFromData
11
+ # @return [Hash] The body content of the SOAP response.
12
+ def self.create_from_data
13
+ response = invoke('Subscriber_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 subscribers from data objects.
19
+ # Parameters: dataArray: The array of data objects that specifies the properties of the new subscribers.
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=Subscriber_CreateFromDataArray
23
+ # @return [Hash] The body content of the SOAP response.
24
+ def self.create_from_data_array
25
+ response = invoke('Subscriber_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 subscribers 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=Subscriber_UpdateFromDataArray
35
+ # @return [Hash] The body content of the SOAP response.
36
+ def self.update_from_data_array
37
+ response = invoke('Subscriber_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 subscriber 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=Subscriber_UpdateFromData
47
+ # @return [Hash] The body content of the SOAP response.
48
+ def self.update_from_data
49
+ response = invoke('Subscriber_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 subscriber data object for a given subscriber.
55
+ # Parameters: entityHandle: A handle for the subscriber.
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=Subscriber_GetData
59
+ # @return [Hash] The body content of the SOAP response.
60
+ def self.get_data
61
+ response = invoke('Subscriber_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 subscriber data objects for a given set of subscriber handles.
67
+ # Parameters: entityHandles: An array of the subscriber 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=Subscriber_GetDataArray
71
+ # @return [Hash] The body content of the SOAP response.
72
+ def self.get_data_array
73
+ response = invoke('Subscriber_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 subscriber.
79
+ # Parameters: debtor: Handle for a debtor. subscription: Handle for a subscription. startDate: start date for subscriber. registeredDate: date registered. endDate: end date for subscriber
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=Subscriber_Create
83
+ # @return [Hash] The body content of the SOAP response.
84
+ def self.create
85
+ response = invoke('Subscriber_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 handles for all current subscribers.
91
+ #
92
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
93
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Subscriber_GetAll
94
+ # @return [Hash] The body content of the SOAP response.
95
+ def self.get_all
96
+ response = invoke('Subscriber_GetAll') do |message|
97
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
98
+ end
99
+ end
100
+
101
+ # Returns handles for subscribers that use a given subscriptions.
102
+ # Parameters: subscription: The subscription to search for.
103
+ #
104
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
105
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Subscriber_FindBySubscription
106
+ # @return [Hash] The body content of the SOAP response.
107
+ def self.find_by_subscription
108
+ response = invoke('Subscriber_FindBySubscription') do |message|
109
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
110
+ end
111
+ end
112
+
113
+ # Returns handles for subscribers that use a given set of subscriptions.
114
+ # Parameters: subscriptions: The subscriptions to search for.
115
+ #
116
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
117
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Subscriber_FindBySubscriptonList
118
+ # @return [Hash] The body content of the SOAP response.
119
+ def self.find_by_subscripton_list
120
+ response = invoke('Subscriber_FindBySubscriptonList') do |message|
121
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
122
+ end
123
+ end
124
+
125
+ # Deletes a subscriber.
126
+ # Parameters: subscriberHandle: Handle for the subscriber.
127
+ #
128
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
129
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Subscriber_Delete
130
+ # @return [Hash] The body content of the SOAP response.
131
+ def self.delete
132
+ response = invoke('Subscriber_Delete') do |message|
133
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
134
+ end
135
+ end
136
+
137
+ # Gets a handle for the debtor of a subscriber.
138
+ # Parameters: subscriberHandle: Handle for the subscriber.
139
+ #
140
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
141
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Subscriber_GetDebtor
142
+ # @return [Hash] The body content of the SOAP response.
143
+ def self.get_debtor
144
+ response = invoke('Subscriber_GetDebtor') do |message|
145
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
146
+ end
147
+ end
148
+
149
+ # Sets a handle for the debtor of a subscriber.
150
+ # Parameters: subscriberHandle: Handle for the subscriber.
151
+ #
152
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
153
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Subscriber_SetDebtor
154
+ # @return [Hash] The body content of the SOAP response.
155
+ def self.set_debtor
156
+ response = invoke('Subscriber_SetDebtor') do |message|
157
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
158
+ end
159
+ end
160
+
161
+ # Gets a handle for the subscription of the subscriber.
162
+ # Parameters: subscriberHandle: Handle for the subscriber.
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=Subscriber_GetSubscription
166
+ # @return [Hash] The body content of the SOAP response.
167
+ def self.get_subscription
168
+ response = invoke('Subscriber_GetSubscription') 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
+ # Sets a handle for the subscription of the subscriber.
174
+ # Parameters: subscriberHandle: Handle for the subscriber.
175
+ #
176
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
177
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Subscriber_SetSubscription
178
+ # @return [Hash] The body content of the SOAP response.
179
+ def self.set_subscription
180
+ response = invoke('Subscriber_SetSubscription') do |message|
181
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
182
+ end
183
+ end
184
+
185
+ # Gets a handle for the product of a subscriber.
186
+ # Parameters: SubscriberHandle: Handle for the subscriber.
187
+ #
188
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
189
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Subscriber_GetProject
190
+ # @return [Hash] The body content of the SOAP response.
191
+ def self.get_project
192
+ response = invoke('Subscriber_GetProject') do |message|
193
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
194
+ end
195
+ end
196
+
197
+ # Sets the product of a subscriber.
198
+ # Parameters: SubscriberHandle: Handle for the subscriber. valueHandle: Handle for the new product of the subscriber.
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=Subscriber_SetProject
202
+ # @return [Hash] The body content of the SOAP response.
203
+ def self.set_project
204
+ response = invoke('Subscriber_SetProject') 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
+ # Gets the start date of a subscriber.
210
+ # Parameters: subscriberHandle: Handle for the subscriber.
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=Subscriber_GetStartDate
214
+ # @return [Hash] The body content of the SOAP response.
215
+ def self.get_start_date
216
+ response = invoke('Subscriber_GetStartDate') 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
+ # Set the start date of a subscriber.
222
+ # Parameters: subscriberHandle: Handle for the subscriber. value: The new start date of the subscriber.
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=Subscriber_SetStartDate
226
+ # @return [Hash] The body content of the SOAP response.
227
+ def self.set_start_date
228
+ response = invoke('Subscriber_SetStartDate') 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
+ # Gets the registered date of a subscriber.
234
+ # Parameters: subscriberHandle: Handle for the subscriber.
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=Subscriber_GetRegisteredDate
238
+ # @return [Hash] The body content of the SOAP response.
239
+ def self.get_registered_date
240
+ response = invoke('Subscriber_GetRegisteredDate') 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
+ # Set the registered date of a subscriber.
246
+ # Parameters: subscriberHandle: Handle for the subscriber. value: The new registered date of the subscriber.
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=Subscriber_SetRegisteredDate
250
+ # @return [Hash] The body content of the SOAP response.
251
+ def self.set_registered_date
252
+ response = invoke('Subscriber_SetRegisteredDate') 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
+ # Gets the end date of a subscriber.
258
+ # Parameters: subscriberHandle: Handle for the subscriber.
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=Subscriber_GetEndDate
262
+ # @return [Hash] The body content of the SOAP response.
263
+ def self.get_end_date
264
+ response = invoke('Subscriber_GetEndDate') 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
+ # Set the end date of a subscriber.
270
+ # Parameters: subscriberHandle: Handle for the subscriber. value: The new end date of the subscriber.
271
+ #
272
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
273
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Subscriber_SetEndDate
274
+ # @return [Hash] The body content of the SOAP response.
275
+ def self.set_end_date
276
+ response = invoke('Subscriber_SetEndDate') do |message|
277
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
278
+ end
279
+ end
280
+
281
+ # Gets the expiry date of a subscriber.
282
+ # Parameters: subscriberHandle: Handle for the subscriber.
283
+ #
284
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
285
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Subscriber_GetExpiryDate
286
+ # @return [Hash] The body content of the SOAP response.
287
+ def self.get_expiry_date
288
+ response = invoke('Subscriber_GetExpiryDate') do |message|
289
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
290
+ end
291
+ end
292
+
293
+ # Set the expiry date of a subscriber.
294
+ # Parameters: subscriberHandle: Handle for the subscriber. value: The new expiry of the subscriber.
295
+ #
296
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
297
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Subscriber_SetExpiryDate
298
+ # @return [Hash] The body content of the SOAP response.
299
+ def self.set_expiry_date
300
+ response = invoke('Subscriber_SetExpiryDate') do |message|
301
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
302
+ end
303
+ end
304
+
305
+ # Gets the discount expiry date of a subscriber.
306
+ # Parameters: subscriberHandle: Handle for the subscriber.
307
+ #
308
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
309
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Subscriber_GetDiscountExpiryDate
310
+ # @return [Hash] The body content of the SOAP response.
311
+ def self.get_discount_expiry_date
312
+ response = invoke('Subscriber_GetDiscountExpiryDate') do |message|
313
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
314
+ end
315
+ end
316
+
317
+ # Set the discount expiry date of a subscriber.
318
+ # Parameters: subscriberHandle: Handle for the subscriber. value: The discount expiry date of the subscriber.
319
+ #
320
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
321
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Subscriber_SetDiscountExpiryDate
322
+ # @return [Hash] The body content of the SOAP response.
323
+ def self.set_discount_expiry_date
324
+ response = invoke('Subscriber_SetDiscountExpiryDate') do |message|
325
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
326
+ end
327
+ end
328
+
329
+ # Gets or sets the extra text for the invoice for the subscriber.
330
+ # Parameters: subscriberHandle: Handle for the subscriber.
331
+ #
332
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
333
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Subscriber_GetExtraTextForInvoice
334
+ # @return [Hash] The body content of the SOAP response.
335
+ def self.get_extra_text_for_invoice
336
+ response = invoke('Subscriber_GetExtraTextForInvoice') do |message|
337
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
338
+ end
339
+ end
340
+
341
+ # Sets the extra text for the invoice for the subscriber.
342
+ # Parameters: subscriberHandle: Handle for the subscriber. value: The extra text for the invoice for the subscriber.
343
+ #
344
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
345
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Subscriber_SetExtraTextForInvoice
346
+ # @return [Hash] The body content of the SOAP response.
347
+ def self.set_extra_text_for_invoice
348
+ response = invoke('Subscriber_SetExtraTextForInvoice') do |message|
349
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
350
+ end
351
+ end
352
+
353
+ # Gets the comments of a subscriber.
354
+ # Parameters: subscriberHandle: Handle for the subscriber.
355
+ #
356
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
357
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Subscriber_GetComments
358
+ # @return [Hash] The body content of the SOAP response.
359
+ def self.get_comments
360
+ response = invoke('Subscriber_GetComments') do |message|
361
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
362
+ end
363
+ end
364
+
365
+ # Sets the comments of a subscriber.
366
+ # Parameters: subscriberHandle: Handle for the subscriber. value: The new name for the subscriber.
367
+ #
368
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
369
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Subscriber_SetComments
370
+ # @return [Hash] The body content of the SOAP response.
371
+ def self.set_comments
372
+ response = invoke('Subscriber_SetComments') do |message|
373
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
374
+ end
375
+ end
376
+
377
+ # Gets the special price of a subscriber.
378
+ # Parameters: subscriberHandle: Handle for the subscriber.
379
+ #
380
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
381
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Subscriber_SetSpecialPrice
382
+ # @return [Hash] The body content of the SOAP response.
383
+ def self.set_special_price
384
+ response = invoke('Subscriber_SetSpecialPrice') do |message|
385
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
386
+ end
387
+ end
388
+
389
+ # Sets the special price of a subscriber.
390
+ # Parameters: subscriberHandle: Handle for the subscriber. value: The new special price for the subscriber.
391
+ #
392
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
393
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Subscriber_GetSpecialPrice
394
+ # @return [Hash] The body content of the SOAP response.
395
+ def self.get_special_price
396
+ response = invoke('Subscriber_GetSpecialPrice') do |message|
397
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
398
+ end
399
+ end
400
+
401
+ # Gets the quantity factor of a subscriber.
402
+ # Parameters: subscriberHandle: Handle for the subscriber.
403
+ #
404
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
405
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Subscriber_SetQuantityFactor
406
+ # @return [Hash] The body content of the SOAP response.
407
+ def self.set_quantity_factor
408
+ response = invoke('Subscriber_SetQuantityFactor') do |message|
409
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
410
+ end
411
+ end
412
+
413
+ # Sets the quantity factor of a subscriber.
414
+ # Parameters: subscriberHandle: Handle for the subscriber. value: The quantity factor for the subscriber.
415
+ #
416
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
417
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Subscriber_GetQuantityFactor
418
+ # @return [Hash] The body content of the SOAP response.
419
+ def self.get_quantity_factor
420
+ response = invoke('Subscriber_GetQuantityFactor') do |message|
421
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
422
+ end
423
+ end
424
+
425
+ # Gets the price index of a subscriber.
426
+ # Parameters: subscriberHandle: Handle for the subscriber.
427
+ #
428
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
429
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Subscriber_SetPriceIndex
430
+ # @return [Hash] The body content of the SOAP response.
431
+ def self.set_price_index
432
+ response = invoke('Subscriber_SetPriceIndex') do |message|
433
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
434
+ end
435
+ end
436
+
437
+ # Sets the price index of a subscriber.
438
+ # Parameters: subscriberHandle: Handle for the subscriber. value: The price index for the subscriber.
439
+ #
440
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
441
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Subscriber_GetPriceIndex
442
+ # @return [Hash] The body content of the SOAP response.
443
+ def self.get_price_index
444
+ response = invoke('Subscriber_GetPriceIndex') do |message|
445
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
446
+ end
447
+ end
448
+
449
+ # Gets the discount percentage of a subscriber.
450
+ # Parameters: subscriberHandle: Handle for the discount percentage.
451
+ #
452
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
453
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Subscriber_SetDiscountAsPercent
454
+ # @return [Hash] The body content of the SOAP response.
455
+ def self.set_discount_as_percent
456
+ response = invoke('Subscriber_SetDiscountAsPercent') do |message|
457
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
458
+ end
459
+ end
460
+
461
+ # Sets the discount percentage of a subscriber.
462
+ # Parameters: subscriberHandle: Handle for the discount percentage. value: The new name for the discount percentage.
463
+ #
464
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
465
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Subscriber_GetDiscountAsPercent
466
+ # @return [Hash] The body content of the SOAP response.
467
+ def self.get_discount_as_percent
468
+ response = invoke('Subscriber_GetDiscountAsPercent') do |message|
469
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
470
+ end
471
+ end
472
+
473
+ end
474
+ end
475
+ end