Module: Ruconomic::API::CostType

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

Class Method Summary collapse

Class Method Details

.find_by_nameHash

Note:

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

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


119
120
121
122
123
# 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/ta/ruconomic#contributing"
  end
end

.find_by_numberHash

Note:

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

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


95
96
97
98
99
# 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/ta/ruconomic#contributing"
  end
end

.find_by_number_listHash

Note:

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

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.


107
108
109
110
111
# 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/ta/ruconomic#contributing"
  end
end

.get_allHash

Note:

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

Return handles for all cost types.


83
84
85
86
87
# 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/ta/ruconomic#contributing"
  end
end

.get_all_updatedHash

Note:

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

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.


130
131
132
133
134
# 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/ta/ruconomic#contributing"
  end
end

.get_cost_type_groupHash

Note:

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

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


60
61
62
63
64
# 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/ta/ruconomic#contributing"
  end
end

.get_dataHash

Note:

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

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


12
13
14
15
16
# 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/ta/ruconomic#contributing"
  end
end

.get_data_arrayHash

Note:

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

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


24
25
26
27
28
# 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/ta/ruconomic#contributing"
  end
end

.get_nameHash

Note:

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

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


48
49
50
51
52
# 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/ta/ruconomic#contributing"
  end
end

.get_numberHash

Note:

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

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


36
37
38
39
40
# 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/ta/ruconomic#contributing"
  end
end

.get_vat_accountHash

Note:

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

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


72
73
74
75
76
# File 'lib/ruconomic/api/cost_type.rb', line 72

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