Module: Ruconomic::API::AccountingPeriod

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

Class Method Summary collapse

Class Method Details

.get_accounting_yearHash

Note:

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

Gets a handle for the accounting year of an accounting period. Parameters: accountingPeriodHandle: Handle for the accountingPeriod.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



70
71
72
73
74
# File 'lib/ruconomic/api/accounting_period.rb', line 70

def self.get_accounting_year
  response = invoke('AccountingPeriod_GetAccountingYear') 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

Returns handles for all accounting periods.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



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

def self.get_all
  response = invoke('AccountingPeriod_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 accounting periods from date. fromDate is based on CET. includeCalculatedProperties is reserved for future usage and should be set to false for now.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



46
47
48
49
50
# File 'lib/ruconomic/api/accounting_period.rb', line 46

def self.get_all_updated
  response = invoke('AccountingPeriod_GetAllUpdated') 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 an AccountingPeriod data object for a given accounting period. Parameters: accountingPeriodHandle: A handle for the accounting period.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



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

def self.get_data
  response = invoke('AccountingPeriod_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 AccountingPeriod data objects for a given set of accounting period handles. Parameters: accountingPeriodHandles: An array of the accounting period handles.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



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

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

.get_from_dateHash

Note:

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

Gets the from-date of the accounting period. Parameters: accountingPeriodHandle: Handle for the accounting period.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



82
83
84
85
86
# File 'lib/ruconomic/api/accounting_period.rb', line 82

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

.get_periodHash

Note:

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

Gets the period of an accounting period. Parameters: accountingPeriodHandle: Handle for the accounting period.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



58
59
60
61
62
# File 'lib/ruconomic/api/accounting_period.rb', line 58

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

.get_statusHash

Note:

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

Gets the status of the accounting period.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



105
106
107
108
109
# File 'lib/ruconomic/api/accounting_period.rb', line 105

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

.get_to_dateHash

Note:

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

Gets the to-date of the accounting period. Parameters: accountingPeriodHandle: Handle for the accounting period.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



94
95
96
97
98
# File 'lib/ruconomic/api/accounting_period.rb', line 94

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