Class: Hbci::Segments::HNVSKv3

Inherits:
Hbci::Segment show all
Defined in:
lib/hbci/segments/hnvsk.rb

Instance Attribute Summary

Attributes inherited from Hbci::Segment

#defined_element_groups, #dialog, #element_groups, #message, #request_message

Instance Method Summary collapse

Methods inherited from Hbci::Segment

#build, element, element_group, element_groups_to_be_defined, fill, #initialize, #to_s

Constructor Details

This class inherits a constructor from Hbci::Segment

Instance Method Details

#compileObject



52
53
54
55
56
57
# File 'lib/hbci/segments/hnvsk.rb', line 52

def compile
  head.position = 998
  security_identification_details.party_identification = request_message.dialog ? request_message.dialog.system_id : 0
  key.bank_code = request_message.connector.credentials.bank_code
  key.user_id = request_message.connector.credentials.user_id
end