Module: Ruconomic::API::Debtor

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

Class Method Summary collapse

Class Method Details

.create(number, debtor_group_handle, name, vat_zone) ⇒ String

Creates a new debtor.

Parameters:

  • number (String)

    Debtor number

  • debtor_group_handle (String)

    Debtor group handle

  • name (String)

    Name of debtor

  • vat_zone (String)

    “HomeCountry” or “EU” or “Abroad”

Returns:

  • (String)

    The created debtor's handle

See Also:



895
896
897
898
899
900
901
902
903
904
905
906
# File 'lib/ruconomic/api/debtor.rb', line 895

def self.create(number, debtor_group_handle, name, vat_zone)
  response = invoke('Debtor_Create') do |message|
    message.add 'number', number
    message.add 'debtorGroupHandle' do |number|
      number.add 'Number', debtor_group_handle
    end
    message.add 'name', name
    message.add 'vatZone', vat_zone
  end

  response.to_hash[:debtor_create_response][:debtor_create_result][:number]
end

.create_from_dataHash

Note:

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

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

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



207
208
209
210
211
# File 'lib/ruconomic/api/debtor.rb', line 207

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

.create_from_data_arrayHash

Note:

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

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

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



219
220
221
222
223
# File 'lib/ruconomic/api/debtor.rb', line 219

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

.delete(handle) ⇒ Nil

Deletes a debtor.

Parameters:

  • handle (String)

    Handle for debtor.

Returns:

  • (Nil)

See Also:



191
192
193
194
195
196
197
198
199
# File 'lib/ruconomic/api/debtor.rb', line 191

def self.delete(handle)
  response = invoke('Debtor_Delete') do |message|
    message.add 'debtorHandle' do |number|
      number.add 'Number', handle
    end
  end

  nil
end

.find_by_ci_numberHash

Note:

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

Returns handles for debtors with a given Corporate Identification Number. Parameters: The Corporate Identification Number to search for.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



60
61
62
63
64
# File 'lib/ruconomic/api/debtor.rb', line 60

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

.find_by_eanHash

Note:

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

Returns handles for debtors with a given EAN. Parameters: The EAN to search for.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



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

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

.find_by_emailHash

Note:

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

Returns handle for debtors with a given email. Parameters: The email to search for.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



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

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

.find_by_nameHash

Note:

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

Returns handles for debtors with a given name. Parameters: The name to search for.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



958
959
960
961
962
# File 'lib/ruconomic/api/debtor.rb', line 958

def self.find_by_name
  response = invoke('Debtor_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 handle for debtor with a given number.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



934
935
936
937
938
# File 'lib/ruconomic/api/debtor.rb', line 934

def self.find_by_number
  response = invoke('Debtor_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 the debtors corresponding to the given debtor numbers. If a debtort 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.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



946
947
948
949
950
# File 'lib/ruconomic/api/debtor.rb', line 946

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

.find_by_partial_nameHash

Note:

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

Returns handles for debtors with a given partial name. Parameters: The partial name to search for. Asterisks (*) may be used as wildcards.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



970
971
972
973
974
# File 'lib/ruconomic/api/debtor.rb', line 970

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

.find_by_telephone_and_fax_numberHash

Note:

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

Returns handle for debtors with a given telephone and fax number. Parameters: The telephone and fax number to search for.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



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

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

.get_addressHash

Note:

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

Gets the address of a debtor. Parameters: debtorHandle: Handle for the debtor.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



558
559
560
561
562
# File 'lib/ruconomic/api/debtor.rb', line 558

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

.get_allArray

Return handles for all debtors

Returns:

  • (Array)

    List of debtor handles

See Also:



912
913
914
915
916
# File 'lib/ruconomic/api/debtor.rb', line 912

def self.get_all
  response = invoke('Debtor_GetAll')
  
  response.find('//dns:Number/text()').to_a.map{|x| x.to_s}
end

.get_all_updatedHash

Note:

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

Return handles for all debtors 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:



923
924
925
926
927
# File 'lib/ruconomic/api/debtor.rb', line 923

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

.get_attentionHash

Note:

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

Gets a handle for the attention of a debtor. Parameters: debtorHandle: Handle for the debtor.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



798
799
800
801
802
# File 'lib/ruconomic/api/debtor.rb', line 798

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

.get_balanceHash

Note:

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

Gets the current balance of the debtor. Parameters: debtorHandle: Handle for the Debtor.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



870
871
872
873
874
# File 'lib/ruconomic/api/debtor.rb', line 870

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

.get_ci_numberHash

Note:

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

Gets the Corporate Identification Number of a debtor. Parameters: debtorHandle: Handle for the debtor.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



726
727
728
729
730
# File 'lib/ruconomic/api/debtor.rb', line 726

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

.get_cityHash

Note:

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

Gets the city of a debtor. Parameters: debtorHandle: Handle for the debtor.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



606
607
608
609
610
# File 'lib/ruconomic/api/debtor.rb', line 606

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

.get_countryHash

Note:

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

Gets the country of a debtor. Parameters: debtorHandle: Handle for the debtor.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



642
643
644
645
646
# File 'lib/ruconomic/api/debtor.rb', line 642

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

.get_countyHash

Note:

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

Gets the County of a debtor. (UK only) Parameters: debtorHandle: Handle for the debtor.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



702
703
704
705
706
# File 'lib/ruconomic/api/debtor.rb', line 702

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

.get_credit_maximumHash

Note:

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

Gets the credit maximum of a debtor. Parameters: debtorHandle: Handle for the debtor.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



666
667
668
669
670
# File 'lib/ruconomic/api/debtor.rb', line 666

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

.get_currencyHash

Note:

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

Gets currency of a debtor. Parameters: debtorHandle: Handle for the debtor.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



366
367
368
369
370
# File 'lib/ruconomic/api/debtor.rb', line 366

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

.get_current_invoicesHash

Note:

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

Gets handles for the current invoices of a debtor. Parameters: debtorHandle: Handle for the debtor.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



132
133
134
135
136
# File 'lib/ruconomic/api/debtor.rb', line 132

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

.get_data(entityHandle) ⇒ Hash

Returns a debtor data object for a given debtor.

Parameters:

  • entityHandle (String)

    A handle for the debtor.

Returns:

  • (Hash)

    The debtor data.

See Also:



254
255
256
257
258
259
260
261
262
# File 'lib/ruconomic/api/debtor.rb', line 254

def self.get_data(entityHandle)
  response = invoke('Debtor_GetData') do |message|
    message.add 'entityHandle' do |number|
      number.add 'Number', entityHandle
    end
  end

  response.to_hash[:debtor_get_data_response][:debtor_get_data_result]
end

.get_data_arrayHash

Note:

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

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

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



270
271
272
273
274
# File 'lib/ruconomic/api/debtor.rb', line 270

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

.get_debtor_contactsHash

Note:

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

Gets handles for debtor contacts of a debtor. Parameters: debtorHandle: Handle for the debtor.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



96
97
98
99
100
# File 'lib/ruconomic/api/debtor.rb', line 96

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

.get_debtor_groupHash

Note:

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

Gets handle for debtor group of a debtor. Parameters: debtorHandle: Handle for the debtor.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



306
307
308
309
310
# File 'lib/ruconomic/api/debtor.rb', line 306

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

.get_delivery_locationsHash

Note:

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

Gets handles for delivery locations of a debtor. Parameters: debtorHandle: Handle for the debtor.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



84
85
86
87
88
# File 'lib/ruconomic/api/debtor.rb', line 84

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

.get_eanHash

Note:

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

Gets EAN of a debtor. Parameters: debtorHandle: Handle for the debtor.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



438
439
440
441
442
# File 'lib/ruconomic/api/debtor.rb', line 438

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

.get_emailHash

Note:

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

Get the email of a debtor. Parameters: debtorHandle: Handle for the debtor.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



486
487
488
489
490
# File 'lib/ruconomic/api/debtor.rb', line 486

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

.get_entriesHash

Note:

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

Gets handles for the entries of the debtor. Parameters: debtorHandle: Handle for the debtor.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



156
157
158
159
160
# File 'lib/ruconomic/api/debtor.rb', line 156

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

.get_extended_vat_zoneHash

Note:

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

Gets the extended VAT zone of the given debitor. Parameters: debtorHandle: Handle for the debtor.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



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

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

.get_invoicesHash

Note:

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

Gets handles for the invoices of a debtor. Parameters: debtorHandle: Handle for the debtor.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



108
109
110
111
112
# File 'lib/ruconomic/api/debtor.rb', line 108

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

.get_is_accessibleHash

Note:

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

Gets whether a debtor is accessible. Parameters: debtorHandle: Handle for the debtor.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



426
427
428
429
430
# File 'lib/ruconomic/api/debtor.rb', line 426

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

.get_layoutHash

Note:

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

Gets a handle for the layout of a debtor. Parameters: debtorHandle: Handle for the debtor.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



786
787
788
789
790
# File 'lib/ruconomic/api/debtor.rb', line 786

def self.get_layout
  response = invoke('Debtor_GetLayout') 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 debtor. Parameters: debtorHandle: Handle for the debtor.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



318
319
320
321
322
# File 'lib/ruconomic/api/debtor.rb', line 318

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

.get_next_available_numberHash

Note:

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

Returns the next available debtor number.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



881
882
883
884
885
# File 'lib/ruconomic/api/debtor.rb', line 881

def self.get_next_available_number
  response = invoke('Debtor_GetNextAvailableNumber') 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 debtor. Parameters: debtorHandle: Handle for the debtor.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



282
283
284
285
286
# File 'lib/ruconomic/api/debtor.rb', line 282

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

.get_open_entriesHash

Note:

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

Gets handles for the open entries of the debtor. Parameters: debtorHandle: Handle for the debtor.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



168
169
170
171
172
# File 'lib/ruconomic/api/debtor.rb', line 168

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

.get_ordersHash

Note:

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

Gets handles for the orders of a debtor. Parameters: debtorHandle: Handle for the debtor.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



120
121
122
123
124
# File 'lib/ruconomic/api/debtor.rb', line 120

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

.get_our_referenceHash

Note:

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

Gets a handle for 'our reference' of a debtor. Parameters: debtorHandle: Handle for the debtor.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



846
847
848
849
850
# File 'lib/ruconomic/api/debtor.rb', line 846

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

.get_postal_codeHash

Note:

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

Gets the postal code of a debtor. Parameters: debtorHandle: Handle for the debtor.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



582
583
584
585
586
# File 'lib/ruconomic/api/debtor.rb', line 582

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

.get_price_groupHash

Note:

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

Gets the price group of a debtor. Parameters: debtorHandle: Handle for the debtor.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



402
403
404
405
406
# File 'lib/ruconomic/api/debtor.rb', line 402

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

.get_public_entry_numberHash

Note:

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

Gets the public entry number of a debtor. Parameters: debtorHandle: Handle for the debtor.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



462
463
464
465
466
# File 'lib/ruconomic/api/debtor.rb', line 462

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

.get_quotationsHash

Note:

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

Gets handles for the quotations of a debtor. Parameters: debtorHandle: Handle for the debtor.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



144
145
146
147
148
# File 'lib/ruconomic/api/debtor.rb', line 144

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

.get_subscribersHash

Note:

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

Gets handles for the subscribers of the debtor. Parameters: debtorHandle: Handle for the debtor.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



180
181
182
183
184
# File 'lib/ruconomic/api/debtor.rb', line 180

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

.get_telephone_and_fax_numberHash

Note:

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

Gets the telephone and fax number of a debtor. Parameters: debtorHandle: Handle for the debtor.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



522
523
524
525
526
# File 'lib/ruconomic/api/debtor.rb', line 522

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

.get_term_of_paymentHash

Note:

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

Gets a handle for the term of payment of a debtor. Parameters: debtorHandle: Handle for the debtor.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



762
763
764
765
766
# File 'lib/ruconomic/api/debtor.rb', line 762

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

.get_vat_numberHash

Note:

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

Gets the VatNumber of a debtor. (SE,UK only) Parameters: debtorHandle: Handle for the debtor.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



678
679
680
681
682
# File 'lib/ruconomic/api/debtor.rb', line 678

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

.get_vat_zoneHash

Note:

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

Gets handle for vat zone of a debtor. Parameters: debtorHandle: Handle for the debtor.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



354
355
356
357
358
# File 'lib/ruconomic/api/debtor.rb', line 354

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

.get_websiteHash

Note:

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

Gets the website of a debtor. Parameters: debtorHandle: Handle for the debtor.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



546
547
548
549
550
# File 'lib/ruconomic/api/debtor.rb', line 546

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

.get_your_referenceHash

Note:

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

Gets a handle for 'your reference' of a debtor. Parameters: debtorHandle: Handle for the debtor.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



834
835
836
837
838
# File 'lib/ruconomic/api/debtor.rb', line 834

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

.set_addressHash

Note:

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

Sets the address of a debtor. Parameters: debtorHandle: Handle for the debtor. value: The new address of the debtor.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



570
571
572
573
574
# File 'lib/ruconomic/api/debtor.rb', line 570

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

.set_attentionHash

Note:

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

Sets attention of a debtor. Parameters: debtorHandle: Handle for the debtor. valueHandle: Handle for new attention of the debtor.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



810
811
812
813
814
# File 'lib/ruconomic/api/debtor.rb', line 810

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

.set_ci_numberHash

Note:

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

Sets the Corporate Identification Number of a debtor. Parameters: debtorHandle: Handle for the debtor. value: The new Corporate Identification Number of the debtor.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



738
739
740
741
742
# File 'lib/ruconomic/api/debtor.rb', line 738

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

.set_cityHash

Note:

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

Sets the city of a debtor. Parameters: debtorHandle: Handle for the debtor. value: The new city of the debtor.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



618
619
620
621
622
# File 'lib/ruconomic/api/debtor.rb', line 618

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

.set_countryHash

Note:

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

Sets the country of a debtor. Parameters: debtorHandle: Handle for the debtor. value: The new country of the debtor.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



630
631
632
633
634
# File 'lib/ruconomic/api/debtor.rb', line 630

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

.set_countyHash

Note:

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

Sets the County of a debtor. (UK only) Parameters: debtorHandle: Handle for the debtor. value: The new County of the debtor.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



714
715
716
717
718
# File 'lib/ruconomic/api/debtor.rb', line 714

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

.set_credit_maximumHash

Note:

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

Sets the credit maximum of a debtor. Parameters: debtorHandle: Handle for the debtor. value: The new credit maximum of the debtor.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



654
655
656
657
658
# File 'lib/ruconomic/api/debtor.rb', line 654

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

.set_currencyHash

Note:

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

Sets currency of a debtor. Parameters: debtorHandle: Handle for the debtor. value: Handle for new currency of the debtor.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



378
379
380
381
382
# File 'lib/ruconomic/api/debtor.rb', line 378

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

.set_debtor_groupHash

Note:

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

Sets the debtor group of a debtor. Parameters: debtorHandle: Handle for the debtor. valueHandle: Handle for new debtor group of the debtor.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



294
295
296
297
298
# File 'lib/ruconomic/api/debtor.rb', line 294

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

.set_eanHash

Note:

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

Sets EAN of a debtor. Parameters: debtorHandle: Handle for the debtor. value: The new EAN of the debtor.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



450
451
452
453
454
# File 'lib/ruconomic/api/debtor.rb', line 450

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

.set_emailHash

Note:

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

Set the email of a debtor. Parameters: debtorHandle: Handle for the debtor. value: The new email of the debtor.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



498
499
500
501
502
# File 'lib/ruconomic/api/debtor.rb', line 498

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

.set_extended_vat_zoneHash

Note:

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

Sets extended VAT zone of a debtor. Parameters: debtorHandle: Handle for the debtor. value: Handle for new extended vat zone of the debtor.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



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

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

.set_is_accessibleHash

Note:

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

Sets whether a debtor is accessible. Parameters: debtorHandle: Handle for the debtor. value: Value that indicates whether the debtor should be accessible.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



414
415
416
417
418
# File 'lib/ruconomic/api/debtor.rb', line 414

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

.set_layoutHash

Note:

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

Sets the layout of a debtor. The value may be omitted. Parameters: debtorHandle: Handle for the debtor. valueHandle: Handle for new layout of a debtor.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



774
775
776
777
778
# File 'lib/ruconomic/api/debtor.rb', line 774

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

.set_nameHash

Note:

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

Sets the name of a debtor. Parameters: debtorHandle: Handle for the debtor. value: The new name of the debtor.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



330
331
332
333
334
# File 'lib/ruconomic/api/debtor.rb', line 330

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

.set_our_referenceHash

Note:

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

Sets 'our reference' of a debtor. Parameters: debtorHandle: Handle for the debtor. valueHandle: Handle for 'our reference' of the debtor.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



858
859
860
861
862
# File 'lib/ruconomic/api/debtor.rb', line 858

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

.set_postal_codeHash

Note:

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

Sets the postal code of a debtor. Parameters: debtorHandle: Handle for the debtor. value: The new postal code of the debtor.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



594
595
596
597
598
# File 'lib/ruconomic/api/debtor.rb', line 594

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

.set_price_groupHash

Note:

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

Sets the price group of a debtor. Parameters: debtorHandle: Handle for the debtor. value: Handle for the new price group of the debtor.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



390
391
392
393
394
# File 'lib/ruconomic/api/debtor.rb', line 390

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

.set_public_entry_numberHash

Note:

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

Sets the public entry number of a debtor. Parameters: debtorHandle: Handle for the debtor. value: The new public entry number of the debtor.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



474
475
476
477
478
# File 'lib/ruconomic/api/debtor.rb', line 474

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

.set_telephone_and_fax_numberHash

Note:

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

Sets the telephone and fax number of a debtor. Parameters: debtorHandle: Handle for the debtor. value: The new telephone and fax number of the debtor.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



510
511
512
513
514
# File 'lib/ruconomic/api/debtor.rb', line 510

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

.set_term_of_paymentHash

Note:

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

Sets the term of payment of a debtor. The value may not be omitted. Parameters: debtorHandle: Handle for the debtor. value: Handle for new term of payment of a debtor.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



750
751
752
753
754
# File 'lib/ruconomic/api/debtor.rb', line 750

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

.set_vat_numberHash

Note:

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

Sets the VatNumber of a debtor. (SE,UK only) Parameters: debtorHandle: Handle for the debtor. value: The new VatNumber of the debtor.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



690
691
692
693
694
# File 'lib/ruconomic/api/debtor.rb', line 690

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

.set_vat_zoneHash

Note:

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

Sets vat zone of a debtor. Parameters: debtorHandle: Handle for the debtor. value: Handle for new vat zone of the debtor.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



342
343
344
345
346
# File 'lib/ruconomic/api/debtor.rb', line 342

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

.set_websiteHash

Note:

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

Sets the website of a debtor. Parameters: debtorHandle: Handle for the debtor. value: The new website of the debtor.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



534
535
536
537
538
# File 'lib/ruconomic/api/debtor.rb', line 534

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

.set_your_referenceHash

Note:

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

Sets 'your reference' of a debtor. Parameters: debtorHandle: Handle for the debtor. valueHandle: Handle for 'your reference' of the debtor.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



822
823
824
825
826
# File 'lib/ruconomic/api/debtor.rb', line 822

def self.set_your_reference
  response = invoke('Debtor_SetYourReference') 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 debtor from a data object. Parameters: data: The data object.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



243
244
245
246
247
# File 'lib/ruconomic/api/debtor.rb', line 243

def self.update_from_data
  response = invoke('Debtor_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 debtors from data objects. Parameters: dataArray: The array of data objects.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



231
232
233
234
235
# File 'lib/ruconomic/api/debtor.rb', line 231

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