class CamtParser::BatchDetail
Public Class Methods
new(xml_data)
click to toggle source
# File lib/camt_parser/general/batch_detail.rb, line 3 def initialize(xml_data) @xml_data = xml_data end
Public Instance Methods
msg_id()
click to toggle source
# File lib/camt_parser/general/batch_detail.rb, line 11 def msg_id # may be missing @msg_id ||= @xml_data.xpath('MsgId/text()').text end
number_of_transactions()
click to toggle source
# File lib/camt_parser/general/batch_detail.rb, line 15 def number_of_transactions @number_of_transactions ||= @xml_data.xpath('NbOfTxs/text()').text end
payment_information_identification()
click to toggle source
# File lib/camt_parser/general/batch_detail.rb, line 7 def payment_information_identification @payment_information_identification ||= @xml_data.xpath('PmtInfId/text()').text end