Module: Ruconomic::API::VatAccount

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

Class Method Summary collapse

Class Method Details

.find_by_vat_codeHash

Note:

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

Returns handle for the VAT account with a given VAT code. Parameters: vatCode: The VAT code to search for.



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

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

.get_accountHash

Note:

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

Gets the account of a VAT account. Parameters: vatAccountHandle: Handle for the VAT account.



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

def self.
  response = invoke('VatAccount_GetAccount') 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 VAT accounts.



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

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

.get_contra_accountHash

Note:

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

Gets the contra account of a VAT account. Parameters: vatAccountHandle: Handle for the VAT account.



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

def self.
  response = invoke('VatAccount_GetContraAccount') 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 VAT account data object for a given VAT account. Parameters: entityHandle: A handle for the VAT account.



36
37
38
39
40
# File 'lib/ruconomic/api/vat_account.rb', line 36

def self.get_data
  response = invoke('VatAccount_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 VAT account data objects for a given set of VAT account handles. Parameters: entityHandles: An array of the VAT account handles.



48
49
50
51
52
# File 'lib/ruconomic/api/vat_account.rb', line 48

def self.get_data_array
  response = invoke('VatAccount_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 VAT account. Parameters: vatAccountHandle: Handle for the VAT account.



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

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

.get_rate_as_percentHash

Note:

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

Gets the rate of a VAT account. Parameters: vatAccountHandle: Handle for the VAT account.



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

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

.get_typeHash

Note:

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

Gets the type of a VAT account. Parameters: vatAccountHandle: Handle for the VAT account.



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

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

.get_vat_codeHash

Note:

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

Gets the VAT code of a VAT account. Parameters: vatAccountHandle: Handle for the VAT account.



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

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

.update_from_dataHash

Note:

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

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



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

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

.update_from_data_arrayHash

Note:

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

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



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

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