module Ruconomic::API::CostType

Public Class Methods

find_by_name() click to toggle source

Returns handles for the cost types with the given name. Parameters: name: The name to search for.

@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CostType_FindByName @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/cost_type.rb, line 119
def self.find_by_name
  response = invoke('CostType_FindByName') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
  end
end
find_by_number() click to toggle source

Returns a handle for the cost type with the given number. Parameters: number: The number to search for.

@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CostType_FindByNumber @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/cost_type.rb, line 95
def self.find_by_number
  response = invoke('CostType_FindByNumber') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
  end
end
find_by_number_list() click to toggle source

Returns an array with handles for cost types corresponding to the given cost type numbers. If a cost type with a given number does not exist or if no number is given then the array contains nothing at that index. Parameters: numbers: The numbers to search for.

@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CostType_FindByNumberList @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/cost_type.rb, line 107
def self.find_by_number_list
  response = invoke('CostType_FindByNumberList') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
  end
end
get_all() click to toggle source

Return handles for all cost types.

@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CostType_GetAll @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/cost_type.rb, line 83
def self.get_all
  response = invoke('CostType_GetAll') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
  end
end
get_all_updated() click to toggle source

Return handles for all cost types from date. fromDate is based on CET. includeCalculatedProperties is reserved for future usage and should be set to false for now.

@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CostType_GetAllUpdated @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/cost_type.rb, line 130
def self.get_all_updated
  response = invoke('CostType_GetAllUpdated') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
  end
end
get_cost_type_group() click to toggle source

Gets a handle for the CostTypeGroup of a cost type. Parameters: costTypeHandle: Handle for the cost type.

@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CostType_GetCostTypeGroup @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/cost_type.rb, line 60
def self.get_cost_type_group
  response = invoke('CostType_GetCostTypeGroup') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
  end
end
get_data() click to toggle source

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

@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CostType_GetData @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/cost_type.rb, line 12
def self.get_data
  response = invoke('CostType_GetData') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
  end
end
get_data_array() click to toggle source

Returns cost type data objects for a given set of cost type handles. Parameters: entityHandles: An array of the cost type handles.

@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CostType_GetDataArray @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/cost_type.rb, line 24
def self.get_data_array
  response = invoke('CostType_GetDataArray') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
  end
end
get_name() click to toggle source

Gets the name of a cost type. Parameters: costTypeHandle: Handle for the cost type.

@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CostType_GetName @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/cost_type.rb, line 48
def self.get_name
  response = invoke('CostType_GetName') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
  end
end
get_number() click to toggle source

Gets the number of a cost type. Parameters: costTypeHandle: Handle for the cost type.

@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CostType_GetNumber @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/cost_type.rb, line 36
def self.get_number
  response = invoke('CostType_GetNumber') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
  end
end
get_vat_account() click to toggle source

Gets a handle for the VAT account of a cost type. Parameters: costTypeHandle: Handle for the cost type.

@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CostType_GetVatAccount @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/cost_type.rb, line 72
def self.get_vat_account
  response = invoke('CostType_GetVatAccount') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
  end
end