Module: Ruconomic::API::Company

Extended by:
WebService
Defined in:
lib/ruconomic/api/company.rb

Class Method Summary collapse

Class Method Details

.delete_custom_fieldHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Deletes a custom field based on the provided data key. Note: Will not throw an exception if the provided data key does not exist. Parameters: a dataKey

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



178
179
180
181
182
# File 'lib/ruconomic/api/company.rb', line 178

def self.delete_custom_field
  response = invoke('Company_DeleteCustomField') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.getHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Returns a handle for the company

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



35
36
37
38
39
# File 'lib/ruconomic/api/company.rb', line 35

def self.get
  response = invoke('Company_Get') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_address1Hash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Gets or sets Address1 of the Company. Parameters: companyHandle: Handle for the Company.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



83
84
85
86
87
# File 'lib/ruconomic/api/company.rb', line 83

def self.get_address1
  response = invoke('Company_GetAddress1') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_address2Hash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Gets or sets Address2 of the Company. Parameters: companyHandle: Handle for the Company.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



95
96
97
98
99
# File 'lib/ruconomic/api/company.rb', line 95

def self.get_address2
  response = invoke('Company_GetAddress2') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_base_currencyHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Gets the Currency entity of the Company. Parameters: companyHandle: Handle for the Company.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



59
60
61
62
63
# File 'lib/ruconomic/api/company.rb', line 59

def self.get_base_currency
  response = invoke('Company_GetBaseCurrency') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_ci_numberHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Gets or sets the Corporate Identification Number of the Company. Parameters: companyHandle: Handle for the Company.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



262
263
264
265
266
# File 'lib/ruconomic/api/company.rb', line 262

def self.get_ci_number
  response = invoke('Company_GetCINumber') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_cityHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Gets or sets the City of the Company. Parameters: companyHandle: Handle for the Company.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



119
120
121
122
123
# File 'lib/ruconomic/api/company.rb', line 119

def self.get_city
  response = invoke('Company_GetCity') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_contactHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Gets the Contact of the Company. Parameters: companyHandle: Handle for the Company.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



226
227
228
229
230
# File 'lib/ruconomic/api/company.rb', line 226

def self.get_contact
  response = invoke('Company_GetContact') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_countryHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Gets or sets the Country of the Company. Parameters: companyHandle: Handle for the Company.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



143
144
145
146
147
# File 'lib/ruconomic/api/company.rb', line 143

def self.get_country
  response = invoke('Company_GetCountry') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_countyHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Gets the County of the Company. (UK only) Parameters: companyHandle: Handle for the Company.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



131
132
133
134
135
# File 'lib/ruconomic/api/company.rb', line 131

def self.get_county
  response = invoke('Company_GetCounty') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_custom_fieldsHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Returns all custom fields for the authorized application and agreement.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



154
155
156
157
158
# File 'lib/ruconomic/api/company.rb', line 154

def self.get_custom_fields
  response = invoke('Company_GetCustomFields') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_dataHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Returns a company data object for a given company. Parameters: entityHandle: A handle for the company.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



12
13
14
15
16
# File 'lib/ruconomic/api/company.rb', line 12

def self.get_data
  response = invoke('Company_GetData') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_data_arrayHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Returns company data objects for a given set of company handles. Parameters: entityHandles: An array of company handles.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



24
25
26
27
28
# File 'lib/ruconomic/api/company.rb', line 24

def self.get_data_array
  response = invoke('Company_GetDataArray') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_emailHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Gets or sets the Email of the Company. Parameters: companyHandle: Handle for the Company.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



250
251
252
253
254
# File 'lib/ruconomic/api/company.rb', line 250

def self.get_email
  response = invoke('Company_GetEmail') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_fax_numberHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Gets the Faxnumber of the Company. Parameters: companyHandle: Handle for the Company.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



202
203
204
205
206
# File 'lib/ruconomic/api/company.rb', line 202

def self.get_fax_number
  response = invoke('Company_GetFaxNumber') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_mobile_numberHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Gets the Mobilenumber of the Company. Parameters: companyHandle: Handle for the Company.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



214
215
216
217
218
# File 'lib/ruconomic/api/company.rb', line 214

def self.get_mobile_number
  response = invoke('Company_GetMobileNumber') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_nameHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Gets or sets the Name of the Company. Parameters: companyHandle: Handle for the Company.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



71
72
73
74
75
# File 'lib/ruconomic/api/company.rb', line 71

def self.get_name
  response = invoke('Company_GetName') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_numberHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Gets the agreement number of the Company. Parameters: companyHandle: Handle for the Company.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



47
48
49
50
51
# File 'lib/ruconomic/api/company.rb', line 47

def self.get_number
  response = invoke('Company_GetNumber') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_postal_codeHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Gets or sets the Postalcode of the Company. Parameters: companyHandle: Handle for the Company.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



107
108
109
110
111
# File 'lib/ruconomic/api/company.rb', line 107

def self.get_postal_code
  response = invoke('Company_GetPostalCode') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_sign_up_dateHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Gets the Signup Date of the Company. Parameters: companyHandle: Handle for the Company.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



286
287
288
289
290
# File 'lib/ruconomic/api/company.rb', line 286

def self.
  response = invoke('Company_GetSignUpDate') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_telephone_numberHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Gets or sets the Telephonenumber of the Company. Parameters: companyHandle: Handle for the Company.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



190
191
192
193
194
# File 'lib/ruconomic/api/company.rb', line 190

def self.get_telephone_number
  response = invoke('Company_GetTelephoneNumber') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_vat_numberHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Gets or sets the VAT number of the Company. (SE,UK,DE,PL,FI only) Parameters: companyHandle: Handle for the Company.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



274
275
276
277
278
# File 'lib/ruconomic/api/company.rb', line 274

def self.get_vat_number
  response = invoke('Company_GetVatNumber') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_web_siteHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Gets or sets the Website of the Company. Parameters: companyHandle: Handle for the Company.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



238
239
240
241
242
# File 'lib/ruconomic/api/company.rb', line 238

def self.get_web_site
  response = invoke('Company_GetWebSite') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.set_custom_fieldsHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Adds, updates or deletes a batch of custom fields for the authorized application and agreement. <br/>Adds if the data key does not exist. <br/>Updates if the data key exist.<br/>Deletes if the data value is set to null or empty. <br/> Note: It is only per possibly to have 10 custom fields per combination of application and agreement. Parameters: a custom field with a data key that is not null and not empty.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



166
167
168
169
170
# File 'lib/ruconomic/api/company.rb', line 166

def self.set_custom_fields
  response = invoke('Company_SetCustomFields') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end