module Ruconomic::API::Account

Public Class Methods

create() click to toggle source

Creates a new account. Parameters: number: The number of the new account. name: The name of the new account. type: The type of the new account.

@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=Account_Create @return [Hash] The body content of the SOAP response.

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

Creates a new account from a data object. Parameters: data: The data object that specifies the properties of the new account.

@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=Account_CreateFromData @return [Hash] The body content of the SOAP response.

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

Creates new accounts from data objects. Parameters: dataArray: The array of data objects that specifies the properties of the new accounts.

@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=Account_CreateFromDataArray @return [Hash] The body content of the SOAP response.

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

Deletes an account. Parameters: accountHandle: Handle for the account.

@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=Account_Delete @return [Hash] The body content of the SOAP response.

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

Returns handles for the accounts 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=Account_FindByName @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/account.rb, line 142
def self.find_by_name
  response = invoke('Account_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 account 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=Account_FindByNumber @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/account.rb, line 118
def self.find_by_number
  response = invoke('Account_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 the accounts corresponding to the given account numbers. If an account 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=Account_FindByNumberList @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/account.rb, line 130
def self.find_by_number_list
  response = invoke('Account_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 accounts.

@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=Account_GetAll @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/account.rb, line 95
def self.get_all
  response = invoke('Account_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 accounts 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=Account_GetAllUpdated @return [Hash] The body content of the SOAP response.

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

Gets the balance of an account. Parameters: accountHandle: Handle for the account.

@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=Account_GetBalance @return [Hash] The body content of the SOAP response.

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

Gets whether an account is blocked for direct entries. Parameters: accountHandle: Handle for the account.

@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=Account_GetBlockDirectEntries @return [Hash] The body content of the SOAP response.

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

Returns an array with handles for the budget figures for the given account.

@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=Account_GetBudgetFigures @return [Hash] The body content of the SOAP response.

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

Returns an array with handles for the budget figures within the given time interval. Parameters: fromDate: First day in the interval. toDate: Last day in the interval.

@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=Account_GetBudgetFiguresByDate @return [Hash] The body content of the SOAP response.

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

Gets a handle for the contra account of an account. Parameters: accountHandle: Handle for the account.

@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=Account_GetContraAccount @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/account.rb, line 392
def self.get_contra_account
  response = invoke('Account_GetContraAccount') 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 an account data object for a given account. Parameters: entityHandle: A handle for the account.

@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=Account_GetData @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/account.rb, line 60
def self.get_data
  response = invoke('Account_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 account data objects for a given set of account handles. Parameters: entityHandles: An array of the account 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=Account_GetDataArray @return [Hash] The body content of the SOAP response.

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

Gets whether an account is a debit or credit account. Parameters: accountHandle: Handle for the account.

@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=Account_GetDebitCredit @return [Hash] The body content of the SOAP response.

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

Gets a handle for the department of an account. The department is only accessible when there is access to the Dimension add-on module. Parameters: accountHandle: Handle for the account.

@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=Account_GetDepartment @return [Hash] The body content of the SOAP response.

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

Gets a handle for the distribution key of an account. The distribution key is only accessible when there is access to the Dimension add-on module. Parameters: acccountHandle: Handle for the account.

@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=Account_GetDistributionKey @return [Hash] The body content of the SOAP response.

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

Returns a handle for the entries within the given time interval. Parameters: First : First day in interval. Last : Last day in interval.

@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=Account_GetEntriesByDate @return [Hash] The body content of the SOAP response.

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

Returns an array with handles for the entries with serial numbers in the given interval. Parameters: minNumber: The start of the interval. maxNumber: The end of the interval.

@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=Account_GetEntriesByNumber @return [Hash] The body content of the SOAP response.

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

Returns entry totals for the specified accounts and date interval. Parameters: accounts: The accounts for which to return entry totals. first: Start date of interval. last: End date of interval.

@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=Account_GetEntryTotalsByDate @return [Hash] The body content of the SOAP response.

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

Gets whether an account is accessible. Parameters: accountHandle: Handle for the account.

@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=Account_GetIsAccessible @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/account.rb, line 320
def self.get_is_accessible
  response = invoke('Account_GetIsAccessible') 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 an account. Parameters: accountHandle: Handle for the account.

@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=Account_GetName @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/account.rb, line 248
def self.get_name
  response = invoke('Account_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 an account. Parameters: accountHandle: Handle for the account.

@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=Account_GetNumber @return [Hash] The body content of the SOAP response.

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

Gets a handle for the opening account of an account. Parameters: accountHandle: Handle for the account.

@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=Account_GetOpeningAccount @return [Hash] The body content of the SOAP response.

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

Returns an array with handles for the sum interval for the given account.

@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=Account_GetSumIntervals @return [Hash] The body content of the SOAP response.

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

Gets a handle for the first account to sum from if the type of the account is AccountType.TotalFrom. Parameters: accountHandle: Handle for the account.

@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=Account_GetTotalFrom @return [Hash] The body content of the SOAP response.

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

Gets the account type of an account. Parameters: accountHandle: Handle for the account.

@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=Account_GetType @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/account.rb, line 272
def self.get_type
  response = invoke('Account_GetType') 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 an account. Parameters: accountHandle: Handle for the account.

@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=Account_GetVatAccount @return [Hash] The body content of the SOAP response.

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

Sets whether an account is blocked for direct entries. Parameters: accountHandle: Handle for the account. value: Value that indicates whether the account should be blocked for direct entries.

@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=Account_SetBlockDirectEntries @return [Hash] The body content of the SOAP response.

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

Sets the contra account of an account. Parameters: accountHandle: Handle for the account. valueHandle: Handle for the new contra account of the account.

@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=Account_SetContraAccount @return [Hash] The body content of the SOAP response.

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

Sets whether an account is a debit or credit account. Parameters: accountHandle: Handle for the account. value: Value that indicates whether the account should be a debit or credit account.

@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=Account_SetDebitCredit @return [Hash] The body content of the SOAP response.

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

Sets the department of an account. The department is only accessible when there is access to the Dimension add-on module. The department cannot be set when the distribution key is set. Parameters: accountHandle: Handle for the account. value: Handle for the new department of the account.

@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=Account_SetDepartment @return [Hash] The body content of the SOAP response.

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

Sets the distribution key of an account. The distribution key is only accessible when there is access to the Dimension add-on module. The distribution key cannot be set when the department is set. Parameters: accountHandle: Handle for the account. value: Handle for the new distribution key of the account.

@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=Account_SetDistributionKey @return [Hash] The body content of the SOAP response.

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

Sets whether an account is accessible. Parameters: accountHandle: Handle for the account. value: Value that indicates whether the account should be accessible.

@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=Account_SetIsAccessible @return [Hash] The body content of the SOAP response.

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

Sets the name of an account. Parameters: accountHandle: Handle for the account. value: The new name of the account.

@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=Account_SetName @return [Hash] The body content of the SOAP response.

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

Sets the opening account of an account. Parameters: accountHandle: Handle for the account. valueHandle: Handle for the new opening account of the account.

@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=Account_SetOpeningAccount @return [Hash] The body content of the SOAP response.

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

Sets a handle for the first account to sum from if the type of the account is AccountType.TotalFrom. This is only used if the account has account type TotalFrom. Parameters: accountHandle: Handle for the account. valueHandle: Handle for the new 'total from'-account.

@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=Account_SetTotalFrom @return [Hash] The body content of the SOAP response.

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

Sets the account type of an account. This also updates the property TotalFrom. Parameters: accountHandle: Handle for the account. valueHandle: New account type of the account.

@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=Account_SetType @return [Hash] The body content of the SOAP response.

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

Sets the VAT account of an account. Parameters: accountHandle: Handle for the account. vatAccountHandle: Handle for the new VAT account of the account.

@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=Account_SetVatAccount @return [Hash] The body content of the SOAP response.

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

Updates an account from a data object. Parameters: data: The data object.

@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=Account_UpdateFromData @return [Hash] The body content of the SOAP response.

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

Update accounts from data objects. Parameters: dataArray: The array of data objects.

@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=Account_UpdateFromDataArray @return [Hash] The body content of the SOAP response.

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